TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
track.cpp File Reference
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <tgf.h>
#include <track.h>
#include <portability.h>
#include "trackinc.h"
Include dependency graph for track.cpp:

Go to the source code of this file.

Functions

static void GetTrackHeader (void *TrackHandle)
tTrack * TrackBuildv1 (char *trackfile)
tTrack * TrackBuildEx (char *trackfile)
static void freeSeg (tTrackSeg *seg)
void TrackShutdown (void)

Variables

const tdble DEGPRAD = 180.0 / PI
static tTrack * theTrack = NULL
static tRoadCam * theCamList
static void * TrackHandle

Function Documentation

◆ freeSeg()

void freeSeg ( tTrackSeg * seg)
static

Definition at line 185 of file track.cpp.

Here is the call graph for this function:

◆ GetTrackHeader()

void GetTrackHeader ( void * TrackHandle)
static

Definition at line 119 of file track.cpp.

Here is the call graph for this function:

◆ TrackBuildEx()

tTrack * TrackBuildEx ( char * trackfile)

Definition at line 73 of file track.cpp.

Here is the call graph for this function:

◆ TrackBuildv1()

tTrack * TrackBuildv1 ( char * trackfile)

Definition at line 43 of file track.cpp.

Here is the call graph for this function:

◆ TrackShutdown()

void TrackShutdown ( void )

Definition at line 207 of file track.cpp.

Here is the call graph for this function:

Variable Documentation

◆ DEGPRAD

const tdble DEGPRAD = 180.0 / PI

Definition at line 29 of file track.cpp.

◆ theCamList

tRoadCam* theCamList
static

Definition at line 32 of file track.cpp.

◆ theTrack

tTrack* theTrack = NULL
static

Definition at line 31 of file track.cpp.

◆ TrackHandle

void* TrackHandle
static

Definition at line 33 of file track.cpp.