- Timestamp:
- Feb 21, 2018, 12:03:52 AM (6 years ago)
- Location:
- code/branches/cegui0.8_ogre1.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9
- Property svn:mergeinfo changed
/code/branches/cegui0.8 (added) merged: 11110,11118,11121,11124 /code/branches/ogre1.9 (added) merged: 11125-11132,11211,11453-11454
- Property svn:mergeinfo changed
-
code/branches/cegui0.8_ogre1.9/src/modules/objects/Planet.h
r11071 r11795 40 40 #include <string> 41 41 #include "tools/BillboardSet.h" 42 #include "tools/ Mesh.h"43 #include " worldentities/MovableEntity.h"42 #include "tools/interfaces/Tickable.h" 43 #include "graphics/Model.h" 44 44 45 45 namespace orxonox 46 46 { 47 class _ObjectsExport Planet : public Mo vableEntity47 class _ObjectsExport Planet : public Model, public Tickable 48 48 { 49 49 public: … … 58 58 virtual void changedVisibility() override; 59 59 60 inline void setMeshSource(const std::string& meshname)61 { this->meshSrc_ = meshname; this->changedMesh(); }62 63 inline const std::string& getMeshSource() const64 { return this->meshSrc_; }65 66 inline void setCastShadows(bool bCastShadows)67 { this->bCastShadows_ = bCastShadows; this->changedShadows(); }68 69 inline bool getCastShadows() const70 { return this->bCastShadows_; }71 72 inline const std::string& getMesh() const{73 return this->meshSrc_;74 }75 76 60 inline void setAtmosphereSize(float size){ 77 61 this->atmosphereSize = size; … … 84 68 inline void setAtmosphere(const std::string& atmosphere){ 85 69 this->atmosphere_ = atmosphere; 70 this->changedAtmosphere(); 86 71 } 87 72 … … 103 88 void registerVariables(); 104 89 105 void changedMesh(); 106 void changedShadows(); 90 void changedAtmosphere(); 107 91 108 std::string meshSrc_;109 92 std::string atmosphere_; 110 Mesh mesh_;111 93 float atmosphereSize; 112 94 float imageSize; 113 95 BillboardSet billboard_; 114 bool bCastShadows_;115 96 116 97 };
Note: See TracChangeset
for help on using the changeset viewer.