Start of track v5

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5860 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2b4f99263108eb2cbb8ca2a7ae0e73dc65c092c6
Former-commit-id: ff0fb584b6b6f1d855f0c0ed656f78b57cb92306
This commit is contained in:
beaglejoe 2014-11-26 07:15:48 +00:00
parent c0be3d1662
commit 91a80fb07e
4 changed files with 1841 additions and 1 deletions

View file

@ -1,6 +1,6 @@
INCLUDE(../../../../cmake/macros.cmake)
SET(TRACK_SOURCES track.cpp track3.cpp track4.cpp trackitf.cpp trackutil.cpp)
SET(TRACK_SOURCES track.cpp track3.cpp track4.cpp track5.cpp trackitf.cpp trackutil.cpp)
SET(TRACK_HEADERS trackitf.h trackinc.h)
ADD_INTERFACE_INCLUDEDIR()

View file

@ -66,6 +66,9 @@ TrackBuildv1(const char *trackfile)
break;
case 4:
ReadTrack4(theTrack, TrackHandle, &theCamList, 0);
break;
case 5:
ReadTrack5(theTrack, TrackHandle, &theCamList, 0);
break;
}
@ -99,6 +102,9 @@ TrackBuildEx(const char *trackfile)
break;
case 4:
ReadTrack4(theTrack, TrackHandle, &theCamList, 1);
break;
case 5:
ReadTrack5(theTrack, TrackHandle, &theCamList, 1);
break;
}

File diff suppressed because it is too large Load diff

View file

@ -28,6 +28,7 @@ extern void TrackShutdown(void);
extern void ReadTrack3(tTrack *theTrack, void *TrackHandle, tRoadCam **camList, int ext);
extern void ReadTrack4(tTrack *theTrack, void *TrackHandle, tRoadCam **camList, int ext);
extern void ReadTrack5(tTrack *theTrack, void *TrackHandle, tRoadCam **camList, int ext);
extern tRoadCam *TrackGetCamList(void);