rendered paste bodyIndex: src/st_stuff.c
===================================================================
--- src/st_stuff.c (revision 1704)
+++ src/st_stuff.c (working copy)
@@ -743,7 +743,8 @@
// being attacked
priority = 7;
- if (plyr->health - st_oldhealth > ST_MUCHPAIN)
+ // OUCHFACE
+ if (st_oldhealth - plyr->health > ST_MUCHPAIN)
{
st_facecount = ST_TURNCOUNT;
st_faceindex = ST_calcPainOffset() + ST_OUCHOFFSET;
Index: src/p_inter.c
===================================================================
--- src/p_inter.c (revision 1704)
+++ src/p_inter.c (working copy)
@@ -477,16 +477,16 @@
player->message = DEH_String(GOTSTIM);
break;
- case SPR_MEDI:
- if (!P_GiveBody (player, 25))
- return;
+ case SPR_MEDI:
+ if (player->health < 25)
+ player->message = GOTMEDINEED;
+ else
+ player->message = GOTMEDIKIT;
+
+ if (!P_GiveBody (player, 25))
+ return;
+ break;
- if (player->health < 25)
- player->message = DEH_String(GOTMEDINEED);
- else
- player->message = DEH_String(GOTMEDIKIT);
- break;
-
// power ups
case SPR_PINV:
Index: src/r_things.h
===================================================================
--- src/r_things.h (revision 1704)
+++ src/r_things.h (working copy)
@@ -30,7 +30,7 @@
-#define MAXVISSPRITES 128
+#define MAXVISSPRITES 1024
extern vissprite_t vissprites[MAXVISSPRITES];
extern vissprite_t* vissprite_p;
Index: src/p_spec.c
===================================================================
--- src/p_spec.c (revision 1704)
+++ src/p_spec.c (working copy)
@@ -140,7 +140,7 @@
//
// Animating line specials
//
-#define MAXLINEANIMS 64
+#define MAXLINEANIMS 16384
extern short numlinespecials;
extern line_t* linespeciallist[MAXLINEANIMS];
Index: src/p_spec.h
===================================================================
--- src/p_spec.h (revision 1704)
+++ src/p_spec.h (working copy)
@@ -308,7 +308,8 @@
#define PLATWAIT 3
#define PLATSPEED FRACUNIT
-#define MAXPLATS 30
+// 7680 is way high, I'm only doing it to stay consistent with doom2+ -hobbs
+#define MAXPLATS 7680
extern plat_t* activeplats[MAXPLATS];
Index: src/r_defs.h
===================================================================
--- src/r_defs.h (revision 1704)
+++ src/r_defs.h (working copy)
@@ -54,7 +54,7 @@
#define SIL_TOP 2
#define SIL_BOTH 3
-#define MAXDRAWSEGS 256
+#define MAXDRAWSEGS 2048
Index: src/r_plane.c
===================================================================
--- src/r_plane.c (revision 1704)
+++ src/r_plane.c (working copy)
@@ -50,14 +50,14 @@
//
// Here comes the obnoxious "visplane".
-#define MAXVISPLANES 128
+#define MAXVISPLANES 1024
visplane_t visplanes[MAXVISPLANES];
visplane_t* lastvisplane;
visplane_t* floorplane;
visplane_t* ceilingplane;
// ?
-#define MAXOPENINGS SCREENWIDTH*64
+#define MAXOPENINGS SCREENWIDTH*128
short openings[MAXOPENINGS];
short* lastopening;