101 #define ROB_PIT_MENU 1 107 typedef struct RobotItf { 122 #define ROB_SECT_ROBOTS "Robots" 124 #define ROB_LIST_INDEX "index" 126 #define ROB_ATTR_NAME "name" 127 #define ROB_ATTR_TEAM "team" 128 #define ROB_ATTR_DESC "desc" 129 #define ROB_ATTR_AUTHOR "author" 130 #define ROB_ATTR_CAR "car name" 131 #define ROB_ATTR_CATEGORY "category" 132 #define ROB_ATTR_RACENUM "race number" 133 #define ROB_ATTR_RED "red" 134 #define ROB_ATTR_GREEN "green" 135 #define ROB_ATTR_BLUE "blue" 137 #define ROB_ATTR_TYPE "type" 139 #define ROB_VAL_HUMAN "human" 140 #define ROB_VAL_ROBOT "robot" 142 #define ROB_ATTR_LEVEL "skill level" 144 #define ROB_VAL_ROOKIE "rookie" 145 #define ROB_VAL_AMATEUR "amateur" 146 #define ROB_VAL_SEMI_PRO "semi-pro" 147 #define ROB_VAL_PRO "pro" void(* tfRbEndRace)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, teardown after race, this is currently NOT called by TO...
int(* tfRbPitCmd)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, handing over pit stop commands.
cars situation used to inform the GUI and the drivers
void(* tfRbDrive)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, driving the car.
struct RobotItf tRobotItf
Interface Structure for Robots.
This is the race information structures.
int track(tModInfo *modInfo)
void(* tfRbNewRace)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, initialization for new race.
void(* tfRbNewTrack)(int index, tTrack *track, void *carHandle, void **myCarSettings, tSituation *s)
Callback function prototype for robot module, give the robot the track view, called for every track c...
void(* tfRbShutdown)(int index)
Callback function prototype for robot module, shutdown robot instance for given index.