- Timestamp:
- Dec 12, 2007, 8:19:40 PM (17 years ago)
- Location:
- code/branches/FICN/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/CMakeLists.txt
r475 r482 43 43 network 44 44 core 45 objects45 #objects 46 46 ) 47 47 … … 51 51 network 52 52 core 53 objects53 #objects 54 54 ) 55 55 … … 60 60 network 61 61 core 62 objects62 #objects 63 63 ) 64 64 TARGET_LINK_LIBRARIES( server … … 66 66 network 67 67 core 68 objects68 #objects 69 69 ) 70 70 -
code/branches/FICN/src/orxonox/CMakeLists.txt
r480 r482 18 18 ) 19 19 20 ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) 21 20 22 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES}) 21 23 -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r480 r482 12 12 TARGET_LINK_LIBRARIES( objects 13 13 xml 14 orxonox 14 15 ) -
code/branches/FICN/src/orxonox/objects/test1.cc
r480 r482 3 3 #include "test3.h" 4 4 #include "../../tinyxml/tinyxml.h" 5 #include "../orxonox.h" 6 #include <OgreSceneManager.h> 5 7 6 8 namespace orxonox … … 70 72 void Test1::loadParams(TiXmlElement* xmlElem) 71 73 { 74 Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager(); 75 76 mgr->setAmbientLight(ColourValue(1,0,0)); 77 78 79 72 80 std::cout<< xmlElem->GetText()<<std::endl; 81 82 73 83 } 74 84 } -
code/branches/FICN/src/orxonox/orxonox.cc
r480 r482 360 360 Viewport *vp = ogre_->getRoot()->getAutoCreatedWindow()->addViewport(cam); 361 361 362 363 mgr->setAmbientLight(ColourValue(1,1,1)); 362 364 363 Entity* head = mgr->createEntity("head", "razor.mesh"); 365 364 SceneNode *node = mgr->getRootSceneNode()->createChildSceneNode("OgreHeadNode", Vector3(0,0,0)); … … 387 386 steering->addNode(node); 388 387 388 389 389 } 390 390
Note: See TracChangeset
for help on using the changeset viewer.