Changeset 161 for code/branches/main_reto_vs05/include/orxonox_scene.h
- Timestamp:
- Nov 4, 2007, 5:00:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto_vs05/include/orxonox_scene.h
r159 r161 30 30 #define ORXONOX_SCENE_H 31 31 32 #include "Ogre .h"32 #include "OgrePrerequisites.h" 33 33 34 using namespace Ogre; 34 #include "Orxonox_prerequisites.h" 35 35 36 class OrxonoxScene37 {38 public:39 OrxonoxScene(SceneManager*);40 36 41 virtual ~OrxonoxScene(); 37 namespace Orxonox { 42 38 43 virtual bool initialise(); 39 class OrxonoxScene 40 { 41 public: 42 OrxonoxScene(Ogre::SceneManager*); 44 43 45 virtual bool tick(unsigned long, Real);44 virtual ~OrxonoxScene(); 46 45 47 protected: 48 /// method where you can perform resource group loading 49 virtual void loadResources(); 46 virtual bool initialise(); 50 47 51 /// Define what is in the scene 52 virtual void createScene(); 48 virtual bool tick(unsigned long, Ogre::Real); 53 49 54 protected: 55 SceneManager* sceneMgr_; 50 protected: 51 /// method where you can perform resource group loading 52 virtual void loadResources(); 56 53 57 //specific variables for test purposes 58 Light *light_; 59 SceneNode *lightNode_; 60 BillboardSet *bbs_; 61 Real distance_; 62 Real radius_; 63 }; 54 /// Define what is in the scene 55 virtual void createScene(); 56 57 protected: 58 Ogre::SceneManager* sceneMgr_; 59 60 //specific variables for test purposes 61 Ogre::Light *light_; 62 Ogre::SceneNode *lightNode_; 63 Ogre::BillboardSet *bbs_; 64 Ogre::Real distance_; 65 Ogre::Real radius_; 66 }; 67 68 } 64 69 65 70 #endif /* ORXONOX_SCENE_H */
Note: See TracChangeset
for help on using the changeset viewer.