Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4315 in orxonox.OLD for orxonox/trunk/src/util


Ignore:
Timestamp:
May 26, 2005, 11:38:39 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: removed deprecated class base_entity and updated the class_list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/object_manager.h

    r4313 r4315  
    1111    TO ADD SUPPORT FOR A CLASS do the following steps:
    1212    1. include the hader file : #include "class_header.h"
    13     2. add the class to the type enum classList {};
     13    2. add the class to the type enum classList {}; in class_list.h
    1414    3. define a function void mCache( ClassName ) in class ObjectManager
    1515
     
    2424#include "list.h"
    2525
    26 #define OM_
    27 
    28 
    29 //! list of all classes to be loadable in via the ObjectManager
    30 typedef enum classList
    31 {
    32   CL_PROJECTILE,
    33   CL_TEST_BULLET,
    34 
    35   CL_NUMBER
    36 };
     26#include "class_list.h"
    3727 
    3828
Note: See TracChangeset for help on using the changeset viewer.