39#define RELAXATION2(target, prev, rate) \
43 target = (prev) + (rate) * ((target) - (prev)) * 0.01; \
57#define RELAXATION(target, prev, rate) \
59 target = (prev) + (rate) * ((target) - (prev)) * 0.01; \
Scalar min(Scalar x, Scalar y)
Scalar max(Scalar x, Scalar y)
struct CarElt tCarElt
Car structure (tCarElt).
float tdble
Floating point type used in TORCS.
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.
struct trackSeg tTrackSeg
Track segment (tTrackSeg) The segments can be straights (type TR_STR): (the track goes from the right...
int main(int argc, char *argv[])
Location on the track in local coordinates.
int track(tModInfo *modInfo)