summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/doomdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/doomdef.h')
-rw-r--r--apps/plugins/doom/doomdef.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/apps/plugins/doom/doomdef.h b/apps/plugins/doom/doomdef.h
index be586a511f..a0e8ad50bc 100644
--- a/apps/plugins/doom/doomdef.h
+++ b/apps/plugins/doom/doomdef.h
@@ -33,6 +33,8 @@
33#ifndef __DOOMDEF__ 33#ifndef __DOOMDEF__
34#define __DOOMDEF__ 34#define __DOOMDEF__
35 35
36#include "rockmacros.h"
37
36// killough 4/25/98: Make gcc extensions mean nothing on other compilers 38// killough 4/25/98: Make gcc extensions mean nothing on other compilers
37#ifndef __GNUC__ 39#ifndef __GNUC__
38#define __attribute__(x) 40#define __attribute__(x)
@@ -88,14 +90,20 @@ typedef enum {
88// allows us to avoid the overhead of dynamic allocation 90// allows us to avoid the overhead of dynamic allocation
89// when multiple screen sizes are supported 91// when multiple screen sizes are supported
90 92
93#if(LCD_HEIGHT>LCD_WIDTH)
94extern bool rotate_screen;
91// proff 08/17/98: Changed for high-res 95// proff 08/17/98: Changed for high-res
92#define MAX_SCREENWIDTH 1600 96#define MAX_SCREENWIDTH LCD_HEIGHT
93#define MAX_SCREENHEIGHT 1200 97#define MAX_SCREENHEIGHT LCD_HEIGHT
94 98extern int SCREENWIDTH;
99extern int SCREENHEIGHT;
100#else
101// proff 08/17/98: Changed for high-res
102#define MAX_SCREENWIDTH LCD_WIDTH
103#define MAX_SCREENHEIGHT LCD_HEIGHT
95#define SCREENWIDTH LCD_WIDTH 104#define SCREENWIDTH LCD_WIDTH
96//#define SCREENWIDTH 320
97//#define SCREENHEIGHT 200
98#define SCREENHEIGHT LCD_HEIGHT 105#define SCREENHEIGHT LCD_HEIGHT
106#endif
99 107
100// The maximum number of players, multiplayer/networking. 108// The maximum number of players, multiplayer/networking.
101#define MAXPLAYERS 4 109#define MAXPLAYERS 4