62 const int BUFSIZE = 256;
67 snprintf(buf, BUFSIZE,
"%smodules/telemetry/%s.%s",
"telemetry",
GetLibDir (), DLLEXT);
int GfModLoad(unsigned int gfid, char *dllname, tModList **modlist)
Load the specified DLLs.
tModInfo modInfo[MAX_MOD_ITF]
module info list for this dll
void RtTelemStartMonitoring(const char *filename)
Start recording into a file.
Scalar max(Scalar x, Scalar y)
void RtTelemShutdown(void)
Deinstall the telemetry module.
void RtTelemInit(tdble ymin, tdble ymax)
Initialization of a telemetry session.
tfModPrivInit fctInit
init function
float tdble
Floating point type used in TORCS.
The Gaming Framework API.
void RtTelemUpdate(double time)
Record a new set of values.
int GfModUnloadList(tModList **modlist)
Unload the DLLs of a list.
void RtTelemNewChannel(const char *name, tdble *var, tdble min, tdble max)
Create a new telemetry channel.
tftlmStopMonitoring stopMonitoring
tftlmNewChannel newChannel
Scalar min(Scalar x, Scalar y)
char * name
name of the module (short) (NULL if no module)
int index
index if multiple interface in one dll
void RtTelemStopMonitoring(void)
Stop recording and close the file.
tftlmStartMonitoring startMonitoring
list of module interfaces
Module information structure.