TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
main.cpp File Reference
#include <GL/glut.h>
#include <tgfclient.h>
#include <client.h>
#include <portability.h>
#include <raceinit.h>
#include "windowsspec.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static void convertDelimiter (char *buf, const int bufsize)
static void copyFileIfNotExists (const char *filepath)
static void prepareLocalDir ()
static void setUserLocalDir (char *buf, const int bufsize)
static void init_args (int argc, char **argv, const char **raceconfig)
int main (int argc, char *argv[])

Function Documentation

◆ convertDelimiter()

void convertDelimiter ( char * buf,
const int bufsize )
static

Definition at line 35 of file main.cpp.

◆ copyFileIfNotExists()

void copyFileIfNotExists ( const char * filepath)
static

Definition at line 46 of file main.cpp.

Here is the call graph for this function:

◆ init_args()

void init_args ( int argc,
char ** argv,
const char ** raceconfig )
static

Definition at line 130 of file main.cpp.

Here is the call graph for this function:

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 215 of file main.cpp.

Here is the call graph for this function:

◆ prepareLocalDir()

void prepareLocalDir ( )
static

Definition at line 76 of file main.cpp.

Here is the call graph for this function:

◆ setUserLocalDir()

void setUserLocalDir ( char * buf,
const int bufsize )
static

Definition at line 116 of file main.cpp.

Here is the call graph for this function: