Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7032 in orxonox.OLD for trunk/src/util/state.h


Ignore:
Timestamp:
Feb 4, 2006, 5:01:11 AM (18 years ago)
Author:
bensch
Message:

testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/state.h

    r7014 r7032  
    9090  ////////////
    9191  /** sets the menu mode @param mode true if always exit to menu */
    92   static inline void setMenuMode(bool mode) { State::bMenuMode = mode; }
     92  static inline void setMenuID(int menuID) { State::menuID = menuID; }
    9393  /** @returns the menu mode */
    94   static inline bool getMenuMode() { return State::bMenuMode;}
     94  static inline int getMenuID() { return State::menuID;}
    9595
    9696
     
    111111  static unsigned int           resX;              //!< The X Resolution of the screen.
    112112  static unsigned int           resY;              //!< The Y Resolution of the screen.
    113 
     113  static int                    menuID;            //!< -1 on default, otherwise orxonox's Menu ID
    114114  static bool                   bOnline;           //!< Is true if this node is in multiplayer mode (via network)
    115   static bool                   bMenuMode;         //!< True is orxonox is player in the menu mode (always returning to the menu after exit)
    116 
    117115  };
    118116
Note: See TracChangeset for help on using the changeset viewer.