TORCS  1.3.9
The Open Racing Car Simulator
driverselect.cpp File Reference

Driver selection screen. More...

#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include <tgfclient.h>
#include <track.h>
#include <car.h>
#include <raceman.h>
#include <robot.h>
#include <racescreens.h>
#include <portability.h>
Include dependency graph for driverselect.cpp:

Go to the source code of this file.

Classes

struct  DrvElt
 

Macros

#define B_BASE   380
 
#define B_HT   30
 

Typedefs

typedef struct DrvElt tDrvElt
 

Functions

 GF_TAILQ_HEAD (DrvListHead, tDrvElt)
 
static void rmFreeDrvList (void)
 
static void rmdsActivate (void *)
 
static void rmdsDeactivate (void *screen)
 
static void rmdsSetFocus (void *)
 
static void rmdsSelect (void *)
 
static void rmMove (void *vd)
 
static void rmdsClickOnDriver (void *)
 
static void rmSelectDeselect (void *)
 
static void rmdsAddKeys (void)
 
void RmDriversSelect (void *vs)
 Drivers list selection, the race manager parameter set is handed over in vs, tRmDrvSelect.param. More...
 

Variables

static void * scrHandle
 
static tRmDrvSelectds
 
static int selectedScrollList
 
static int unselectedScrollList
 
static int FocDrvLabelId
 
static int PickDrvNameLabelId
 
static int PickDrvCarLabelId
 
static int PickDrvCategoryLabelId
 
static float aColor [] = { 1.0, 0.0, 0.0, 1.0 }
 
static int nbSelectedDrivers
 
static int nbMaxSelectedDrivers
 
tDrvListHead DrvList
 

Detailed Description

Driver selection screen.

Author
Bernhard Wymann, Eric Espie
Version
$Id$

Definition in file driverselect.cpp.

Macro Definition Documentation

◆ B_BASE

#define B_BASE   380

◆ B_HT

#define B_HT   30

Typedef Documentation

◆ tDrvElt

typedef struct DrvElt tDrvElt

Function Documentation

◆ GF_TAILQ_HEAD()

GF_TAILQ_HEAD ( DrvListHead  ,
tDrvElt   
)

◆ rmdsActivate()

static void rmdsActivate ( void *  )
static

Definition at line 69 of file driverselect.cpp.

◆ rmdsAddKeys()

static void rmdsAddKeys ( void  )
static

Definition at line 231 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmdsClickOnDriver()

static void rmdsClickOnDriver ( void *  )
static

Definition at line 132 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmdsDeactivate()

static void rmdsDeactivate ( void *  screen)
static

Definition at line 75 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmdsSelect()

static void rmdsSelect ( void *  )
static

Definition at line 100 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmdsSetFocus()

static void rmdsSetFocus ( void *  )
static

Definition at line 86 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmFreeDrvList()

static void rmFreeDrvList ( void  )
static

Definition at line 450 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmMove()

static void rmMove ( void *  vd)
static

Definition at line 125 of file driverselect.cpp.

Here is the call graph for this function:

◆ rmSelectDeselect()

static void rmSelectDeselect ( void *  )
static

Definition at line 165 of file driverselect.cpp.

Here is the call graph for this function:

Variable Documentation

◆ aColor

float aColor[] = { 1.0, 0.0, 0.0, 1.0 }
static

Definition at line 47 of file driverselect.cpp.

◆ DrvList

tDrvListHead DrvList

Definition at line 64 of file driverselect.cpp.

◆ ds

tRmDrvSelect* ds
static

Definition at line 41 of file driverselect.cpp.

◆ FocDrvLabelId

int FocDrvLabelId
static

Definition at line 43 of file driverselect.cpp.

◆ nbMaxSelectedDrivers

int nbMaxSelectedDrivers
static

Definition at line 49 of file driverselect.cpp.

◆ nbSelectedDrivers

int nbSelectedDrivers
static

Definition at line 48 of file driverselect.cpp.

◆ PickDrvCarLabelId

int PickDrvCarLabelId
static

Definition at line 45 of file driverselect.cpp.

◆ PickDrvCategoryLabelId

int PickDrvCategoryLabelId
static

Definition at line 46 of file driverselect.cpp.

◆ PickDrvNameLabelId

int PickDrvNameLabelId
static

Definition at line 44 of file driverselect.cpp.

◆ scrHandle

void* scrHandle
static

Definition at line 40 of file driverselect.cpp.

◆ selectedScrollList

int selectedScrollList
static

Definition at line 42 of file driverselect.cpp.

◆ unselectedScrollList

int unselectedScrollList
static

Definition at line 42 of file driverselect.cpp.