TORCS  1.3.9
The Open Racing Car Simulator
trackselect.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <tgfclient.h>
#include <track.h>
#include <osspec.h>
#include <raceman.h>
#include <racescreens.h>
#include <portability.h>
Include dependency graph for trackselect.cpp:

Go to the source code of this file.

Functions

static void rmtsActivate (void *)
 
static void rmtsFreeLists (void *vl)
 
static char * rmGetMapName (char *buf, const int BUFSIZE)
 
static void rmtsDeactivate (void *screen)
 
static void rmUpdateTrackInfo (void)
 
static void rmtsPrevNext (void *vsel)
 
static void rmCatPrevNext (void *vsel)
 
void rmtsSelect (void *)
 
static void rmtsAddKeys (void)
 
char * RmGetTrackName (char *category, char *trackName)
 Get the track name defined in the parameters. More...
 
char * RmGetCategoryName (char *category)
 Get the track category name from the track category file. More...
 
void RmTrackSelect (void *vs)
 Track selection, the race manager parameter set is handed over in vs, tRmTrackSelect.param. More...
 

Variables

static tFListCategoryList
 
static void * scrHandle
 
static int TrackLabelId
 
static int CatLabelId
 
static int MapId
 
static int AuthorId
 
static int LengthId
 
static int WidthId
 
static int DescId
 
static int PitsId
 
static tRmTrackSelectts
 

Detailed Description

Author
Bernhard Wymann, Eric Espie
Version
$Id$

Definition in file trackselect.cpp.

Function Documentation

◆ rmCatPrevNext()

static void rmCatPrevNext ( void *  vsel)
static

Definition at line 141 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmGetMapName()

static char* rmGetMapName ( char *  buf,
const int  BUFSIZE 
)
static

Definition at line 65 of file trackselect.cpp.

◆ rmtsActivate()

static void rmtsActivate ( void *  )
static

Definition at line 52 of file trackselect.cpp.

◆ rmtsAddKeys()

static void rmtsAddKeys ( void  )
static

Definition at line 174 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsDeactivate()

static void rmtsDeactivate ( void *  screen)
static

Definition at line 73 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsFreeLists()

static void rmtsFreeLists ( void *  vl)
static

Definition at line 59 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsPrevNext()

static void rmtsPrevNext ( void *  vsel)
static

Definition at line 124 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsSelect()

void rmtsSelect ( void *  )

Definition at line 159 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmUpdateTrackInfo()

static void rmUpdateTrackInfo ( void  )
static

Definition at line 84 of file trackselect.cpp.

Here is the call graph for this function:

Variable Documentation

◆ AuthorId

int AuthorId
static

Definition at line 44 of file trackselect.cpp.

◆ CategoryList

tFList* CategoryList
static

Definition at line 39 of file trackselect.cpp.

◆ CatLabelId

int CatLabelId
static

Definition at line 42 of file trackselect.cpp.

◆ DescId

int DescId
static

Definition at line 47 of file trackselect.cpp.

◆ LengthId

int LengthId
static

Definition at line 45 of file trackselect.cpp.

◆ MapId

int MapId
static

Definition at line 43 of file trackselect.cpp.

◆ PitsId

int PitsId
static

Definition at line 48 of file trackselect.cpp.

◆ scrHandle

void* scrHandle
static

Definition at line 40 of file trackselect.cpp.

◆ TrackLabelId

int TrackLabelId
static

Definition at line 41 of file trackselect.cpp.

◆ ts

tRmTrackSelect* ts
static

Definition at line 49 of file trackselect.cpp.

◆ WidthId

int WidthId
static

Definition at line 46 of file trackselect.cpp.