Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

heretic.diff

By: a guest on May 15th, 2013  |  syntax: Diff  |  size: 2.34 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -urNw heretic.orig/doomdef.h heretic/doomdef.h
  2. --- heretic.orig/doomdef.h      Tue Mar 13 13:15:45 2012
  3. +++ heretic/doomdef.h   Wed May  9 15:43:52 2012
  4. @@ -551,7 +551,7 @@
  5.  
  6.  extern ticcmd_t *netcmds;
  7.  
  8. -#define SAVEGAMESIZE 0x30000
  9. +#define SAVEGAMESIZE 0x30000*16
  10.  #define SAVESTRINGSIZE 24
  11.  extern byte *savebuffer;
  12.  extern byte *save_p;
  13. diff -urNw heretic.orig/g_game.c heretic/g_game.c
  14. --- heretic.orig/g_game.c       Tue Mar 13 17:02:02 2012
  15. +++ heretic/g_game.c    Wed May  9 15:33:21 2012
  16. @@ -454,12 +454,14 @@
  17.              }
  18.          }
  19.      }
  20. +/*
  21.      if (gamekeydown[127] && !cmd->arti
  22.          && !players[consoleplayer].powers[pw_weaponlevel2])
  23.      {
  24.          gamekeydown[127] = false;
  25.          cmd->arti = arti_tomeofpower;
  26.      }
  27. +*/
  28.  
  29.  //
  30.  // buttons
  31. diff -urNw heretic.orig/p_spec.h heretic/p_spec.h
  32. --- heretic.orig/p_spec.h       Tue Mar 13 13:15:45 2012
  33. +++ heretic/p_spec.h    Wed May  9 15:42:32 2012
  34. @@ -63,7 +63,7 @@
  35.  //
  36.  //      Animating line specials
  37.  //
  38. -#define        MAXLINEANIMS            64
  39. +#define        MAXLINEANIMS            64*256
  40.  extern short numlinespecials;
  41.  extern line_t *linespeciallist[MAXLINEANIMS];
  42.  
  43. @@ -241,7 +241,7 @@
  44.  
  45.  #define        PLATWAIT        3
  46.  #define        PLATSPEED       FRACUNIT
  47. -#define        MAXPLATS        30
  48. +#define        MAXPLATS        30*256
  49.  
  50.  extern plat_t *activeplats[MAXPLATS];
  51.  
  52. diff -urNw heretic.orig/r_local.h heretic/r_local.h
  53. --- heretic.orig/r_local.h      Tue Mar 13 13:15:45 2012
  54. +++ heretic/r_local.h   Wed May  9 15:38:58 2012
  55. @@ -155,8 +155,8 @@
  56.  
  57.  typedef byte lighttable_t;      // this could be wider for >8 bit display
  58.  
  59. -#define        MAXVISPLANES    128
  60. -#define        MAXOPENINGS             SCREENWIDTH*64
  61. +#define        MAXVISPLANES    128*8
  62. +#define        MAXOPENINGS             SCREENWIDTH*64*4
  63.  
  64.  typedef struct
  65.  {
  66. @@ -192,7 +192,7 @@
  67.  #define SIL_TOP                2
  68.  #define        SIL_BOTH        3
  69.  
  70. -#define        MAXDRAWSEGS             256
  71. +#define        MAXDRAWSEGS             256*8
  72.  
  73.  // A vissprite_t is a thing that will be drawn during a refresh
  74.  typedef struct vissprite_s
  75. @@ -408,7 +408,7 @@
  76.  //
  77.  // R_things.c
  78.  //
  79. -#define        MAXVISSPRITES   128
  80. +#define        MAXVISSPRITES   128*8
  81.  
  82.  extern vissprite_t vissprites[MAXVISSPRITES], *vissprite_p;
  83.  extern vissprite_t vsprsortedhead;