Changeset 6441 in orxonox.OLD for trunk/src/util/state.h
- Timestamp:
- Jan 8, 2006, 4:02:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/state.h
r6222 r6441 39 39 static inline ObjectManager* getObjectManager() { return State::objectManager; }; 40 40 41 static inline void setResolution(unsigned int resX, unsigned int resY) { State::_resX = resX; State::_resY = resY; }; 42 static inline unsigned int resX() { return State::_resX; }; 43 static inline unsigned int resY() { return State::_resY; }; 44 41 45 ///////////////////////// 42 46 /// WORLD_ENTITY_LIST /// … … 51 55 static ObjectManager* objectManager; //!< A referenct to the current ObjectManager 52 56 57 static unsigned int _resX; //!< The X Resolution of the screen. 58 static unsigned int _resY; //!< The Y Resolution of the screen. 53 59 }; 54 60
Note: See TracChangeset
for help on using the changeset viewer.