rott/rott-1.0-compile.patch
2007-05-18 15:30:06 +00:00

39 lines
1.5 KiB
Diff

diff -ur rott-1.0/rott/Makefile trunk/rott/Makefile
--- rott-1.0/rott/Makefile 2007-05-05 20:44:31.000000000 +0200
+++ trunk/rott/Makefile 2007-05-05 15:47:26.000000000 +0200
@@ -47,7 +47,7 @@
CC = gcc
-CFLAGS = -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS)
+CFLAGS = -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused -Wno-pointer-sign $(EXTRACFLAGS)
LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) -Wl,-E
all: rott
diff -ur rott-1.0/rott/rt_actor.h trunk/rott/rt_actor.h
--- rott-1.0/rott/rt_actor.h 2007-05-05 20:44:31.000000000 +0200
+++ trunk/rott/rt_actor.h 2007-05-05 15:46:36.000000000 +0200
@@ -315,7 +315,7 @@
extern void *actorat[MAPSIZE][MAPSIZE];
extern int angletodir[ANGLES];
extern _2Dpoint SNAKEPATH[512];
-extern int STOPSPEED;
+/* extern int STOPSPEED; */
extern int FRICTION;
extern int objcount;
diff -ur rott-1.0/rott/rt_in.h trunk/rott/rt_in.h
--- rott-1.0/rott/rt_in.h 2007-05-05 20:44:31.000000000 +0200
+++ trunk/rott/rt_in.h 2007-05-05 15:20:49.000000000 +0200
@@ -147,9 +147,9 @@
extern boolean Paused;
extern volatile int LastScan;
-extern KeyboardDef KbdDefs;
+/* extern KeyboardDef KbdDefs;
extern JoystickDef JoyDefs[];
-extern ControlType Controls[MAXPLAYERS];
+extern ControlType Controls[MAXPLAYERS]; */
extern boolean SpaceBallPresent;
extern boolean CybermanPresent;