Changeset 1418
- Timestamp:
- May 25, 2008, 1:40:11 PM (17 years ago)
- Location:
- code/branches/network/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Synchronisable.cc
r1360 r1418 66 66 67 67 Synchronisable::~Synchronisable(){ 68 } 69 70 bool Synchronisable::create(){ 71 this->classID = this->getIdentifier()->getNetworkID(); 72 return true; 68 73 } 69 74 -
code/branches/network/src/network/Synchronisable.h
r1293 r1418 89 89 bool getBacksync(); 90 90 virtual void registerAllVariables()=0; 91 virtual bool create() =0;91 virtual bool create(); 92 92 static void setClient(bool b); 93 93 protected: -
code/branches/network/src/orxonox/objects/Ambient.cc
r1293 r1418 66 66 bool Ambient::create(){ 67 67 GraphicsEngine::getSingleton().getSceneManager()->setAmbientLight(ambientLight_); 68 return true;68 return Synchronisable::create(); 69 69 } 70 70 -
code/branches/network/src/orxonox/objects/Projectile.cc
r1360 r1418 63 63 64 64 this->destroyTimer_.setTimer(this->lifetime_, false, this, createExecutor(createFunctor(&Projectile::destroyObject))); 65 this->classID = this->getIdentifier()->getNetworkID(); // TODO: remove this hack66 65 // COUT(3) << this->classID << std::endl; 67 66 } -
code/branches/network/src/orxonox/objects/Skybox.cc
r1293 r1418 90 90 bool Skybox::create(){ 91 91 this->setSkybox(skyboxSrc_); 92 return true;92 return Synchronisable::create(); 93 93 } 94 94 -
code/branches/network/src/orxonox/objects/WorldEntity.h
r1227 r1418 53 53 virtual void loadParams(TiXmlElement* xmlElem); 54 54 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 55 inline bool create(){ return true; }55 inline bool create(){ return Synchronisable::create(); } 56 56 57 57 void attachWorldEntity(WorldEntity* entity); -
code/branches/network/src/orxonox/objects/weapon/AmmunitionDump.h
r1056 r1418 60 60 61 61 protected: 62 inline bool create() { return true; }62 inline bool create() { return Synchronisable::create(); } 63 63 void registerAllVariables(); 64 64 -
code/branches/network/src/orxonox/objects/weapon/BulletManager.h
r1209 r1418 60 60 61 61 protected: 62 inline bool create() { return true; }62 inline bool create() { return Synchronisable::create(); } 63 63 void registerAllVariables(); 64 64
Note: See TracChangeset
for help on using the changeset viewer.