freebsd-ports/games/sdb/files/patch-src_sdb.h
Jean-Yves Lefort f6a2cf09a4 Add sdb.
Shotgun Debugger is a 2D, top-down action game. It is The Future, and your
habit of computer network exploration has finally done you in. You are
captured and taken to a strange underground complex populated by robot
soldiers. Your task is to escape the facility--but the hordes of walking
death machines aren't just gonna let you.

Shotgun Debugger is pseudo-3D -- while gameplay is strictly two-dimensional,
the world is rendered in three dimensions. Worlds are not tile-based, but
polygon-based -- rooms and hallways can be made to any shape imaginable,
allowing for some rather impressive architecture.

WWW: http://sdb.gamecreation.org/

PR:		ports/85857
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
2005-09-10 16:24:05 +00:00

11 lines
348 B
C

--- src/sdb.h.orig Sat Sep 10 18:02:32 2005
+++ src/sdb.h Sat Sep 10 18:05:50 2005
@@ -82,7 +82,7 @@
#define PLAYER_DATA_FILE "player.dat"
#define NEXT_TOK nextToken(line, start, end)
-#define S2F(x) strtof(x.c_str(), NULL)
+#define S2F(x) ((float) strtod(x.c_str(), NULL))
#define S2I(x) strtol(x.c_str(), NULL, 10)
#define X 0