Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

soccertypes.h File Reference

#include <string>

Include dependency graph for soccertypes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STR_PM_BeforeKickOff   "BeforeKickOff"
 mapping from TPlayMode to string constants
#define STR_PM_KickOff_Left   "KickOff_Left"
#define STR_PM_KickOff_Right   "KickOff_Right"
#define STR_PM_PlayOn   "PlayOn"
#define STR_PM_KickIn_Left   "KickIn_Left"
#define STR_PM_KickIn_Right   "KickIn_Right"
#define STR_PM_CORNER_KICK_LEFT   "corner_kick_left"
#define STR_PM_CORNER_KICK_RIGHT   "corner_kick_right"
#define STR_PM_GOAL_KICK_LEFT   "goal_kick_left"
#define STR_PM_GOAL_KICK_RIGHT   "goal_kick_right"
#define STR_PM_OFFSIDE_LEFT   "offside_left"
#define STR_PM_OFFSIDE_RIGHT   "offside_right"
#define STR_PM_GameOver   "GameOver"
#define STR_PM_Goal_Left   "Goal_Left"
#define STR_PM_Goal_Right   "Goal_Right"
#define STR_PM_FREE_KICK_LEFT   "free_kick_left"
#define STR_PM_FREE_KICK_RIGHT   "free_kick_right"
#define STR_PM_Unknown   "unknown"

Typedefs

typedef float TTime

Enumerations

enum  TPlayMode {
  PM_BeforeKickOff = 0, PM_KickOff_Left = 1, PM_KickOff_Right = 2, PM_PlayOn,
  PM_KickIn_Left, PM_KickIn_Right, PM_CORNER_KICK_LEFT, PM_CORNER_KICK_RIGHT,
  PM_GOAL_KICK_LEFT, PM_GOAL_KICK_RIGHT, PM_OFFSIDE_LEFT, PM_OFFSIDE_RIGHT,
  PM_GameOver, PM_Goal_Left, PM_Goal_Right, PM_FREE_KICK_LEFT,
  PM_FREE_KICK_RIGHT, PM_NONE
}
 this file contains types common to all plugins in the soccer simulation More...
enum  TTeamIndex { TI_NONE = 0, TI_LEFT = 1, TI_RIGHT = 2 }
enum  TGameHalf { GH_NONE = 0, GH_FIRST = 1, GH_SECOND = 2 }


Define Documentation

#define STR_PM_BeforeKickOff   "BeforeKickOff"
 

mapping from TPlayMode to string constants

Definition at line 55 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_CORNER_KICK_LEFT   "corner_kick_left"
 

Definition at line 61 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_CORNER_KICK_RIGHT   "corner_kick_right"
 

Definition at line 62 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_FREE_KICK_LEFT   "free_kick_left"
 

Definition at line 70 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_FREE_KICK_RIGHT   "free_kick_right"
 

Definition at line 71 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_GameOver   "GameOver"
 

Definition at line 67 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_GOAL_KICK_LEFT   "goal_kick_left"
 

Definition at line 63 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_GOAL_KICK_RIGHT   "goal_kick_right"
 

Definition at line 64 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_Goal_Left   "Goal_Left"
 

Definition at line 68 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_Goal_Right   "Goal_Right"
 

Definition at line 69 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_KickIn_Left   "KickIn_Left"
 

Definition at line 59 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_KickIn_Right   "KickIn_Right"
 

Definition at line 60 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_KickOff_Left   "KickOff_Left"
 

Definition at line 56 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_KickOff_Right   "KickOff_Right"
 

Definition at line 57 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_OFFSIDE_LEFT   "offside_left"
 

Definition at line 65 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_OFFSIDE_RIGHT   "offside_right"
 

Definition at line 66 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_PlayOn   "PlayOn"
 

Definition at line 58 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str(), and TrainerCommandParser::TrainerCommandParser().

#define STR_PM_Unknown   "unknown"
 

Definition at line 72 of file soccertypes.h.

Referenced by SoccerBase::PlayMode2Str().


Typedef Documentation

typedef float TTime
 

Definition at line 81 of file soccertypes.h.


Enumeration Type Documentation

enum TGameHalf
 

Enumerator:
GH_NONE 
GH_FIRST 
GH_SECOND 

Definition at line 83 of file soccertypes.h.

enum TPlayMode
 

this file contains types common to all plugins in the soccer simulation

Enumerator:
PM_BeforeKickOff  before_kick_off: before the match
PM_KickOff_Left  kick_off_left: kick off for the left team
PM_KickOff_Right  kick_off_right: kick off for the right team
PM_PlayOn  play_on: regular game play
PM_KickIn_Left 
PM_KickIn_Right 
PM_CORNER_KICK_LEFT  corner_kick_l: corner kick left team
PM_CORNER_KICK_RIGHT  corner_kick_r: corner kick right team
PM_GOAL_KICK_LEFT  goal_kick_l: goal kick for left team
PM_GOAL_KICK_RIGHT  goal_kick_r: goal kick for right team
PM_OFFSIDE_LEFT  offside_l: offside for left team
PM_OFFSIDE_RIGHT  offside_r: offside for right team
PM_GameOver 
PM_Goal_Left 
PM_Goal_Right 
PM_FREE_KICK_LEFT  free_kick_l: free kick for left team
PM_FREE_KICK_RIGHT  free_kick_r: free kick for right team
PM_NONE  no play mode, this must be the last entry

Definition at line 31 of file soccertypes.h.

enum TTeamIndex
 

Enumerator:
TI_NONE 
TI_LEFT 
TI_RIGHT 

Definition at line 74 of file soccertypes.h.


Generated on Thu Apr 6 15:35:26 2006 for rcssserver3d by  doxygen 1.4.4