Changeset 480 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 12, 2007, 7:54:44 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/CMakeLists.txt
r462 r480 32 32 objects 33 33 weapon 34 xml 34 35 ) 35 36 -
code/branches/FICN/src/orxonox/core/OrxonoxClass.h
r474 r480 92 92 inline const bool isVisible() const { return this->bVisible_; } 93 93 94 //virtual void loadParams(TIXMLNode n);95 94 96 95 private: -
code/branches/FICN/src/orxonox/objects/BaseObject.cc
r258 r480 13 13 { 14 14 } 15 15 16 } -
code/branches/FICN/src/orxonox/objects/BaseObject.h
r384 r480 11 11 BaseObject(); 12 12 virtual ~BaseObject(); 13 virtual void loadParams(TiXmlElement* xmlElem) {} 14 13 15 }; 14 16 } -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r376 r480 9 9 10 10 ADD_LIBRARY(objects SHARED ${OBJECTS_SRC_FILES}) 11 12 TARGET_LINK_LIBRARIES( objects 13 xml 14 ) -
code/branches/FICN/src/orxonox/objects/test1.cc
r384 r480 2 2 #include "test2.h" 3 3 #include "test3.h" 4 #include "../../tinyxml/tinyxml.h" 4 5 5 6 namespace orxonox … … 66 67 this->usefullClass3_ = identifier; 67 68 } 69 70 void Test1::loadParams(TiXmlElement* xmlElem) 71 { 72 std::cout<< xmlElem->GetText()<<std::endl; 73 } 68 74 } -
code/branches/FICN/src/orxonox/objects/test1.h
r384 r480 5 5 #include "Tickable.h" 6 6 #include "test3.h" 7 #include "../../tinyxml/tinyxml.h" 7 8 8 9 namespace orxonox … … 22 23 void setUsefullClass2(Identifier* identifier); 23 24 void setUsefullClassOfTypeTest3(Identifier* identifier); 25 26 void loadParams(TiXmlElement* xmlElem); 24 27 25 28 private: -
code/branches/FICN/src/orxonox/orxonox.cc
r473 r480 218 218 { 219 219 //TODO: start modules 220 ogre_->startRender(); 221 auMan_ = new audio::AudioManager(); 222 // load this file from config 223 string levelFile = "sample.oxw"; 224 //loader_ = new loader::LevelLoader(levelFile); 220 225 221 //TODO: run engine 226 222 } … … 339 335 void Orxonox::createScene(void) 340 336 { 337 // Init audio 341 338 auMan_ = new audio::AudioManager(); 342 339 340 // load this file from config 341 loader_ = new loader::LevelLoader("sample.oxw"); 342 loader_->loadLevel(); 343 344 /* 343 345 auMan_->ambientAdd("a1"); 344 346 auMan_->ambientAdd("a2"); … … 346 348 //auMan->ambientAdd("ambient1"); 347 349 auMan_->ambientStart(); 348 349 string levelFile = "sp_level_moonstation.oxw"; 350 // loader::LevelLoader* loader = new loader::LevelLoader(levelFile); 350 */ 351 351 } 352 352
Note: See TracChangeset
for help on using the changeset viewer.