27BOOL WINAPI DllEntryPoint (HINSTANCE hDLL, DWORD dwReason, LPVOID Reserved)
87 modInfo->
name = strdup(
"trackv1");
88 modInfo->
desc = strdup(
"Track V1.0");
char * desc
description of the module (can be long)
int index
index if multiple interface in one dll
unsigned int gfId
supported framework version
char * name
name of the module (short) (NULL if no module)
tfModPrivInit fctInit
init function
Interface Structure for Track Loader.
tfTrackBuild trkBuild
build track structure for simu
tfTrackSurfaceNormal trkSurfaceNormal
tfTrackShutdown trkShutdown
tfTrackHeightL trkHeightL
tfTrackHeightG trkHeightG
tfTrackSideNormal trkSideNormal
tfTrackBuild trkBuildEx
build with graphic extensions (used by trackgen tool)
tfTrackGlobal2Local trkGlobal2Local
tfTrackLocal2Global trkLocal2Global
struct ModInfo tModInfo
Module information structure.
tTrack * TrackBuildEx(char *trackfile)
tTrack * TrackBuildv1(char *trackfile)
void TrackSurfaceNormal(tTrkLocPos *p, t3Dd *norm)
void TrackLocal2Global(tTrkLocPos *p, tdble *X, tdble *Y)
tdble TrackHeightL(tTrkLocPos *p)
void TrackSideNormal(tTrackSeg *, tdble, tdble, int, t3Dd *)
tdble TrackHeightG(tTrackSeg *seg, tdble x, tdble y)
void TrackGlobal2Local(tTrackSeg *segment, tdble X, tdble Y, tTrkLocPos *p, int sides)
int track(tModInfo *modInfo)
static int trackInit(int, void *pt)