summaryrefslogtreecommitdiff
path: root/games-fps/lsdldoom/files/1.4.4.4-gcc34.patch
blob: 988905f849310f3dd88b5261b78c6e67c7baf9dc (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
40
41
42
diff -ur lsdldoom-1.4.4.4.orig/src/d_main.c lsdldoom-1.4.4.4/src/d_main.c
--- lsdldoom-1.4.4.4.orig/src/d_main.c	2005-01-15 02:38:13.077626072 -0500
+++ lsdldoom-1.4.4.4/src/d_main.c	2005-01-15 02:39:41.646161608 -0500
@@ -230,6 +230,7 @@
     case GS_LEVEL:
       V_SetPalette(0); // cph - use default (basic) palette  
     default:
+;
     }
 
     switch (gamestate) {
@@ -243,6 +244,7 @@
       D_PageDrawer();
       break;
     default:
+;
     }
   } else if (gametic) { // In a level
     boolean redrawborderstuff;
diff -ur lsdldoom-1.4.4.4.orig/src/g_game.c lsdldoom-1.4.4.4/src/g_game.c
--- lsdldoom-1.4.4.4.orig/src/g_game.c	2005-01-15 02:38:13.043631240 -0500
+++ lsdldoom-1.4.4.4/src/g_game.c	2005-01-15 02:38:13.260598256 -0500
@@ -875,6 +875,7 @@
     case GS_INTERMISSION:
       WI_End();
     default:
+;
     }
     prevgamestate = gamestate;
   }
diff -ur lsdldoom-1.4.4.4.orig/src/p_maputl.h lsdldoom-1.4.4.4/src/p_maputl.h
--- lsdldoom-1.4.4.4.orig/src/p_maputl.h	2005-01-15 02:38:13.044631088 -0500
+++ lsdldoom-1.4.4.4/src/p_maputl.h	2005-01-15 02:40:35.526970480 -0500
@@ -82,7 +82,7 @@
 void    P_SetThingPosition(mobj_t *thing);
 boolean P_BlockLinesIterator (int x, int y, boolean func(line_t *));
 boolean P_BlockThingsIterator(int x, int y, boolean func(mobj_t *));
-boolean ThingIsOnLine(const mobj_t *t, const line_t *l);  /* killough 3/15/98 */
+boolean CONSTFUNC ThingIsOnLine(const mobj_t *t, const line_t *l);  /* killough 3/15/98 */
 boolean P_PathTraverse(fixed_t x1, fixed_t y1, fixed_t x2, fixed_t y2,
                        int flags, boolean trav(intercept_t *));