Changeset 159 for code/branches/main_reto_vs05/include
- Timestamp:
- Nov 3, 2007, 11:06:43 PM (17 years ago)
- Location:
- code/branches/main_reto_vs05/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto_vs05/include/Orxonox.h
r157 r159 39 39 { 40 40 public: 41 virtual void go(void); 41 Orxonox(); 42 virtual ~Orxonox(); 43 virtual void go(); 42 44 43 45 protected: 44 OgreControl *mOgre;45 RunManager *mRunMgr;46 Timer *mTimer;47 48 46 virtual bool setup(void); 49 47 50 48 virtual void destroy(void); 51 49 50 protected: 51 OgreControl *ogre_; 52 RunManager *runMgr_; 53 Timer *timer_; 54 52 55 }; 53 56 -
code/branches/main_reto_vs05/include/ogre_control.h
r157 r159 48 48 49 49 /** Sets up the application - returns false if the user chooses to abandon configuration. */ 50 virtual bool initialise( void);50 virtual bool initialise(); 51 51 52 virtual Root* getRoot( void);52 virtual Root* getRoot(); 53 53 54 virtual RenderWindow* getRenderWindow( void);54 virtual RenderWindow* getRenderWindow(); 55 55 56 virtual Ogre::String getResourcePath( void);56 virtual Ogre::String getResourcePath(); 57 57 58 58 protected: 59 Root *mRoot;60 RenderWindow *mWindow;61 Ogre::String mResourcePath;62 63 59 /** Configures the application - returns false if the user chooses to abandon configuration. */ 64 60 virtual bool configure(void); … … 67 63 virtual void setupResources(void); 68 64 65 protected: 66 Root *root_; 67 RenderWindow *window_; 68 Ogre::String resourcePath_; 69 69 70 }; 70 71 -
code/branches/main_reto_vs05/include/orxonox_scene.h
r157 r159 43 43 virtual bool initialise(); 44 44 45 virtual void tick(unsigned long, float);45 virtual bool tick(unsigned long, Real); 46 46 47 private: 48 SceneManager* mSceneMgr; 47 protected: 48 /// method where you can perform resource group loading 49 virtual void loadResources(); 50 51 /// Define what is in the scene 52 virtual void createScene(); 53 54 protected: 55 SceneManager* sceneMgr_; 49 56 50 57 //specific variables for test purposes 51 Light *mLight; 52 SceneNode *lightNode; 53 BillboardSet *bbs; 54 float distance, radius; 58 Light *light_; 59 SceneNode *lightNode_; 60 BillboardSet *bbs_; 61 Real distance_; 62 Real radius_; 63 }; 55 64 56 /// method where you can perform resource group loading57 virtual void loadResources(void);58 59 // Define what is in the scene60 virtual void createScene(void);61 };62 65 #endif /* ORXONOX_SCENE_H */ -
code/branches/main_reto_vs05/include/orxonox_ship.h
r157 r159 44 44 virtual bool initialise(); 45 45 46 void set Thrust(const Real);46 void setMainThrust(const Real); 47 47 void setSideThrust(const Real); 48 void setYThrust(const Real); 48 49 void turnUpAndDown(const Radian&); 49 50 void turnLeftAndRight(const Radian&); 51 52 SceneNode* getRootNode(); 53 Vector3 getSpeed(); 50 54 51 55 Bullet* fire(); … … 55 59 protected: 56 60 61 protected: 62 SceneManager *sceneMgr_; 63 SceneNode *rootNode_; 64 Entity *shipEntity_; 57 65 58 public: 59 60 61 protected: 62 SceneManager *SceneMgr_; 63 SceneNode *RootNode_; 64 Entity *ShipEntity_; 65 66 Vector3 currentSpeed_; 67 float CurrentThrust_; 68 float CurrentSideThrust_; 69 float baseThrust_; 66 Vector3 currentSpeed_; // relative to space 67 Vector3 currentThrust_; // relative to the ship 68 Real baseThrust_; 70 69 int objectCounter_; 71 70 Vector3 bulletSpeed_; -
code/branches/main_reto_vs05/include/run_manager.h
r157 r159 52 52 { 53 53 public: 54 RunManager(OgreControl* , bool = false, bool = false, bool = false);54 RunManager(OgreControl*); 55 55 56 56 virtual ~RunManager(); … … 112 112 OIS::JoyStick* joystick_; 113 113 114 const Real mouseSensitivity_; 115 114 116 // Bullet array 115 117 Bullet **bullets_;
Note: See TracChangeset
for help on using the changeset viewer.