![]() |
torcs - 1.2.2 | ![]() |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <js.h>
#include <tgfclient.h>
Include dependency graph for control.cpp:
Compounds | |
struct | tgfKeyBinding |
Functions | |
tCtrlRef * | GfctrlGetRefByName (char *name) |
Get a control reference by its name. | |
char * | GfctrlGetNameByRef (int type, int index) |
Get a control name by its reference. | |
tCtrlJoyInfo * | GfctrlJoyInit (void) |
Initialize the joystick control. | |
void | GfctrlJoyRelease (tCtrlJoyInfo *joyInfo) |
Release the tCtrlJoyInfo structure. | |
int | GfctrlJoyIsPresent (void) |
Check if a joystick is present. | |
int | GfctrlJoyGetCurrent (tCtrlJoyInfo *joyInfo) |
Get the joystick current values. | |
tCtrlMouseInfo * | GfctrlMouseInit (void) |
Initialize the mouse control. | |
void | GfctrlMouseRelease (tCtrlMouseInfo *mouseInfo) |
Release the tCtrlMouseInfo structure. | |
int | GfctrlMouseGetCurrent (tCtrlMouseInfo *mouseInfo) |
Get the mouse current values. | |
void | GfctrlMouseCenter (void) |
Recentre the mouse on the screen. | |
void | GfctrlMouseInitCenter (void) |
Get the reference position. |