Changeset 5917 for code/branches/core5
- Timestamp:
- Oct 9, 2009, 4:44:50 PM (15 years ago)
- Location:
- code/branches/core5/src/orxonox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/Test.cc
r5738 r5917 63 63 setConfigValues(); 64 64 registerVariables(); 65 set ObjectMode(0x3);65 setSyncMode(0x3); 66 66 } 67 67 -
code/branches/core5/src/orxonox/collisionshapes/WorldEntityCollisionShape.cc
r5738 r5917 43 43 this->worldEntityOwner_ = creator; 44 44 // suppress synchronisation 45 this->set ObjectMode(0x0);45 this->setSyncMode(0x0); 46 46 } 47 47 -
code/branches/core5/src/orxonox/gametypes/Gametype.cc
r5827 r5917 33 33 #include "core/ConfigValueIncludes.h" 34 34 #include "core/GameMode.h" 35 #include "core/ConsoleCommand.h" 35 36 36 37 #include "infos/PlayerInfo.h" … … 78 79 else 79 80 this->scoreboard_ = 0; 81 82 /* HACK HACK HACK */ 83 this->hackAddBots_ = createConsoleCommand( createFunctor(&Gametype::addBots, this), "hackAddBots"); 84 this->hackKillBots_ = createConsoleCommand( createFunctor(&Gametype::killBots, this), "hackKillBots"); 85 CommandExecutor::addConsoleCommandShortcut( this->hackAddBots_ ); 86 CommandExecutor::addConsoleCommandShortcut( this->hackKillBots_ ); 87 /* HACK HACK HACK */ 80 88 } 81 89 … … 83 91 { 84 92 if (this->isInitialized()) 93 { 85 94 this->gtinfo_->destroy(); 95 if( this->hackAddBots_ ) 96 delete this->hackAddBots_; 97 if( this->hackKillBots_ ) 98 delete this->hackKillBots_; 99 } 86 100 } 87 101 -
code/branches/core5/src/orxonox/gametypes/Gametype.h
r5806 r5917 184 184 // Config Values 185 185 std::string scoreboardTemplate_; 186 187 /* HACK HACK HACK */ 188 ConsoleCommand* hackAddBots_; 189 ConsoleCommand* hackKillBots_; 190 /* HACK HACK HACK */ 186 191 }; 187 192 } -
code/branches/core5/src/orxonox/items/MultiStateEngine.cc
r5801 r5917 91 91 if (this->getShip()->hasLocalController()) 92 92 { 93 this->set ObjectMode(ObjectDirection::Bidirectional);93 this->setSyncMode(ObjectDirection::Bidirectional); 94 94 95 95 const Vector3& direction = this->getDirection(); -
code/branches/core5/src/orxonox/weaponsystem/WeaponSlot.cc
r5738 r5917 46 46 this->weapon_ = 0; 47 47 48 this->set ObjectMode(0x0);48 this->setSyncMode(0x0); 49 49 } 50 50
Note: See TracChangeset
for help on using the changeset viewer.