Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 29, 2007, 6:51:28 PM (17 years ago)
Author:
bknecht
Message:

improvements by landauf on bsp, rotor and wireframe (does build, should work)

Location:
trunk/src/util
Files:
2 edited

Legend:

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

    r10618 r10643  
    5252
    5353bool State::bOnline = false;
     54bool State::bWireframe = false;
    5455
    5556int State::menuID = -1;
  • trunk/src/util/state.h

    r10379 r10643  
    9393  /** @returns the local player*/
    9494  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; }
    9599
    96100
     
    151155  static int                    menuID;            //!< -1 on default, otherwise orxonox's Menu ID
    152156  static bool                   bOnline;           //!< Is true if this node is in multiplayer mode (via network)
     157 
     158  static bool                   bWireframe;        //!< The Wireframemode
    153159  };
    154160
Note: See TracChangeset for help on using the changeset viewer.