- Timestamp:
- Nov 30, 2005, 10:18:43 PM (19 years ago)
- Location:
- branches/spaceshipcontrol/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/defs/class_id.h
r5839 r5844 57 57 // superclasses 58 58 CL_MASK_SUPER_CLASS = 0xff000000, 59 CL_BASE_OBJECT = 0x ff000000,59 CL_BASE_OBJECT = 0x00000000, 60 60 61 61 CL_PARENT_NODE = 0x01000000, … … 69 69 CL_ELEMENT_2D = 0x10000000, 70 70 71 CL_SYNCHRONIZEABLE 71 CL_SYNCHRONIZEABLE = 0x20000000, 72 72 73 73 CL_WORLD_ENTITY = 0x40000000, 74 74 75 75 // subsuper-classes derivations taken : 1, 2, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken 76 76 // subsuper-classes 77 77 CL_MASK_SUBSUPER_CLASS = 0x00fff000, 78 CL_MASK_SUBSUPER_CLASS_ID = 0x00f00000, 79 CL_MASK_SUBSUPER_CLASS_ID2 = 0x000ff000, 80 CL_PLAYER = 0x00101000, 81 CL_NPC = 0x00102000, 82 CL_POWER_UP = 0x00104000, 83 CL_FIELD = 0x00108000, 84 CL_PROJECTILE = 0x00110000, 85 CL_WEAPON = 0x00120000, 86 87 // subsuper-classes derivations taken : 1, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken 78 CL_MASK_SUBSUPER_CLASS_IDA = 0x00f00000, 79 CL_MASK_SUBSUPER_CLASS_IDB = 0x000ff000, 80 // SUPER-PNodes 81 CL_FIELD = 0x00101000, 82 // SUPER-WorldEntities 83 CL_PLAYABLE = 0x00201000, 84 CL_PLAYER = 0x00202000, 85 CL_NPC = 0x00204000, 86 CL_PROJECTILE = 0x00208000, 87 CL_WEAPON = 0x00210000, 88 CL_POWER_UP = 0x00220000, 89 90 // SUPER-Modeling 91 CL_TEXTURE = 0x00c01000, 92 CL_MODEL = 0x00c02000, 93 94 95 // subsuper-classes derivations taken : 1, 2, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken 88 96 89 97 // lowest level classes … … 118 126 CL_GLGUI_MAIN_WIDGET = 0x00000f41, 119 127 CL_NETWORK_MANAGER = 0x00000f50, 120 128 121 129 122 130 … … 178 186 179 187 // graphical stuff (range from 0x00000800 to 0x000009ff) 180 CL_TEXTURE = 0x00c01000, 188 CL_FONT = 0x00c02802, 189 190 181 191 CL_TEXT = 0x00b01801, 182 CL_FONT = 0x00c02802,183 192 CL_MATERIAL = 0x00000804, 184 CL_MODEL = 0x00000805, //!< @todo make this a SUBCLASS maybe185 193 CL_OBJMODEL = 0x00000806, 186 194 CL_PROMITIVE_MODEL = 0x00000807, -
branches/spaceshipcontrol/src/lib/lang/base_object.cc
r5791 r5844 112 112 else if (classID & CL_MASK_SUBSUPER_CLASS) 113 113 { 114 if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_ID ) == (this->classID & CL_MASK_SUBSUPER_CLASS_ID)) &&115 this->classID & classID & CL_MASK_SUBSUPER_CLASS_ID 2))114 if (likely(((this->classID & CL_MASK_SUBSUPER_CLASS_IDA) == (this->classID & CL_MASK_SUBSUPER_CLASS_IDA)) && 115 this->classID & classID & CL_MASK_SUBSUPER_CLASS_IDB)) 116 116 return true; 117 117 } -
branches/spaceshipcontrol/src/lib/sound/sound_engine.cc
r5834 r5844 281 281 282 282 // INITIALIZING THE DEVICE: 283 AL chardeviceName[] =283 ALubyte deviceName[] = 284 284 #ifdef __WIN32__ 285 285 "native";
Note: See TracChangeset
for help on using the changeset viewer.