Changeset 3088 for code/trunk/src
- Timestamp:
- May 27, 2009, 4:09:13 PM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/synchronisable/Synchronisable.cc
r3084 r3088 144 144 if (!id) 145 145 { 146 for(int i = 0; i<1 00; i++)146 for(int i = 0; i<160; i++) 147 147 COUT(0) << "classid: " << i << " identifier: " << ClassByID(i) << endl; 148 148 COUT(0) << "Assertion failed: id" << std::endl; … … 251 251 this->classID = this->getIdentifier()->getNetworkID(); 252 252 253 assert(ClassByID(this->classID)); 253 254 assert(this->classID==this->getIdentifier()->getNetworkID()); 254 255 std::vector<SynchronisableVariableBase*>::iterator i; -
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.cc
r3053 r3088 48 48 this->maxTextureIndex_ = 8; 49 49 this->textureTimer_.setTimer(0.01, true, this, createExecutor(createFunctor(&LightningGunProjectile::changeTexture))); 50 51 registerVariables(); 52 } 53 54 void LightningGunProjectile::registerVariables() 55 { 56 registerVariable(this->materialBase_); 50 57 } 51 58 -
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.h
r3053 r3088 52 52 Timer<LightningGunProjectile> textureTimer_; 53 53 std::string materialBase_; 54 private: 55 void registerVariables(); 54 56 }; 55 57 } -
code/trunk/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3073 r3088 45 45 namespace orxonox 46 46 { 47 CreateFactory(Projectile); 48 47 49 Projectile::Projectile(BaseObject* creator) : MovableEntity(creator) 48 50 { -
code/trunk/src/orxonox/overlays/hud/HUDTimer.cc
r3033 r3088 55 55 56 56 Gametype* gametype = this->getGametype(); 57 58 if (gametype->getTimerIsActive())57 58 if(gametype) 59 59 { 60 this->setCaption(convertToString((int)gametype->getTime() + 1)); 60 if (gametype->getTimerIsActive()) 61 { 62 this->setCaption(convertToString((int)gametype->getTime() + 1)); 63 } 61 64 } 62 65 }
Note: See TracChangeset
for help on using the changeset viewer.