Changeset 2942 for code/branches/map/src/orxonox/overlays/map/Map.h
- Timestamp:
- Apr 30, 2009, 2:12:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/map/src/orxonox/overlays/map/Map.h
r2913 r2942 54 54 public: // functions 55 55 Map(BaseObject* creator); 56 virtual ~Map() {}56 ~Map(); 57 57 58 58 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); … … 65 65 66 66 static const int maxRange_s=1000; 67 68 static void rotateYaw(const Vector2& value); 69 static void rotatePitch(const Vector2& value); 70 71 // variables 72 73 74 bool inline getVisibility() 75 { return this->isVisible_; }; 76 77 static inline Ogre::SceneManager* getMapSceneManagerPtr() 78 { 79 return Map::singletonMap_s->mapSceneM_; 80 } 81 static inline Map* getSingletonPtr() 82 { 83 return Map::singletonMap_s; 84 } 85 86 87 67 88 68 89 private: // functions 90 69 91 void toggleVisibility(); 70 92 void updatePositions(); 71 93 72 94 73 95 private: // variables 96 static Map* singletonMap_s; 97 74 98 Ogre::SceneManager* sManager_; 75 99 Ogre::SceneManager* mapSceneM_; … … 77 101 Ogre::OverlayManager * oManager_; 78 102 Ogre::Camera* mReflectCam_; 79 80 81 103 //Ogre::SceneNode* playerShipNode_; 104 int mouseLookSpeed_; 82 105 bool isVisible_; 83 106 };
Note: See TracChangeset
for help on using the changeset viewer.