Pit menu
More...
#include <stdlib.h>#include <tgfclient.h>#include <car.h>#include <portability.h>#include <racescreens.h>
Go to the source code of this file.
Functions | |
| static void | rmClampPitFuel (void) |
| static void | rmClampPitRepair (void) |
| static void | rmClampPitCmd (void) |
| static void | rmSetFuelText (void) |
| static void | rmSetRepairText (void) |
| static void | rmUpdtFuel (void) |
| static void | rmUpdtRepair (void) |
| static void | rmHideButtonTips (void) |
| static void | rmShowButtonTip (int buttonId, int tipLabelId, int disabledTipLabelId, bool available) |
| static void | rmServiceFocus (void) |
| static void | rmStopAndGoFocus (void) |
| static void | rmSetupFocus (void) |
| static void | rmStopAndGo (void) |
| static void | rmService (void) |
| static void | changeTireState (int i) |
| void | RmPitMenuStartAction (tCarElt *car, tRmInfo *reInfo, const tGfuiAction &callback) |
| Pit menu. | |
| void | RmPitMenuStart (tCarElt *car, tRmInfo *reInfo, void *userdata, tfuiCallback callback) |
Variables | |
| static void * | menuHandle = NULL |
| static int | fuelId |
| static int | repairId |
| static tCarElt * | rmCar |
| static tRmInfo * | rmInfo |
| static int | tireChangeId |
| static int | serviceButtonId = -1 |
| static int | stopAndGoButtonId = -1 |
| static int | setupButtonId = -1 |
| static int | serviceTipLabelId = -1 |
| static int | stopAndGoTipLabelId = -1 |
| static int | stopAndGoDisabledTipLabelId = -1 |
| static int | setupTipLabelId = -1 |
| static int | setupDisabledTipLabelId = -1 |
| static bool | stopAndGoAvailable = false |
| static bool | setupAvailable = false |
| static float | LabelColor [] = {1.0, 0.0, 1.0, 1.0} |
| static float | DisabledTipColor [] = {1.0, 0.0, 0.0, 1.0} |
| static const char * | ServiceTipMessage = "Perform selected pit service" |
| static const char * | StopAndGoTipMessage = "Serve current Stop & Go penalty" |
| static const char * | NoStopAndGoMessage = "No current Stop & Go penalty to serve" |
| static const char * | SetupTipMessage = "Change car setup" |
| static const char * | SetupDisabledMessage = "Only available in practice and qualifying sessions" |
| static const char * | tireChangeLabel [] |
| static const tCarPitCmd::TireChange | tireChangeList [] |
| static const int | nbtireChangeOptions = sizeof(tireChangeLabel) / sizeof(tireChangeLabel[0]) |
| static int | currentTireChangeOption = 0 |
| static tGfuiAction | rmCallback |
Pit menu
Definition in file pitmenu.cpp.
|
static |
|
static |
|
static |
Definition at line 71 of file pitmenu.cpp.
|
static |
Definition at line 89 of file pitmenu.cpp.
|
static |
| void RmPitMenuStart | ( | tCarElt * | car, |
| tRmInfo * | reInfo, | ||
| void * | userdata, | ||
| tfuiCallback | callback ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 210 of file pitmenu.cpp.
|
static |
|
static |
|
static |
|
static |
Definition at line 68 of file pitmenu.cpp.
|
static |
Definition at line 51 of file pitmenu.cpp.
|
static |
Definition at line 34 of file pitmenu.cpp.
|
static |
Definition at line 50 of file pitmenu.cpp.
|
static |
Definition at line 33 of file pitmenu.cpp.
|
static |
Definition at line 67 of file pitmenu.cpp.
|
static |
Definition at line 54 of file pitmenu.cpp.
|
static |
Definition at line 35 of file pitmenu.cpp.
|
static |
Definition at line 207 of file pitmenu.cpp.
|
static |
Definition at line 36 of file pitmenu.cpp.
|
static |
Definition at line 37 of file pitmenu.cpp.
|
static |
Definition at line 39 of file pitmenu.cpp.
|
static |
Definition at line 42 of file pitmenu.cpp.
|
static |
Definition at line 52 of file pitmenu.cpp.
|
static |
Definition at line 48 of file pitmenu.cpp.
|
static |
Definition at line 41 of file pitmenu.cpp.
|
static |
Definition at line 56 of file pitmenu.cpp.
|
static |
Definition at line 46 of file pitmenu.cpp.
|
static |
Definition at line 45 of file pitmenu.cpp.
|
static |
Definition at line 55 of file pitmenu.cpp.
|
static |
Definition at line 47 of file pitmenu.cpp.
|
static |
Definition at line 40 of file pitmenu.cpp.
|
static |
Definition at line 44 of file pitmenu.cpp.
|
static |
Definition at line 43 of file pitmenu.cpp.
|
static |
Definition at line 53 of file pitmenu.cpp.
|
static |
Definition at line 38 of file pitmenu.cpp.
|
static |
Definition at line 59 of file pitmenu.cpp.
|
static |
Definition at line 63 of file pitmenu.cpp.