Changeset 10643 in orxonox.OLD for trunk/src/util
- Timestamp:
- Apr 29, 2007, 6:51:28 PM (18 years ago)
- Location:
- trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/state.cc
r10618 r10643 52 52 53 53 bool State::bOnline = false; 54 bool State::bWireframe = false; 54 55 55 56 int State::menuID = -1; -
trunk/src/util/state.h
r10379 r10643 93 93 /** @returns the local player*/ 94 94 static inline Player* getPlayer() { return State::player; }; 95 /** @param sets wireframemode */ 96 static inline void showWireframe(bool wireframe) { State::bWireframe = wireframe; } 97 /** @retirms the wireframemode */ 98 static inline bool showWireframe() { return State::bWireframe; } 95 99 96 100 … … 151 155 static int menuID; //!< -1 on default, otherwise orxonox's Menu ID 152 156 static bool bOnline; //!< Is true if this node is in multiplayer mode (via network) 157 158 static bool bWireframe; //!< The Wireframemode 153 159 }; 154 160
Note: See TracChangeset
for help on using the changeset viewer.