#include <QERTYPES.H>
Public Member Functions | |
| const char * | Name (void) |
| texdef_t & | operator= (const texdef_t &rhs) |
| void | SetName (const char *p) |
| texdef_t () | |
| ~texdef_t () | |
Data Fields | |
| int | contents |
| int | flags |
| char * | name |
| float | rotate |
| float | scale [2] |
| float | shift [2] |
| int | value |
|
|
Definition at line 51 of file QERTYPES.H. References name.
|
|
|
Definition at line 56 of file QERTYPES.H. References name. Referenced by Face_Free(). 00057 {
00058 delete []name;
00059 name = NULL;
00060 }
|
|
|
Definition at line 62 of file QERTYPES.H. Referenced by Terrain_ParseFace(), and Terrain_SurfaceString(). 00063 {
00064 if ( name ) {
00065 return name;
00066 }
00067
00068 return "";
00069 }
|
|
|
Definition at line 88 of file QERTYPES.H. References contents, flags, name, rotate, scale, shift, shift, and value. 00089 {
00090 if (&rhs != this)
00091 {
00092 SetName(rhs.name);
00093 shift[0] = rhs.shift[0];
00094 shift[1] = rhs.shift[1];
00095 rotate = rhs.rotate;
00096 scale[0] = rhs.scale[0];
00097 scale[1] = rhs.scale[1];
00098 contents = rhs.contents;
00099 flags = rhs.flags;
00100 value = rhs.value;
00101 }
00102 return *this;
00103 }
|
|
|
Definition at line 71 of file QERTYPES.H. References name, p, strcpy(), and strlen(). Referenced by Brush_Parse(), BrushPrimit_Parse(), Drag_Begin(), Eclass_InitFromText(), FindReplaceTextures(), CSurfaceDlg::GetTexMods(), MakeNewTerrain(), QERApp_AddFaceData(), QERApp_SetCurrentTexture(), QERApp_SetFaceData(), QERApp_SetFaceInfo(), QERApp_TextureBrush(), CSurfaceDlg::SetTexMods(), Terrain_AddMovePoint(), Terrain_FindReplaceTexture(), Terrain_ParseFace(), Terrain_ReplaceQTexture(), and Terrain_SetTexture(). 00072 {
00073 if (name)
00074 {
00075 delete []name;
00076 }
00077 if (p)
00078 {
00079 name = strcpy(new char[strlen(p)+1], p);
00080 }
00081 else
00082 {
00083 name = new char[1];
00084 name[0] = '\0';
00085 }
00086 }
|
Here is the call graph for this function:

|
|
|
|
|
|
|
1.3.9.1