22#include <singleplayer.h>
23#include <driverconfig.h>
70 "The Open Racing Car Simulator",
84 "Configure Players",
"Players configuration menu",
89 "Options",
"Configure",
void * TorcsDriverMenuInit(void *prevMenu)
int GfuiMenuButtonCreateAction(void *scr, const char *text, const char *tip, const tGfuiAction &onpush)
Add a menu button with a focus tip.
void * GfuiScreenCreateExAction(float *bgColor, const tGfuiAction &onActivate, const tGfuiAction &onDeactivate, int mouseAllowed)
Create a screen.
void GfuiMenuDefaultKeysAdd(void *scr)
Add the default menu keyboard callback to a screen.
int GfuiTitleCreate(void *scr, const char *text, int maxlen)
Add a Title to the screen.
void GfuiScreenAddBgImg(void *scr, const char *filename)
Add an image background to a screen.
int GfuiLabelCreate(void *scr, const char *text, int font, int x, int y, int align, int maxlen)
Add a label to a screen.
int GfuiMenuBackQuitButtonCreateAction(void *scr, const char *text, const char *tip, const tGfuiAction &onpush)
Add the "Back" or "Quit" button at the bottom of the menu screen.
void GfuiScreenActivate(void *screen)
Activate a screen and make it current.
int GfModUnloadList(tModList **modlist)
Unload the DLLs of a list.
int TorcsMainMenuRun(void)
static void TorcsMainMenuActivate(void)
tModList * RacemanModLoaded
int TorcsMainMenuInit(void)
void * ReSinglePlayerInit(void *precMenu)
struct ModList tModList
list of module interfaces
std::function< void()> tGfuiAction