TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 int rmtsListLength (tFList *list)
static tFList * rmtsRemoveListEntry (tFList *list, tFList *entry, tfDirfreeUserData freeUserData)
static char * rmGetMapName (char *buf, const int BUFSIZE)
static void rmtsDeactivate (void *screen)
static void rmUpdateTrackInfo (void)
static void rmtsPrevNext (int delta)
static void rmCatPrevNext (int delta)
void rmtsSelect (void)
static void rmtsAddKeys (void)
char * RmGetTrackName (char *category, char *trackName)
 Get the track name defined in the parameters.
char * RmGetCategoryName (char *category)
 Get the track category name from the track category file.
static tFList * rmtsFilterTracks (char *category, tFList *trackList)
void RmTrackSelect (void *vs)
 Track selection, the race manager parameter set is handed over in vs, tRmTrackSelect.param.

Variables

static tFList * CategoryList
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 tRmTrackSelect * ts

Detailed Description

Author
Bernhard Wymann, Eric Espie

Definition in file trackselect.cpp.

Function Documentation

◆ rmCatPrevNext()

void rmCatPrevNext ( int delta)
static

Definition at line 198 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmGetMapName()

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

Definition at line 122 of file trackselect.cpp.

◆ rmtsActivate()

void rmtsActivate ( void )
static

Definition at line 51 of file trackselect.cpp.

◆ rmtsAddKeys()

void rmtsAddKeys ( void )
static

Definition at line 231 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsDeactivate()

void rmtsDeactivate ( void * screen)
static

Definition at line 130 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsFilterTracks()

tFList * rmtsFilterTracks ( char * category,
tFList * trackList )
static

Definition at line 302 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsFreeLists()

void rmtsFreeLists ( void * vl)
static

Definition at line 58 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsListLength()

int rmtsListLength ( tFList * list)
static

Definition at line 64 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsPrevNext()

void rmtsPrevNext ( int delta)
static

Definition at line 181 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmtsRemoveListEntry()

tFList * rmtsRemoveListEntry ( tFList * list,
tFList * entry,
tfDirfreeUserData freeUserData )
static

Definition at line 83 of file trackselect.cpp.

◆ rmtsSelect()

void rmtsSelect ( void )

Definition at line 216 of file trackselect.cpp.

Here is the call graph for this function:

◆ rmUpdateTrackInfo()

void rmUpdateTrackInfo ( void )
static

Definition at line 141 of file trackselect.cpp.

Here is the call graph for this function:

Variable Documentation

◆ AuthorId

int AuthorId
static

Definition at line 43 of file trackselect.cpp.

◆ CategoryList

tFList* CategoryList
static

Definition at line 38 of file trackselect.cpp.

◆ CatLabelId

int CatLabelId
static

Definition at line 41 of file trackselect.cpp.

◆ DescId

int DescId
static

Definition at line 46 of file trackselect.cpp.

◆ LengthId

int LengthId
static

Definition at line 44 of file trackselect.cpp.

◆ MapId

int MapId
static

Definition at line 42 of file trackselect.cpp.

◆ PitsId

int PitsId
static

Definition at line 47 of file trackselect.cpp.

◆ scrHandle

void* scrHandle
static

Definition at line 39 of file trackselect.cpp.

◆ TrackLabelId

int TrackLabelId
static

Definition at line 40 of file trackselect.cpp.

◆ ts

tRmTrackSelect* ts
static

Definition at line 48 of file trackselect.cpp.

◆ WidthId

int WidthId
static

Definition at line 45 of file trackselect.cpp.