summaryrefslogtreecommitdiff
path: root/packages/rott/files/gcc4.patch
blob: 6a850533c795cfac2b85a3d7d66012a6c837e162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- rott-1.0/rott/rt_actor.c~gcc4
+++ rott-1.0/rott/rt_actor.c
@@ -430,11 +430,11 @@
 void AvoidPlayerMissile(objtype*ob);
 int EnvironmentDamage(objtype *ob);
 
-static int     STOPSPEED         =    0x200;
-static int     PLAYERFRICTION    =    0xe000;
-static int     ACTORFRICTION     =    0xf000;
-static int     DIAGADJUST        =    0xb504;
-static boolean MissileSound      =    true;
+int     STOPSPEED         =    0x200;
+int     PLAYERFRICTION    =    0xe000;
+int     ACTORFRICTION     =    0xf000;
+int     DIAGADJUST        =    0xb504;
+boolean MissileSound      =    true;
 
 
 
--- rott-1.0/rott/rt_in.c~gcc4
+++ rott-1.0/rott/rt_in.c
@@ -155,9 +155,9 @@
 //
 //****************************************************************************]
 
-static KeyboardDef KbdDefs = {0x1d,0x38,0x47,0x48,0x49,0x4b,0x4d,0x4f,0x50,0x51};
-static JoystickDef JoyDefs[MaxJoys];
-static ControlType Controls[MAXPLAYERS];
+KeyboardDef KbdDefs = {0x1d,0x38,0x47,0x48,0x49,0x4b,0x4d,0x4f,0x50,0x51};
+JoystickDef JoyDefs[MaxJoys];
+ControlType Controls[MAXPLAYERS];
 
 
 static boolean  IN_Started;