- Timestamp:
- Oct 27, 2008, 11:44:20 AM (16 years ago)
- Location:
- code/branches/objecthierarchy
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/gametypes/Gametype.cc
r2019 r2020 143 143 unsigned int randomspawn = (unsigned int)rnd(this->spawnpoints_.size()); 144 144 unsigned int index = 0; 145 for (std::set<SpawnPoint*>:: iterator it = this->spawnpoints_.begin(); it != this->spawnpoints_.end(); ++it)145 for (std::set<SpawnPoint*>::const_iterator it = this->spawnpoints_.begin(); it != this->spawnpoints_.end(); ++it) 146 146 { 147 147 if (index == randomspawn) … … 156 156 void Gametype::assignDefaultPawnsIfNeeded() const 157 157 { 158 for (std::set<PlayerInfo*>:: iterator it = this->players_.begin(); it != this->players_.end(); ++it)158 for (std::set<PlayerInfo*>::const_iterator it = this->players_.begin(); it != this->players_.end(); ++it) 159 159 { 160 160 if (!(*it)->getControllableEntity() && (!(*it)->isReadyToSpawn() || !this->bStarted_)) -
code/branches/objecthierarchy/src/util/String.cc
r2019 r2020 39 39 #include "Convert.h" 40 40 #include "Math.h" 41 42 std::string BLANKSTRING(""); 41 43 42 44 std::string getUniqueNumberString() -
code/branches/objecthierarchy/src/util/String.h
r2019 r2020 40 40 #include <sstream> 41 41 42 _UtilExport static const std::string BLANKSTRING = "";42 extern _UtilExport std::string BLANKSTRING; 43 43 _UtilExport std::string getUniqueNumberString(); 44 44 -
code/branches/objecthierarchy/visual_studio/vc8/orxonox.vcproj
r2013 r2020 155 155 </File> 156 156 <File 157 RelativePath="..\..\src\orxonox\LevelManager.cc" 158 > 159 </File> 160 <File 157 161 RelativePath="..\..\src\orxonox\Main.cc" 158 162 > … … 214 218 </File> 215 219 <File 220 RelativePath="..\..\src\orxonox\objects\Scene.cc" 221 > 222 </File> 223 <File 216 224 RelativePath="..\..\src\orxonox\objects\Script.cc" 217 225 > … … 242 250 <File 243 251 RelativePath="..\..\src\orxonox\objects\worldentities\PositionableEntity.cc" 252 > 253 </File> 254 <File 255 RelativePath="..\..\src\orxonox\objects\worldentities\SpawnPoint.cc" 244 256 > 245 257 </File> … … 268 280 Name="infos" 269 281 > 282 <File 283 RelativePath="..\..\src\orxonox\objects\infos\HumanPlayer.cc" 284 > 285 </File> 270 286 <File 271 287 RelativePath="..\..\src\orxonox\objects\infos\Info.cc" … … 507 523 </File> 508 524 <File 525 RelativePath="..\..\src\orxonox\LevelManager.h" 526 > 527 </File> 528 <File 509 529 RelativePath="..\..\src\orxonox\OrxonoxPrereqs.h" 510 530 > … … 550 570 </File> 551 571 <File 572 RelativePath="..\..\src\orxonox\objects\Scene.h" 573 > 574 </File> 575 <File 552 576 RelativePath="..\..\src\orxonox\objects\Script.h" 553 577 > … … 578 602 <File 579 603 RelativePath="..\..\src\orxonox\objects\worldentities\PositionableEntity.h" 604 > 605 </File> 606 <File 607 RelativePath="..\..\src\orxonox\objects\worldentities\SpawnPoint.h" 580 608 > 581 609 </File>
Note: See TracChangeset
for help on using the changeset viewer.