- Timestamp:
- Jan 28, 2006, 11:02:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/class_id.h
r6815 r6818 10 10 11 11 ### File Specific: 12 main-programmer: Patrick Boenzli13 co-programmer: Benjamin Grauer12 main-programmer: Benjamin Grauer 13 co-programmer: Patrick Boenzli 14 14 15 15 2005-06-10: (bensch) added new sturcture to support multiple inheritance … … 18 18 /*! 19 19 * @file class_id.h 20 * @brief list of orxonox ClassID's21 * 22 * this File is used to identify an Object with its class and also with its sub/super-classes.20 * @brief contains a list of orxonox ClassID's (identities to register classes and their SuperClasses) 21 * 22 * this File is used to identify an Object with its Class and also with its sub/super-classes. 23 23 * this is also used by the ObjectManager/Factory to identify and load important classes 24 24 * … … 66 66 CL_NULL = 0x00000000, 67 67 68 // superclasses68 /// SUPER-classes 69 69 CL_MASK_SUPER_CLASS = 0xff000000, 70 70 CL_BASE_OBJECT = 0x00000000, … … 84 84 CL_WORLD_ENTITY = 0x40000000, 85 85 86 CL_GAME_WORLD = 0x50000000, 87 CL_GAME_WORLD_DATA = 0x60000000, 88 89 CL_GRAPHICS_EFFECT = 0x70000000, 90 91 92 // subsuper-classes derivations taken : 1, 2, 3, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken 93 94 // subsuper-classes 86 CL_GRAPHICS_EFFECT = 0x80000000, 87 88 89 /// subsuper-classes 90 // subsuper-classes derivations taken : 1, 2, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken 95 91 CL_MASK_SUBSUPER_CLASS = 0x00fff000, 96 92 CL_MASK_SUBSUPER_CLASS_IDA = 0x00f00000, 97 93 CL_MASK_SUBSUPER_CLASS_IDB = 0x000ff000, 98 // SUPER-PNodes99 CL_FIELD = 0x00101000,100 // SUPER-WorldEntities101 CL_PLAYABLE = 0x00201000,102 CL_PLAYER = 0x00202000,103 CL_NPC = 0x00204000,104 CL_IMAGE_ENTITY = 0x00206000,105 CL_PLANET = 0x00207000,106 CL_PROJECTILE = 0x00208000,107 CL_WEAPON = 0x00210000,108 CL_POWER_UP = 0x00220000,109 CL_EXTENDABLE = 0x00240000,110 // SUPER-Modeling111 CL_TEXTURE = 0x00c01000,112 CL_TEXTURE_SEQUENCE = 0x00004000,113 114 CL_TEXT = 0x00c02000,115 116 CL_MODEL = 0x00d01000,117 CL_STATIC_MODEL = 0x00002000,118 CL_VERTEX_ARRAY_MODEL = 0x00004000,119 120 121 CL_BILLBOARD = 0x10000001,122 123 // subsuper-classes derivations taken : 1, 2, 5, a, b, c. << THIS IS A LIST OF ALL THE DCL_MASK_SUBSUPERCLASS_ID's taken124 94 125 95 // lowest level classes 96 // These are also referenced to as Leaf-classes 126 97 CL_MASK_LOWLEVEL_CLASS = 0x00000fff, 127 98 128 // singleton classes (range from 0x00000f00 to 0x00000fff) 99 100 /// SINGLETON classes (range from 0x00000f00 to 0x00000fff) 129 101 CL_MASK_SINGLETON = 0x00000f00, 130 102 CL_ORXONOX = 0x00000f01, … … 158 130 159 131 160 // StoryEntities (range from 0x00000100 to 0x000001ff) 132 /// SUPER-Modeling 133 CL_TEXTURE = 0x00c01000, 134 CL_TEXTURE_SEQUENCE = 0x00c04000, 135 CL_TEXT = 0x00c02000, 136 137 CL_MODEL = 0x00d01000, 138 CL_STATIC_MODEL = 0x00d02000, 139 CL_VERTEX_ARRAY_MODEL = 0x00d04000, 140 141 /// StoryEntities (range from 0x00000100 to 0x000001ff) 142 CL_GAME_WORLD = 0x00101000, 143 CL_GAME_WORLD_DATA = 0x00102000, 144 161 145 CL_CAMPAIGN = 0x00000101, 162 146 CL_CAMPAIGN_DATA = 0x00000102, … … 169 153 CL_MOVIE_LOADER = 0x00000109, 170 154 171 172 // WorldEntities (range from 0x00000200 to 0x000004ff) 173 CL_CAMERA = 0x00000201, 174 CL_CAMERA_TARGET = 0x00000202, 175 155 /// SUPER-PNodes 156 CL_FIELD = 0x00101000, 157 158 /// PNodes 159 CL_CAMERA = 0x00000101, 160 CL_CAMERA_TARGET = 0x00000102, 161 162 163 /// SUPER-WorldEntities 164 CL_PLAYER = 0x00202000, 165 166 CL_PLAYABLE = 0x00201000, 167 CL_NPC = 0x00204000, 168 CL_PROJECTILE = 0x00208000, 169 CL_WEAPON = 0x00210000, 170 CL_POWER_UP = 0x00220000, 171 CL_EXTENDABLE = 0x00240000, 172 173 /// WorldEntities (range from 0x00000200 to 0x000004ff) 174 // Environments 176 175 CL_ENVIRONEMENT = 0x00000203, 177 176 CL_SATELLITE = 0x00000204, … … 180 179 CL_TERRAIN = 0x00000207, 181 180 CL_WATER = 0x00000208, 182 183 CL_TEST_ENTITY = 0x00000209, 181 CL_PLANET = 0x00000209, 182 183 // Playables 184 184 CL_SPACE_SHIP = 0x0000020a, 185 185 CL_HELICOPTER = 0x0000020b, … … 188 188 CL_HOVER = 0x0000020e, 189 189 190 // Powerups 190 191 CL_TURRET_POWER_UP = 0x00000211, 191 192 CL_LASER_POWER_UP = 0x00000212, … … 193 194 CL_PARAM_POWER_UP = 0x00000214, 194 195 196 // Weapons 195 197 CL_TEST_GUN = 0x00000230, 196 198 CL_TURRET = 0x00000231, … … 200 202 CL_HYPERBLASTER = 0x00000235, 201 203 204 // Projectiles 202 205 CL_TEST_BULLET = 0x00000240, 203 206 CL_ROCKET = 0x00000241, … … 208 211 CL_HYPERBLAST = 0x00000246, 209 212 213 // NPC's 210 214 CL_NPC_TEST1 = 0x00000301, 211 215 CL_NPC_TEST2 = 0x00000302, 212 CL_MOVIE_ENTITY = 0x00000303, 213 CL_RECORDER = 0x00000304, 214 215 216 // gamePlay (range from 0x00000500 0x000005ff) 216 217 // Testing Entities 218 CL_TEST_ENTITY = 0x00000209, 219 220 // misc 221 CL_MOVIE_ENTITY = 0x00000310, 222 CL_RECORDER = 0x00000311, 223 224 CL_IMAGE_ENTITY = 0x00000312, 225 CL_BILLBOARD = 0x00000313, 226 227 228 // GamePlay (range from 0x00000500 0x000005ff) 217 229 CL_EVENT = 0x00000501, 218 230 CL_KEY_MAPPER = 0x00000502, … … 223 235 CL_HUD = 0x00000520, 224 236 225 // Physics stuff (range from 0x00000600 to 0x000007ff) 237 238 /// Physics stuff (range from 0x00000600 to 0x000007ff) 226 239 CL_PHYSICS_CONNECTION = 0x00000601, 227 240 CL_FIELD_GRAVITY = 0x00000610, … … 230 243 231 244 232 // Collision245 /// Collision 233 246 CL_COLLISION = 0x00000611, 234 247 CL_BV_TREE = 0x00a01000, … … 240 253 CL_BOUNDING_SPHERE = 0x00040618, 241 254 242 // graphical stuff (range from 0x00000800 to 0x000009ff)255 /// Graphical stuff (range from 0x00000800 to 0x000009ff) 243 256 CL_FONT = 0x00000802, 244 257 … … 268 281 CL_LENSE_FLARE = 0x70000002, 269 282 270 // GL-GUI283 /// GL-GUI 271 284 CL_GLGUI_WIDGET = 0x00500000, 272 285 CL_GLGUI_BUTTON = 0x00501000, … … 281 294 CL_GLGUI_BAR = 0x00000930, 282 295 283 // soundstuff (range from 0x00000a00 to 0x00000aff)296 /// AUDIO stuff (range from 0x00000a00 to 0x00000aff) 284 297 CL_SOUND_BUFFER = 0x00000a01, 285 298 CL_SOUND_SOURCE = 0x00000a02, … … 287 300 288 301 289 // networkstuff (range from 0x00000b00 to 0x00000bff)302 /// NETWORK stuff (range from 0x00000b00 to 0x00000bff) 290 303 CL_DATA_STREAM = 0x00b01b00, 291 304 CL_NETWORK_STREAM = 0x00000b01, … … 299 312 300 313 301 // misc: (range from 0x00000d00 to 0x00000eff)314 /// MISCELANEOUS: (range from 0x00000d00 to 0x00000eff) 302 315 CL_ANIMATION = 0x00000d01, 303 316 // CL_ANIMATION3D = 0x00000b02, … … 309 322 CL_LOAD_PARAM = 0x00000d07, 310 323 CL_CURVE = 0x00000d08, 311 CL_VECTOR = 0x00000d09,312 324 CL_CHARACTER_ATTRIBUTES = 0x00000d0a, 313 325 CL_TRACK_ELEMENT = 0x00000d0b,
Note: See TracChangeset
for help on using the changeset viewer.