struct IS_PIT // PIT stop (stop at pit garage)
{
char PIT [4];
word LapsDone; // laps completed
word Flags; // player flags
byte Penalty; // current penalty value (see below)
byte NumStops; // number of pit stops
byte Sp2;
byte Sp3;
byte Tyres [4]; // tyres changed
unsigned Work; // pit work (see below)
unsigned Spare;
byte PlyNum; // player's number
byte UniqueId; // player's unique id
word VerifyId;
};
Pit work flags
--------------
PSE_NOTHING 1
PSE_STOP 2
PSE_FR_DAM 4
PSE_FR_WHL 8
PSE_LE_FR_DAM etc...
PSE_LE_FR_WHL
PSE_RI_FR_DAM
PSE_RI_FR_WHL
PSE_RE_DAM
PSE_RE_WHL
PSE_LE_RE_DAM
PSE_LE_RE_WHL
PSE_RI_RE_DAM
PSE_RI_RE_WHL
PSE_BODY_MINOR
PSE_BODY_MAJOR
PSE_SETUP
PSE_REFUEL
Pit lane facts
--------------
PITLANE_EXIT 0 // left pit lane
PITLANE_ENTER 1 // entered pit lane
PITLANE_NO_PURPOSE 2 // entered for no purpose
PITLANE_DT 3 // entered for drive-through
PITLANE_SG 4 // entered for stop-go
{
char PIT [4];
word LapsDone; // laps completed
word Flags; // player flags
byte Penalty; // current penalty value (see below)
byte NumStops; // number of pit stops
byte Sp2;
byte Sp3;
byte Tyres [4]; // tyres changed
unsigned Work; // pit work (see below)
unsigned Spare;
byte PlyNum; // player's number
byte UniqueId; // player's unique id
word VerifyId;
};
Pit work flags
--------------
PSE_NOTHING 1
PSE_STOP 2
PSE_FR_DAM 4
PSE_FR_WHL 8
PSE_LE_FR_DAM etc...
PSE_LE_FR_WHL
PSE_RI_FR_DAM
PSE_RI_FR_WHL
PSE_RE_DAM
PSE_RE_WHL
PSE_LE_RE_DAM
PSE_LE_RE_WHL
PSE_RI_RE_DAM
PSE_RI_RE_WHL
PSE_BODY_MINOR
PSE_BODY_MAJOR
PSE_SETUP
PSE_REFUEL
Pit lane facts
--------------
PITLANE_EXIT 0 // left pit lane
PITLANE_ENTER 1 // entered pit lane
PITLANE_NO_PURPOSE 2 // entered for no purpose
PITLANE_DT 3 // entered for drive-through
PITLANE_SG 4 // entered for stop-go