Changeset 616
- Timestamp:
- Dec 18, 2007, 2:50:50 PM (17 years ago)
- Location:
- code/branches/FICN/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/loader/LevelLoader.cc
r614 r616 19 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 20 * 21 * Author: 21 * Author: 22 22 * Nicolas Perrenoud <nicolape@ee.ethz.ch> 23 23 * Co-authors: … … 159 159 auMan->ambientAdd(tElem->Attribute("src")); 160 160 } 161 } 162 } 163 } 164 161 } 162 } 163 } 164 165 165 // Load world 166 166 worldElem = rootElement->FirstChildElement("world"); -
code/branches/FICN/src/orxonox/GraphicsEngine.cc
r612 r616 30 30 */ 31 31 32 #include " graphicsEngine.h"32 #include "GraphicsEngine.h" 33 33 34 34 #include <OgreRoot.h> -
code/branches/FICN/src/orxonox/OrxonoxPrereqs.h
r615 r616 145 145 struct synchData; 146 146 struct synchronisableVariable; 147 147 148 } 148 149 -
code/branches/FICN/src/orxonox/objects/BaseEntity.cc
r614 r616 40 40 } 41 41 } 42 42 43 43 void BaseEntity::registerAllVariables(){ 44 44 WorldEntity::registerAllVariables(); … … 47 47 registerVar(&node_, node_.length()+1, network::STRING); 48 48 } 49 49 50 50 bool BaseEntity::create(){ 51 51 if(!valid) … … 54 54 this->setNode(Orxonox::getSingleton()->getSceneManager()->getSceneNode(node_)); 55 55 Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager(); 56 56 57 57 Ogre::Entity* entity = mgr->createEntity(name_, mesh_); 58 58 59 59 //Ogre::MovableObject *ent = (Ogre::MovableObject *)entity; 60 60 getNode()->attachObject(entity); // big problem here: sigsegv -
code/branches/FICN/src/orxonox/objects/SceneNode.cc
r614 r616 63 63 else 64 64 nodeName_ = ""; 65 65 66 66 create(); 67 67 … … 69 69 } 70 70 } 71 71 72 72 void SceneNode::registerAllVariables(){ 73 73 registerVar(&x_, sizeof(float), network::DATA); … … 83 83 registerVar(&nodeName_, sizeof(float), network::STRING); 84 84 } 85 85 86 86 bool SceneNode::create(){ 87 87 Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager(); … … 100 100 return true; 101 101 } 102 102 103 103 } -
code/branches/FICN/src/orxonox/objects/test1.cc
r614 r616 69 69 this->usefullClass3_ = identifier; 70 70 } 71 71 72 72 void Test1::loadParams(TiXmlElement* xmlElem) 73 73 { 74 74 75 76 75 76 77 77 } 78 78 }
Note: See TracChangeset
for help on using the changeset viewer.