Changeset 152 for code/branches/main_reto/include/run_manager.h
- Timestamp:
- Nov 3, 2007, 6:20:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto/include/run_manager.h
r146 r152 38 38 #include "orxonox_ship.h" 39 39 40 40 41 //Use this define to signify OIS will be used as a DLL 41 42 //(so that dll import/export macros are in effect) … … 55 56 virtual ~RunManager(); 56 57 57 virtual bool tick(unsigned long, float);58 virtual bool tick(unsigned long, Real); 58 59 59 60 protected: 60 OgreControl *mOgre;61 62 SceneManager *mSceneMgr;63 RenderWindow* mWindow;64 65 OrxonoxScene *mScene;66 Camera* mCamera;67 SceneNode *mShipNode;68 OrxonoxShip *mShip;69 70 bool mStatsOn;71 72 std::string mDebugText;73 74 unsigned int mNumScreenShots;75 // just to stop toggles flipping too fast76 Real mTimeUntilNextToggle ;77 TextureFilterOptions mFiltering;78 int mAniso;79 80 int mSceneDetailIndex ;81 Overlay* mDebugOverlay;82 83 //OIS Input devices84 OIS::InputManager* mInputManager;85 OIS::Mouse* mMouse;86 OIS::Keyboard* mKeyboard;87 OIS::JoyStick* mJoy;88 89 bool leftButtonDown;90 Bullet **mBullets;91 int mBulletsSize;92 int mBulletsPosition;93 94 // previously elapsed render time95 unsigned long mTime;96 97 61 virtual void createCamera(void); 98 62 … … 121 85 virtual void showDebugOverlay(bool); 122 86 87 protected: 88 OgreControl *ogre_; 89 SceneManager *sceneMgr_; 90 RenderWindow *window_; 91 OrxonoxScene *backgroundScene_; 92 Camera *camera_; 93 OrxonoxShip *playerShip_; 94 95 bool statsOn_; 96 std::string debugText_; 97 98 unsigned int screenShotCounter_; 99 // just to stop toggles flipping too fast 100 Real timeUntilNextToggle_; 101 bool leftButtonDown_; 102 TextureFilterOptions filtering_; 103 int aniso_; 104 105 int sceneDetailIndex_; 106 Overlay* debugOverlay_; 107 108 //OIS Input devices 109 OIS::InputManager* inputManager_; 110 OIS::Mouse* mouse_; 111 OIS::Keyboard* keyboard_; 112 OIS::JoyStick* joystick_; 113 114 // Bullet array 115 Bullet **bullets_; 116 int bulletsSize_; 117 int bulletsIndex_; 118 119 // previously elapsed render time 120 unsigned long totalTime_; 121 123 122 }; 124 123
Note: See TracChangeset
for help on using the changeset viewer.