Changeset 4596 in orxonox.OLD for orxonox/trunk/src/defs
- Timestamp:
- Jun 10, 2005, 11:41:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/defs/class_list.h
r4595 r4596 13 13 co-programmer: Benjamin Grauer 14 14 15 2005-06-10: (bensch) added new sturcture to support multiple inheritance 15 16 */ 16 17 … … 21 22 this File is used to identify an Object with its class and also with its sub/super-classes. 22 23 this is also used by the ObjectManager to identify and load important classes 24 25 !! important !! 26 When adding a new CLASS be sure about the following: 27 1. if it is a (SUB)SUPERCLASS make sure there is still space left (if not think of a new approach) 28 2. if it is a (SUB)SUPERCLASS also add the CLASS to BaseObject::whatIs() so we have nice output :) 29 3. check if the Number you add is not refered to twice, and that with (SUB)SUPERCLASSES there are no intersections 30 4. be sure to add you stuff in the right section, and don't interest yourself for the order of things. :) 23 31 */ 24 32 … … 70 78 CL_MASK_LOWLEVEL_CLASS = 0x00000fff, 71 79 72 // singleton classes (range from 0x00000 001 to 0x000000ff)73 CL_MASK_SINGLETON = 0x00000 03f,74 CL_ORXONOX = 0x00000 001,75 CL_NULL_PARENT = 0x00000 002,76 CL_PILOT_PARENT = 0x00000 003,77 CL_OBJECT_MANAGER = 0x00000 004,78 CL_RESOURCE_MANAGER = 0x00000 005,79 CL_GARBAGE_COLLECTOR = 0x00000 006,80 CL_GAME_LOADER = 0x00000 007,81 CL_GRAPHICS_ENGINE = 0x00000 008,82 CL_TEXT_ENGINE = 0x00000 009,83 CL_LIGHT_MANAGER = 0x00000 00a,84 CL_EVENT_HANDLER = 0x00000 00b,85 CL_PHYSICS_ENGINE = 0x00000 00c,86 CL_CD_ENGINE = 0x00000 00d,87 CL_PARTICLE_ENGINE = 0x00000 00e,88 CL_SOUND_ENGINE = 0x00000 00f,89 CL_ANIMATION_PLAYER = 0x00000 010,90 CL_TRACK_MANAGER = 0x00000 011,91 CL_TRACK_NODE = 0x00000 012,92 CL_STATE = 0x00000 013,93 CL_FRAMEWORK = 0x00000 014,80 // singleton classes (range from 0x00000f01 to 0x00000fff) 81 CL_MASK_SINGLETON = 0x00000f00, 82 CL_ORXONOX = 0x00000f01, 83 CL_NULL_PARENT = 0x00000f02, 84 CL_PILOT_PARENT = 0x00000f03, 85 CL_OBJECT_MANAGER = 0x00000f04, 86 CL_RESOURCE_MANAGER = 0x00000f05, 87 CL_GARBAGE_COLLECTOR = 0x00000f06, 88 CL_GAME_LOADER = 0x00000f07, 89 CL_GRAPHICS_ENGINE = 0x00000f08, 90 CL_TEXT_ENGINE = 0x00000f09, 91 CL_LIGHT_MANAGER = 0x00000f0a, 92 CL_EVENT_HANDLER = 0x00000f0b, 93 CL_PHYSICS_ENGINE = 0x00000f0c, 94 CL_CD_ENGINE = 0x00000f0d, 95 CL_PARTICLE_ENGINE = 0x00000f0e, 96 CL_SOUND_ENGINE = 0x00000f0f, 97 CL_ANIMATION_PLAYER = 0x00000f10, 98 CL_TRACK_MANAGER = 0x00000f11, 99 CL_TRACK_NODE = 0x00000f12, 100 CL_STATE = 0x00000f13, 101 CL_FRAMEWORK = 0x00000f14, 94 102 95 103 … … 98 106 CL_CAMPAIGN = 0x00000101, 99 107 CL_WORLD = 0x00000102, 108 100 109 101 110 // WorldEntities (range from 0x00000201 to 0x000005ff)
Note: See TracChangeset
for help on using the changeset viewer.