diff options
| author | wyatt8740 <wyattfward@gmail.com> | 2021-01-19 15:12:54 -0500 |
|---|---|---|
| committer | wyatt8740 <wyattfward@gmail.com> | 2021-01-19 15:12:54 -0500 |
| commit | 356553f368733858ae690eee0dc0ad30ec1b39f9 (patch) | |
| tree | 8913672aab7bd2bff92e493b150c18f971f4be8b | |
| parent | 6f34ea985bc389605b9e03645ab258259ba49c81 (diff) | |
| download | quake-pum-356553f368733858ae690eee0dc0ad30ec1b39f9.tar.gz | |
doubled maximum game resolution in SW renderer
| -rw-r--r-- | WinQuake/d_ifacea.h | 4 | ||||
| -rw-r--r-- | WinQuake/r_shared.h | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/WinQuake/d_ifacea.h b/WinQuake/d_ifacea.h index d4eb2c9..1d5d5d5 100644 --- a/WinQuake/d_ifacea.h +++ b/WinQuake/d_ifacea.h @@ -38,7 +38,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define CYCLE 128 // !!! if this is changed, it must be changed in r_shared.h too !!! -#define MAXHEIGHT 1024 +// wyatt +// define MAXHEIGHT 1024 +#define MAXHEIGHT 2048 // !!! if this is changed, it must be changed in quakedef.h too !!! #define CACHE_SIZE 32 // used to align key data structures diff --git a/WinQuake/r_shared.h b/WinQuake/r_shared.h index 2d22f7d..0f33e2b 100644 --- a/WinQuake/r_shared.h +++ b/WinQuake/r_shared.h @@ -30,8 +30,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MAXWORKINGVERTS (MAXVERTS+4) // max points in an intermediate
// polygon (while processing)
// !!! if this is changed, it must be changed in d_ifacea.h too !!!
-#define MAXHEIGHT 1024
-#define MAXWIDTH 1280
+// wyatt
+// define MAXHEIGHT 1024
+#define MAXHEIGHT 2048
+// wyatt
+// define MAXWIDTH 1280
+#define MAXWIDTH 2560
#define MAXDIMENSION ((MAXHEIGHT > MAXWIDTH) ? MAXHEIGHT : MAXWIDTH)
#define SIN_BUFFER_SIZE (MAXDIMENSION+CYCLE)
|
