Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2012, 10:34:48 PM (12 years ago)
Author:
landauf
Message:

cleaned up new SpaceRace classes (no functional code-changes):

  • formatting
  • naming of variables, arguments, functions
  • unused and duplicate code
  • public member variables
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Gametype.cc

    r9016 r9260  
    123123        if (this->gtinfo_->isStartCountdownRunning() && !this->gtinfo_->hasStarted())
    124124            this->gtinfo_->countdownStartCountdown(dt);
    125                        
     125
    126126        if (!this->gtinfo_->hasStarted())
    127127        {
     
    131131                if(it->first->isHumanPlayer() && it->first->isReadyToSpawn())
    132132                    this->gtinfo_->playerReadyToSpawn(it->first);
    133                    
    134                
    135             }
     133            }
     134
    136135            this->checkStart();
    137136        }
     
    144143    void Gametype::start()
    145144    {
    146          
    147145        this->addBots(this->numberOfBots_);
    148146
     
    150148
    151149        this->spawnPlayersIfRequested();
    152        
    153        
    154150    }
    155151
     
    401397                            hashumanplayers = true;
    402398                    }
    403                          
     399
    404400                    if (allplayersready && hashumanplayers)
    405401                    {
     
    413409                }
    414410            }
    415            
    416411        }
    417412    }
Note: See TracChangeset for help on using the changeset viewer.