torcs - 1.2.2

src/interfaces/robot.h File Reference


Detailed Description

Author:
Eric Espie
Version:
Id
robot.h,v 1.8 2003/05/18 20:41:25 torcs Exp

#include <raceman.h>

Include dependency graph for robot.h:

Include dependency graph

Go to the source code of this file.

Compounds

struct  RobotItf
 Interface for robots. More...


Defines

#define ROB_IDENT   0
#define ROB_PIT_IM   0
 Immediate return from pit command.

#define ROB_PIT_MENU   1
 Call the interactive menu for pit command.

#define ROB_SECT_ROBOTS   "Robots"
#define ROB_LIST_INDEX   "index"
#define ROB_ATTR_NAME   "name"
#define ROB_ATTR_DESC   "desc"
#define ROB_ATTR_AUTHOR   "author"
#define ROB_ATTR_CAR   "car name"
#define ROB_ATTR_CATEGORY   "category"
#define ROB_ATTR_RACENUM   "race number"
#define ROB_ATTR_RED   "red"
#define ROB_ATTR_GREEN   "green"
#define ROB_ATTR_BLUE   "blue"
#define ROB_ATTR_TYPE   "type"
#define ROB_VAL_HUMAN   "human"
#define ROB_VAL_ROBOT   "robot"
#define ROB_ATTR_LEVEL   "skill level"
#define ROB_VAL_ROOKIE   "rookie"
#define ROB_VAL_AMATEUR   "amateur"
#define ROB_VAL_SEMI_PRO   "semi-pro"
#define ROB_VAL_PRO   "pro"

Typedefs

typedef void(* tfRbNewTrack )(int index, tTrack *track, void *carHandle, void **myCarSettings, tSituation *s)
 Callback prototype.

typedef void(* tfRbNewRace )(int index, tCarElt *car, tSituation *s)
 Callback prototype.

typedef void(* tfRbEndRace )(int index, tCarElt *car, tSituation *s)
 Callback prototype.

typedef void(* tfRbDrive )(int index, tCarElt *car, tSituation *s)
 Callback prototype.

typedef void(* tfRbShutdown )(int index)
 Callback prototype.

typedef int(* tfRbPitCmd )(int index, tCarElt *car, tSituation *s)
 Callback prototype.

typedef RobotItf tRobotItf
 Interface for robots.


Define Documentation

#define ROB_ATTR_AUTHOR   "author"
 

#define ROB_ATTR_BLUE   "blue"
 

#define ROB_ATTR_CAR   "car name"
 

#define ROB_ATTR_CATEGORY   "category"
 

#define ROB_ATTR_DESC   "desc"
 

#define ROB_ATTR_GREEN   "green"
 

#define ROB_ATTR_LEVEL   "skill level"
 

#define ROB_ATTR_NAME   "name"
 

#define ROB_ATTR_RACENUM   "race number"
 

#define ROB_ATTR_RED   "red"
 

#define ROB_ATTR_TYPE   "type"
 

#define ROB_IDENT   0
 

#define ROB_LIST_INDEX   "index"
 

#define ROB_PIT_IM   0
 

Immediate return from pit command.

#define ROB_PIT_MENU   1
 

Call the interactive menu for pit command.

#define ROB_SECT_ROBOTS   "Robots"
 

#define ROB_VAL_AMATEUR   "amateur"
 

#define ROB_VAL_HUMAN   "human"
 

#define ROB_VAL_PRO   "pro"
 

#define ROB_VAL_ROBOT   "robot"
 

#define ROB_VAL_ROOKIE   "rookie"
 

#define ROB_VAL_SEMI_PRO   "semi-pro"
 


Typedef Documentation

typedef void(* tfRbDrive)(int index, tCarElt *car, tSituation *s)
 

Callback prototype.

typedef void(* tfRbEndRace)(int index, tCarElt *car, tSituation *s)
 

Callback prototype.

typedef void(* tfRbNewRace)(int index, tCarElt *car, tSituation *s)
 

Callback prototype.

typedef void(* tfRbNewTrack)(int index, tTrack *track, void *carHandle, void **myCarSettings, tSituation *s)
 

Callback prototype.

typedef int(* tfRbPitCmd)(int index, tCarElt* car, tSituation *s)
 

Callback prototype.

typedef void(* tfRbShutdown)(int index)
 

Callback prototype.


Generated at Thu Feb 26 21:52:32 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.