44#include <portability.h>
66 const int BUFSIZE = 256;
71 snprintf(buf, BUFSIZE,
"%smodules/telemetry/%s.%s",
"telemetry",
GetLibDir (), DLLEXT);
Scalar min(Scalar x, Scalar y)
Scalar max(Scalar x, Scalar y)
float tdble
Floating point type used in TORCS.
int GfModUnloadList(tModList **modlist)
Unload the DLLs of a list.
int GfModLoad(unsigned int gfid, char *dllname, tModList **modlist)
Load the specified DLLs.
void RtTelemInit(tdble ymin, tdble ymax)
Legacy telemetry initialization; currently does nothing.
void RtTelemShutdown(void)
Legacy telemetry shutdown; currently does nothing.
void RtTelemStartMonitoring(const char *filename)
Legacy start-recording request; currently creates no file and does nothing.
void RtTelemStopMonitoring(void)
Legacy stop-recording request; currently does nothing.
void RtTelemNewChannel(const char *name, tdble *var, tdble min, tdble max)
Legacy channel registration; currently does nothing.
void RtTelemUpdate(double time)
Legacy sample-recording request; currently does nothing.
int index
index if multiple interface in one dll
char * name
name of the module (short) (NULL if no module)
tfModPrivInit fctInit
init function
tModInfo modInfo[MAX_MOD_ITF]
module info list for this dll
tftlmNewChannel newChannel
tftlmStopMonitoring stopMonitoring
tftlmStartMonitoring startMonitoring
struct ModList tModList
list of module interfaces
struct ModInfo tModInfo
Module information structure.