Changeset 11982
- Timestamp:
- May 24, 2018, 1:56:22 PM (7 years ago)
- Location:
- code/branches/RacingBots_FS18
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/RacingBots_FS18/data/levels/newnewnewspacerace.oxw
r11977 r11982 538 538 539 539 <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/> 540 <PickupSpawner pickup=small boostpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>540 <PickupSpawner pickup=smallspeedpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/> 541 541 542 542 <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/> -
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRace.cc
r11977 r11982 142 142 } 143 143 144 std::string message("Use headphones to hear the countdown! It is useful to start with aboost!");144 std::string message("Use headphones to hear the countdown! Press W for forward acceleration, W+space bar for boost!"); 145 145 146 146 this->getGametypeInfo()->sendAnnounceMessage(message); -
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.cc
r11977 r11982 107 107 return returnVec; 108 108 } 109 void SpaceRaceController::endtheGame() const {109 /*void SpaceRaceController::endtheGame() const { 110 110 SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype()); 111 111 assert(gametype); … … 114 114 gametype->end(); 115 115 116 } 116 }*/ 117 117 /* 118 118 * called from 'findStaticCheckpoints' … … 186 186 187 187 } 188 if(minNextRaceCheckPoint == nullptr) { endtheGame();orxout()<<"nullptr found @181 SpaceRaceController" << endl;}188 if(minNextRaceCheckPoint == nullptr) { orxout()<<"nullptr found @181 SpaceRaceController" << endl;} 189 189 return minNextRaceCheckPoint; 190 190 } … … 252 252 if (checkpoint->getCheckpointIndex() == index){ 253 253 //if(checkpoint == nullptr) orxout()<<"returned nullptr @line 234 SpaceRaceController"<<endl; 254 orxout()<< "index of the checkpoint "<< index <<endl;254 //orxout()<< "index of the checkpoint "<< index <<endl; 255 255 res = checkpoint; 256 256 return res; 257 257 } 258 258 } 259 if(index>2 )260 this->endtheGame(); 259 /* if(index>2 ) 260 this->endtheGame();*/ 261 261 262 262 return res; -
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.h
r11977 r11982 58 58 RaceCheckPoint* nextPointFind(RaceCheckPoint*); 59 59 RaceCheckPoint* adjustNextPoint(); 60 void endtheGame() const;60 //void endtheGame() const; 61 61 62 62 std::vector<RaceCheckPoint*> findStaticCheckpoints(RaceCheckPoint*, const std::vector<RaceCheckPoint*>&);
Note: See TracChangeset
for help on using the changeset viewer.