diff --git a/README.Vita.md b/README.Vita.md index 8207ca40e5..3e2b2a7491 100644 --- a/README.Vita.md +++ b/README.Vita.md @@ -66,6 +66,8 @@ The `Merge file` option is the launcher version of the `-merge` command line opt You can specify custom command line parameters in a [response file](https://doomwiki.org/wiki/Parameter#.40), then load it using the `Override response file` option. Don't forget to select the correct game. +By popular request some of the static render limits (`MAXVISPLANES`, `MAXVISSPRITES`, `MAXDRAWSEGS`) have been quadrupled in this fork to accomodate for SIGIL. + ## Credits - [these people](https://github.com/chocolate-doom/chocolate-doom/blob/master/AUTHORS) for Chocolate Doom itself; - Vita SDK Team for the Vita SDK; diff --git a/src/doom/r_defs.h b/src/doom/r_defs.h index d87ca38a9f..945d52257c 100644 --- a/src/doom/r_defs.h +++ b/src/doom/r_defs.h @@ -48,7 +48,7 @@ #define SIL_TOP 2 #define SIL_BOTH 3 -#define MAXDRAWSEGS 256 +#define MAXDRAWSEGS 1024 diff --git a/src/doom/r_plane.c b/src/doom/r_plane.c index 2a7f7bd0b0..27e00fdd19 100644 --- a/src/doom/r_plane.c +++ b/src/doom/r_plane.c @@ -42,7 +42,7 @@ planefunction_t ceilingfunc; // // Here comes the obnoxious "visplane". -#define MAXVISPLANES 128 +#define MAXVISPLANES 512 visplane_t visplanes[MAXVISPLANES]; visplane_t* lastvisplane; visplane_t* floorplane; diff --git a/src/doom/r_things.h b/src/doom/r_things.h index fc51c34a4e..bc66b1d66a 100644 --- a/src/doom/r_things.h +++ b/src/doom/r_things.h @@ -22,7 +22,7 @@ -#define MAXVISSPRITES 128 +#define MAXVISSPRITES 512 extern vissprite_t vissprites[MAXVISSPRITES]; extern vissprite_t* vissprite_p; diff --git a/src/heretic/r_local.h b/src/heretic/r_local.h index 7cccda144e..3525bb9419 100644 --- a/src/heretic/r_local.h +++ b/src/heretic/r_local.h @@ -147,7 +147,7 @@ typedef struct typedef byte lighttable_t; // this could be wider for >8 bit display -#define MAXVISPLANES 128 +#define MAXVISPLANES 512 #define MAXOPENINGS SCREENWIDTH*64 typedef struct @@ -184,7 +184,7 @@ typedef struct drawseg_s #define SIL_TOP 2 #define SIL_BOTH 3 -#define MAXDRAWSEGS 256 +#define MAXDRAWSEGS 1024 // A vissprite_t is a thing that will be drawn during a refresh typedef struct vissprite_s @@ -400,7 +400,7 @@ void R_PrecacheLevel(void); // // R_things.c // -#define MAXVISSPRITES 128 +#define MAXVISSPRITES 512 extern vissprite_t vissprites[MAXVISSPRITES], *vissprite_p; extern vissprite_t vsprsortedhead; diff --git a/src/hexen/r_local.h b/src/hexen/r_local.h index 95f0c4d2c2..48dd78005d 100644 --- a/src/hexen/r_local.h +++ b/src/hexen/r_local.h @@ -200,7 +200,7 @@ typedef struct typedef byte lighttable_t; // this could be wider for >8 bit display -#define MAXVISPLANES 160 +#define MAXVISPLANES 640 #define MAXOPENINGS SCREENWIDTH*64 typedef struct @@ -237,7 +237,7 @@ typedef struct drawseg_s #define SIL_TOP 2 #define SIL_BOTH 3 -#define MAXDRAWSEGS 256 +#define MAXDRAWSEGS 1024 // A vissprite_t is a thing that will be drawn during a refresh typedef struct vissprite_s @@ -466,7 +466,7 @@ void R_PrecacheLevel(void); // // R_things.c // -#define MAXVISSPRITES 192 +#define MAXVISSPRITES 768 extern vissprite_t vissprites[MAXVISSPRITES], *vissprite_p; extern vissprite_t vsprsortedhead; diff --git a/src/strife/r_defs.h b/src/strife/r_defs.h index a64ac8424a..df64e3ec10 100644 --- a/src/strife/r_defs.h +++ b/src/strife/r_defs.h @@ -48,7 +48,7 @@ #define SIL_TOP 2 #define SIL_BOTH 3 -#define MAXDRAWSEGS 256 +#define MAXDRAWSEGS 1024 diff --git a/src/strife/r_plane.c b/src/strife/r_plane.c index 97c0c5fec5..6911e653ec 100644 --- a/src/strife/r_plane.c +++ b/src/strife/r_plane.c @@ -43,7 +43,7 @@ planefunction_t ceilingfunc; // Here comes the obnoxious "visplane". // haleyjd 08/29/10: [STRIFE] MAXVISPLANES increased to 200 -#define MAXVISPLANES 200 +#define MAXVISPLANES 800 visplane_t visplanes[MAXVISPLANES]; visplane_t* lastvisplane; visplane_t* floorplane; diff --git a/src/strife/r_things.h b/src/strife/r_things.h index edb14a54d3..efbe9c683f 100644 --- a/src/strife/r_things.h +++ b/src/strife/r_things.h @@ -22,7 +22,7 @@ -#define MAXVISSPRITES 128 +#define MAXVISSPRITES 512 extern vissprite_t vissprites[MAXVISSPRITES]; extern vissprite_t* vissprite_p;