Changeset 7753 for code/branches/network4/src/orxonox
- Timestamp:
- Dec 10, 2010, 5:07:02 PM (14 years ago)
- Location:
- code/branches/network4/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network4/src/orxonox/gametypes/Gametype.cc
r7284 r7753 79 79 else 80 80 this->scoreboard_ = 0; 81 82 /* HACK HACK HACK */ 83 this->dedicatedAddBots_ = createConsoleCommand( "dedicatedAddBots", createExecutor( createFunctor(&Gametype::addBots, this) ) ); 84 this->dedicatedKillBots_ = createConsoleCommand( "dedicatedKillBots", createExecutor( createFunctor(&Gametype::killBots, this) ) ); 85 /* HACK HACK HACK */ 81 86 } 82 87 … … 86 91 { 87 92 this->gtinfo_->destroy(); 93 if( this->dedicatedAddBots_ ) 94 delete this->dedicatedAddBots_; 95 if( this->dedicatedKillBots_ ) 96 delete this->dedicatedKillBots_; 88 97 } 89 98 } -
code/branches/network4/src/orxonox/gametypes/Gametype.h
r7284 r7753 184 184 // Config Values 185 185 std::string scoreboardTemplate_; 186 187 /* HACK HACK HACK */ 188 ConsoleCommand* dedicatedAddBots_; 189 ConsoleCommand* dedicatedKillBots_; 190 /* HACK HACK HACK */ 186 191 }; 187 192 } -
code/branches/network4/src/orxonox/worldentities/ControllableEntity.cc
r7495 r7753 87 87 this->setPriority( Priority::VeryHigh ); 88 88 this->registerVariables(); 89 COUT(0) << "CE creator" << endl;90 if( GameMode::isMaster() )91 callMemberNetworkFunction(ControllableEntity, fire, this->getObjectID(), 1, 0);92 89 } 93 90 … … 244 241 void ControllableEntity::fire(unsigned int firemode) 245 242 { 246 COUT(0) << "fire........." << endl;247 243 if(GameMode::isMaster()) 248 244 {
Note: See TracChangeset
for help on using the changeset viewer.