Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2009, 2:12:57 PM (15 years ago)
Author:
Naaduun
Message:

=added dynamic libs to orxonox/tools. changed humancontroller to use mouseview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/map/src/orxonox/overlays/map/Map.h

    r2913 r2942  
    5454    public: // functions
    5555        Map(BaseObject* creator);
    56         virtual ~Map() {}
     56        ~Map();
    5757
    5858        virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     
    6565
    6666        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
    6788       
    6889    private: // functions
     90
    6991        void toggleVisibility();
    7092        void updatePositions();
    71 
     93       
    7294
    7395    private: // variables
     96        static Map* singletonMap_s;
     97
    7498        Ogre::SceneManager* sManager_;
    7599        Ogre::SceneManager* mapSceneM_;
     
    77101        Ogre::OverlayManager * oManager_;
    78102        Ogre::Camera* mReflectCam_;
    79 
    80        
    81        
     103        //Ogre::SceneNode* playerShipNode_;
     104        int mouseLookSpeed_;
    82105        bool isVisible_;
    83106    };
Note: See TracChangeset for help on using the changeset viewer.