Convert tabs to spaces
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
07a3c4f3d5
commit
d0be1fc0a2
@ -41,19 +41,14 @@ class Controller;
|
|||||||
class SoccerWorld : public WorldWithRank
|
class SoccerWorld : public WorldWithRank
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
/** Number of goals each team scored
|
/** Number of goals each team scored */
|
||||||
*/
|
|
||||||
int m_team_goals[NB_SOCCER_TEAMS];
|
int m_team_goals[NB_SOCCER_TEAMS];
|
||||||
/** Number of goals needed to win
|
/** Number of goals needed to win */
|
||||||
*/
|
int m_goal_target;
|
||||||
int m_goal_target;
|
|
||||||
/** Whether or not goals can be scored (they are disabled when a point is scored
|
/** Whether or not goals can be scored (they are disabled when a point is scored
|
||||||
and re-enabled when the next game can be played)*/
|
and re-enabled when the next game can be played)*/
|
||||||
bool m_can_score_points;
|
bool m_can_score_points;
|
||||||
SFXBase *m_goal_sound;
|
SFXBase *m_goal_sound;
|
||||||
|
|
||||||
/** Team karts */
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -72,7 +67,7 @@ public:
|
|||||||
virtual bool useFastMusicNearEnd() const { return false; }
|
virtual bool useFastMusicNearEnd() const { return false; }
|
||||||
virtual void getKartsDisplayInfo(
|
virtual void getKartsDisplayInfo(
|
||||||
std::vector<RaceGUIBase::KartIconDisplayInfo> *info);
|
std::vector<RaceGUIBase::KartIconDisplayInfo> *info);
|
||||||
int getScore(unsigned int i);
|
int getScore(unsigned int i);
|
||||||
virtual bool raceHasLaps(){ return false; }
|
virtual bool raceHasLaps(){ return false; }
|
||||||
virtual void moveKartAfterRescue(AbstractKart* kart);
|
virtual void moveKartAfterRescue(AbstractKart* kart);
|
||||||
|
|
||||||
@ -80,15 +75,15 @@ public:
|
|||||||
|
|
||||||
virtual void update(float dt);
|
virtual void update(float dt);
|
||||||
|
|
||||||
virtual void countdownReachedZero();
|
virtual void countdownReachedZero();
|
||||||
|
|
||||||
void onCheckGoalTriggered(bool first_goal);
|
void onCheckGoalTriggered(bool first_goal);
|
||||||
int getTeamLeader(unsigned int i);
|
int getTeamLeader(unsigned int i);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void initKartList();
|
void initKartList();
|
||||||
protected:
|
protected:
|
||||||
virtual AbstractKart *createKart(const std::string &kart_ident, int index,
|
virtual AbstractKart *createKart(const std::string &kart_ident, int index,
|
||||||
int local_player_id, int global_player_id,
|
int local_player_id, int global_player_id,
|
||||||
RaceManager::KartType type);
|
RaceManager::KartType type);
|
||||||
}; // SoccerWorld
|
}; // SoccerWorld
|
||||||
|
Loading…
Reference in New Issue
Block a user