Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6818 in orxonox.OLD


Ignore:
Timestamp:
Jan 28, 2006, 11:02:21 PM (18 years ago)
Author:
bensch
Message:

trunk: classID-cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/defs/class_id.h

    r6815 r6818  
    1010
    1111### File Specific:
    12    main-programmer: Patrick Boenzli
    13    co-programmer: Benjamin Grauer
     12   main-programmer: Benjamin Grauer
     13   co-programmer: Patrick Boenzli
    1414
    1515   2005-06-10: (bensch) added new sturcture to support multiple inheritance
     
    1818/*!
    1919 * @file class_id.h
    20  * @brief list of orxonox ClassID's
    21  *
    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.
    2323 *  this is also used by the ObjectManager/Factory to identify and load important classes
    2424 *
     
    6666  CL_NULL                       =    0x00000000,
    6767
    68   // superclasses
     68  /// SUPER-classes
    6969  CL_MASK_SUPER_CLASS           =    0xff000000,
    7070  CL_BASE_OBJECT                =    0x00000000,
     
    8484  CL_WORLD_ENTITY               =    0x40000000,
    8585
    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
    9591  CL_MASK_SUBSUPER_CLASS        =    0x00fff000,
    9692  CL_MASK_SUBSUPER_CLASS_IDA    =    0x00f00000,
    9793  CL_MASK_SUBSUPER_CLASS_IDB    =    0x000ff000,
    98   // SUPER-PNodes
    99   CL_FIELD                      =    0x00101000,
    100   // SUPER-WorldEntities
    101   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-Modeling
    111   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 taken
    12494
    12595  // lowest level classes
     96  // These are also referenced to as Leaf-classes
    12697  CL_MASK_LOWLEVEL_CLASS        =    0x00000fff,
    12798
    128   // singleton classes (range from 0x00000f00 to 0x00000fff)
     99
     100  /// SINGLETON classes (range from 0x00000f00 to 0x00000fff)
    129101  CL_MASK_SINGLETON             =    0x00000f00,
    130102  CL_ORXONOX                    =    0x00000f01,
     
    158130
    159131
    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
    161145  CL_CAMPAIGN                   =    0x00000101,
    162146  CL_CAMPAIGN_DATA              =    0x00000102,
     
    169153  CL_MOVIE_LOADER               =    0x00000109,
    170154
    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
    176175  CL_ENVIRONEMENT               =    0x00000203,
    177176  CL_SATELLITE                  =    0x00000204,
     
    180179  CL_TERRAIN                    =    0x00000207,
    181180  CL_WATER                      =    0x00000208,
    182 
    183   CL_TEST_ENTITY                =    0x00000209,
     181  CL_PLANET                     =    0x00000209,
     182
     183  // Playables
    184184  CL_SPACE_SHIP                 =    0x0000020a,
    185185  CL_HELICOPTER                 =    0x0000020b,
     
    188188  CL_HOVER                      =    0x0000020e,
    189189
     190  // Powerups
    190191  CL_TURRET_POWER_UP            =    0x00000211,
    191192  CL_LASER_POWER_UP             =    0x00000212,
     
    193194  CL_PARAM_POWER_UP             =    0x00000214,
    194195
     196  // Weapons
    195197  CL_TEST_GUN                   =    0x00000230,
    196198  CL_TURRET                     =    0x00000231,
     
    200202  CL_HYPERBLASTER               =    0x00000235,
    201203
     204  // Projectiles
    202205  CL_TEST_BULLET                =    0x00000240,
    203206  CL_ROCKET                     =    0x00000241,
     
    208211  CL_HYPERBLAST                 =    0x00000246,
    209212
     213  // NPC's
    210214  CL_NPC_TEST1                  =    0x00000301,
    211215  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)
    217229  CL_EVENT                      =    0x00000501,
    218230  CL_KEY_MAPPER                 =    0x00000502,
     
    223235  CL_HUD                        =    0x00000520,
    224236
    225   // Physics stuff (range from 0x00000600 to 0x000007ff)
     237
     238  /// Physics stuff (range from 0x00000600 to 0x000007ff)
    226239  CL_PHYSICS_CONNECTION         =    0x00000601,
    227240  CL_FIELD_GRAVITY              =    0x00000610,
     
    230243
    231244
    232   // Collision
     245  /// Collision
    233246  CL_COLLISION                  =    0x00000611,
    234247  CL_BV_TREE                    =    0x00a01000,
     
    240253  CL_BOUNDING_SPHERE            =    0x00040618,
    241254
    242   // graphical stuff (range from 0x00000800 to 0x000009ff)
     255  /// Graphical stuff (range from 0x00000800 to 0x000009ff)
    243256  CL_FONT                       =    0x00000802,
    244257
     
    268281  CL_LENSE_FLARE                =    0x70000002,
    269282
    270   // GL-GUI
     283  /// GL-GUI
    271284  CL_GLGUI_WIDGET               =    0x00500000,
    272285  CL_GLGUI_BUTTON               =    0x00501000,
     
    281294  CL_GLGUI_BAR                  =    0x00000930,
    282295
    283   // sound stuff (range from 0x00000a00 to 0x00000aff)
     296  /// AUDIO stuff (range from 0x00000a00 to 0x00000aff)
    284297  CL_SOUND_BUFFER               =    0x00000a01,
    285298  CL_SOUND_SOURCE               =    0x00000a02,
     
    287300
    288301
    289   // network stuff (range from 0x00000b00 to 0x00000bff)
     302  /// NETWORK stuff (range from 0x00000b00 to 0x00000bff)
    290303  CL_DATA_STREAM                =    0x00b01b00,
    291304  CL_NETWORK_STREAM             =    0x00000b01,
     
    299312
    300313
    301   // misc: (range from 0x00000d00 to 0x00000eff)
     314  /// MISCELANEOUS: (range from 0x00000d00 to 0x00000eff)
    302315  CL_ANIMATION                  =    0x00000d01,
    303316  //  CL_ANIMATION3D                =    0x00000b02,
     
    309322  CL_LOAD_PARAM                 =    0x00000d07,
    310323  CL_CURVE                      =    0x00000d08,
    311   CL_VECTOR                     =    0x00000d09,
    312324  CL_CHARACTER_ATTRIBUTES       =    0x00000d0a,
    313325  CL_TRACK_ELEMENT              =    0x00000d0b,
Note: See TracChangeset for help on using the changeset viewer.