Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6257 in orxonox.OLD for branches/network/src/lib/lang


Ignore:
Timestamp:
Dec 21, 2005, 11:58:57 PM (19 years ago)
Author:
rennerc
Message:

class_id.h: changed CL_ENTITY_MANAGER to CL_NETWORK_GAME_MANAGER
base_object: added realClassID which can be used with factory
network_game_manager: fixed some bugs again, can now spawn entities over network :D

Location:
branches/network/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/lang/base_object.cc

    r6077 r6257  
    7575  this->classID |= (long)classID;
    7676  this->className = className;
     77  this->realClassID = classID;
    7778
    7879  ClassList::addToClassList(this, classID, className);
  • branches/network/src/lib/lang/base_object.h

    r6077 r6257  
    3434  /** @returns the classID of the corresponding Object */
    3535  inline int getClassID() const { return this->classID; };
     36  inline int getRealClassID() const { return this->realClassID; };
    3637
    3738  bool isA (ClassID classID) const;
     
    4950    const char*        className;        //!< the name of the class
    5051    long               classID;          //!< this is the id from the class_id.h enumeration
     52    long               realClassID;      //!< classID which can be used with factory
    5153    char*              objectName;       //!< The name of this object
    5254};
Note: See TracChangeset for help on using the changeset viewer.