Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 10:54:26 PM (16 years ago)
Author:
landauf
Message:
  • Moved some variables from Gametype to GametypeInfo (Gametype exists only on the Server while GametypeInfo is synchronized)
  • Created a new HUD-element, GametypeStatus, based on GametypeInfo (the same effect was formerly achieved by using a hack in Spectator and a TextOverlay)
  • HumanController creates a HUD (additionally to the SpaceShips HUD) which includes GametypeStatus and ChatOverlay and even more in the future
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/network/Synchronisable.h

    r2171 r2428  
    111111    static unsigned int popDeletedObject(){ unsigned int i = deletedObjects_.front(); deletedObjects_.pop(); return i; }
    112112
    113     inline unsigned int getObjectID(){return objectID;}
    114     inline unsigned int getClassID(){return classID;}
     113    inline unsigned int getObjectID() const { return objectID; }
     114    inline unsigned int getClassID() const { return classID; }
    115115  protected:
    116116    Synchronisable(BaseObject* creator);
Note: See TracChangeset for help on using the changeset viewer.