Changeset 15 in flair-src for trunk/lib/FlairSimulator/src/Castle.cpp
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/Castle.cpp
r10 r15 24 24 using namespace flair::core; 25 25 26 namespace flair 27 { 28 namespace simulator 29 { 26 namespace flair { 27 namespace simulator { 30 28 31 Castle::Castle(const Simulator* parent,int app_width, int app_height,int scene_width, int scene_height,std::string media_path): Gui(parent,"Castle",app_width,app_height,scene_width,scene_height, media_path) 32 { 33 //carte 34 std::string file=media_path +"/map-20kdm2.pk3"; 35 getDevice()->getFileSystem()->addFileArchive(file.c_str()); 36 setMesh("20kdm2.bsp",vector3df(-1400,-65,-1349)); 29 Castle::Castle(const Simulator *parent, int app_width, int app_height, 30 int scene_width, int scene_height, std::string media_path) 31 : Gui(parent, "Castle", app_width, app_height, scene_width, scene_height, 32 media_path) { 33 // carte 34 std::string file = media_path + "/map-20kdm2.pk3"; 35 getDevice()->getFileSystem()->addFileArchive(file.c_str()); 36 setMesh("20kdm2.bsp", vector3df(-1400, -65, -1349)); 37 37 } 38 38 39 Castle::~Castle() 40 { 41 42 } 39 Castle::~Castle() {} 43 40 44 41 } // end namespace simulator 45 42 } // end namespace flair 46 #endif // GL43 #endif // GL
Note:
See TracChangeset
for help on using the changeset viewer.