internal screen dimensions as enum in extern.h, instead of #defines in config.h

This commit is contained in:
Iris Lightshard 2019-01-09 21:32:25 -08:00
parent 502f451110
commit 873c57cb13
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398
2 changed files with 7 additions and 6 deletions

View file

@ -11,12 +11,7 @@
#define FS_BUTTON SDLK_f
#define PAUSE_BUTTON SDLK_q
// internal game resolution is 320x180 widescreen
#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 180
// video scaling factor should be a positive integer
/* video scaling factor should be a positive integer */
#define SCALE_FACTOR 2
//#define SOUND_ON

View file

@ -1,4 +1,10 @@
enum screenDimensions
{
SCREEN_WIDTH = 320,
SCREEN_HEIGHT = 180
};
extern int fullscreen;
extern int quit;
extern int playing;