- Timestamp:
- Dec 24, 2005, 2:28:00 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/class_id.h
r6243 r6276 91 91 // SUPER-Modeling 92 92 CL_TEXTURE = 0x00c01000, 93 CL_MODEL = 0x00c02000, 94 CL_STATIC_MODEL = 0x00c04000, 95 CL_VERTEX_ARRAY_MODEL = 0x00c08000, 93 CL_TEXT = 0x00c02000, 94 95 CL_MODEL = 0x00d01000, 96 CL_STATIC_MODEL = 0x00002000, 97 CL_VERTEX_ARRAY_MODEL = 0x00004000, 96 98 97 99 … … 190 192 // Collision 191 193 CL_COLLISION = 0x00000611, 192 CL_BV_TREE = 0x00a01 612,193 CL_BV_TREE_NODE = 0x00 a02613,194 CL_OBB_TREE = 0x00 a04614,195 CL_OBB_TREE_NODE = 0x00 a08615,196 CL_BOUNDING_VOLUME = 0x00a10 616,197 CL_OBB = 0x00 a20617,194 CL_BV_TREE = 0x00a01000, 195 CL_BV_TREE_NODE = 0x00002000, 196 CL_OBB_TREE = 0x00000614, 197 CL_OBB_TREE_NODE = 0x00000615, 198 CL_BOUNDING_VOLUME = 0x00a10000, 199 CL_OBB = 0x00020617, 198 200 CL_BOUNDING_SPHERE = 0x00a40618, 199 201 200 202 // graphical stuff (range from 0x00000800 to 0x000009ff) 201 CL_FONT = 0x00c02802, 202 203 204 CL_TEXT = 0x00b01801, 203 CL_FONT = 0x00000802, 204 205 205 206 CL_MATERIAL = 0x00000804, 206 CL_TEXTURE_SEQUENCE = 0x00 c04805,207 CL_TEXTURE_SEQUENCE = 0x00004805, 207 208 CL_OBJ_MODEL = 0x00000807, 208 209 CL_PROMITIVE_MODEL = 0x00000808, -
trunk/src/lib/lang/base_object.cc
r6077 r6276 32 32 BaseObject::BaseObject(const TiXmlElement* root) 33 33 { 34 this->className = NULL;34 this->className = "BaseObject"; 35 35 this->classID = CL_BASE_OBJECT; 36 36 … … 73 73 void BaseObject::setClassID(ClassID classID, const char* className) 74 74 { 75 // printf("%s(0x%.8X)->%s(0x%.8X)\n", this->className, this->classID, className, classID); 76 assert (!(this->classID & classID)); 77 75 78 this->classID |= (long)classID; 76 79 this->className = className;
Note: See TracChangeset
for help on using the changeset viewer.