diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-08-25 21:19:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-08-25 21:19:20 +0000 |
commit | 95b1c895c8ca31377541f98627003b21f5376a8a (patch) | |
tree | 1b9fe9ac612a7771a72debac89902e9c841088d3 /games/toycars/files | |
parent | 868b2cb0279bdd31a6c612a76ffb96fe24140a8e (diff) | |
download | ports-95b1c895c8ca31377541f98627003b21f5376a8a.tar.gz ports-95b1c895c8ca31377541f98627003b21f5376a8a.zip |
Notes
Diffstat (limited to 'games/toycars/files')
-rw-r--r-- | games/toycars/files/patch-src-Player.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/toycars/files/patch-src-Player.cpp b/games/toycars/files/patch-src-Player.cpp index 6169527fffcb..789e7e83b524 100644 --- a/games/toycars/files/patch-src-Player.cpp +++ b/games/toycars/files/patch-src-Player.cpp @@ -1,6 +1,6 @@ ---- src/Player.cpp.orig Sat Nov 26 01:04:36 2005 -+++ src/Player.cpp Mon Dec 19 11:26:04 2005 -@@ -33,6 +33,10 @@ +--- src/Player.cpp.orig Sun Aug 13 14:36:55 2006 ++++ src/Player.cpp Thu Aug 24 21:22:42 2006 +@@ -31,6 +31,10 @@ // member functions @@ -8,6 +8,6 @@ +#define INFINITY MAXFLOAT +#endif + - Player::Player(ToyCar& inCar) - : car(inCar), lapFlag(-1), laps(0), curLap(0.0), prevLap(0.0), bestLapTime(INFINITY), courseTime(0.0) - { + Player::Player(ToyCar& inCar, list<Tuple> *path, int inPlayerNumber) + : car(inCar), lapFlag(0), laps(-1), curLap(-1e-1), prevLap(-1e-1), revolutions(-1), bestLapTime(INFINITY), courseTime(0.0), + pathEnd(path->end()), pathClosestPerp(INFINITY), pathSize(path->size()), playerNumber(inPlayerNumber) |