- Update to 0.3.0

PR:		ports/102495
Submitted by:	Dmitry Marakasov <amdmi3(at)mail.ru>, (maintainer)
Approved by:	krion (mentor)
This commit is contained in:
Martin Wilke 2006-08-25 21:19:20 +00:00
parent 868b2cb027
commit 95b1c895c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171414
4 changed files with 21 additions and 15 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= toycars
PORTVERSION= 0.2.5
PORTREVISION= 1
PORTVERSION= 0.3.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= toycars
@ -15,10 +14,15 @@ MASTER_SITE_SUBDIR= toycars
MAINTAINER= amdmi3@mail.ru
COMMENT= Physics-based 2D racing game
USE_SDL= image sdl
USE_SDL= mixer image sdl
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal:19 autoheader:259 automake:19 autoconf:259
ACLOCAL_ARGS= -I m4
AUTOMAKE_ARGS= -a -c
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
PORTDOCS= README

View file

@ -1,3 +1,3 @@
MD5 (toycars-0.2.5.tar.gz) = aab7be40e4e12d465752bd94f09e3268
SHA256 (toycars-0.2.5.tar.gz) = 3f0022e8b368109997d23781cdade47a0c45655d1d4182b97106ca0a9a0c86bb
SIZE (toycars-0.2.5.tar.gz) = 3278359
MD5 (toycars-0.3.0.tar.gz) = 66d8e98b1f40051d392e9bb1f4617de0
SHA256 (toycars-0.3.0.tar.gz) = 137010bc2e86acfcdf2c7d99e6b1d3f88c0c24927463b215f4b0580149946518
SIZE (toycars-0.3.0.tar.gz) = 4940653

View file

@ -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)

View file

@ -14,24 +14,26 @@ bin/toycars
%%DATADIR%%/data/images/loading.png
%%DATADIR%%/data/images/needle.png
%%DATADIR%%/data/images/title.png
%%DATADIR%%/data/sounds/Motor_Car_Song.ogg
%%DATADIR%%/data/tilesets/default/default.xml
%%DATADIR%%/data/tilesets/default/tiles.png
%%DATADIR%%/data/tracks/Circuit/Circuit.xml
%%DATADIR%%/data/tracks/Circuit/oval.map
%%DATADIR%%/data/tracks/Corner/Corner.xml
%%DATADIR%%/data/tracks/Corner/corner.map
%%DATADIR%%/data/tracks/Helix/Helix.xml
%%DATADIR%%/data/tracks/Helix/helix.map
%%DATADIR%%/data/tracks/Horseshoe/Horseshoe.xml
%%DATADIR%%/data/tracks/Horseshoe/horseshoe.map
%%DATADIR%%/data/tracks/Rings/Rings.xml
%%DATADIR%%/data/tracks/Rings/rings.map
%%DATADIR%%/data/tracks/tracklist.xml
@dirrm %%DATADIR%%/data/tracks/Rings
@dirrm %%DATADIR%%/data/tracks/Helix
@dirrm %%DATADIR%%/data/tracks/Horseshoe
@dirrm %%DATADIR%%/data/tracks/Corner
@dirrm %%DATADIR%%/data/tracks/Circuit
@dirrm %%DATADIR%%/data/tracks
@dirrm %%DATADIR%%/data/tilesets/default
@dirrm %%DATADIR%%/data/tilesets
@dirrm %%DATADIR%%/data/sounds
@dirrm %%DATADIR%%/data/images
@dirrm %%DATADIR%%/data/fonts
@dirrm %%DATADIR%%/data/cars/ferrari-f1