Skip to content

Instantly share code, notes, and snippets.

@notptr
Created May 27, 2014 02:42
Show Gist options
  • Save notptr/559c3241e1b90e009d5b to your computer and use it in GitHub Desktop.
Save notptr/559c3241e1b90e009d5b to your computer and use it in GitHub Desktop.
Just a patch to chocolate doom I did a long time ago that adds in doom+ limits. I had this working on older chocolate doom but I updated it for version 2.0.0. Enjoy the patch file. How to use is patch -p0 -i <file_name> while you are in the root directory of chocolate_doom.
--- src/doom/p_spec.c Mon Jan 19 16:26:36 1970
+++ src/doom/p_spec.c Mon Jan 19 16:26:36 1970
@@ -144 +144 @@
-#define MAXLINEANIMS 64
+#define MAXLINEANIMS 16384
--- src/doom/p_spec.h Mon Jan 19 16:26:36 1970
+++ src/doom/p_spec.h Mon Jan 19 16:26:36 1970
@@ -311 +311 @@
-#define MAXPLATS 30
+#define MAXPLATS 7680
--- src/doom/r_defs.h Mon Jan 19 16:26:36 1970
+++ src/doom/r_defs.h Mon Jan 19 16:26:36 1970
@@ -57 +57 @@
-#define MAXDRAWSEGS 256
+#define MAXDRAWSEGS 2048
--- src/doom/r_plane.c Mon Jan 19 16:26:36 1970
+++ src/doom/r_plane.c Mon Jan 19 16:26:36 1970
@@ -53 +53 @@
-#define MAXVISPLANES 128
+#define MAXVISPLANES 1024
@@ -60 +60 @@
-#define MAXOPENINGS SCREENWIDTH*64
+#define MAXOPENINGS SCREENWIDTH*256
--- src/doom/r_things.h Mon Jan 19 16:26:36 1970
+++ src/doom/r_things.h Mon Jan 19 16:26:36 1970
@@ -33 +33 @@
-#define MAXVISSPRITES 128
+#define MAXVISSPRITES 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment