internal screen dimensions as enum in extern.h, instead of #defines in config.h
This commit is contained in:
parent
502f451110
commit
873c57cb13
2 changed files with 7 additions and 6 deletions
7
config.h
7
config.h
|
@ -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
|
||||
|
|
6
extern.h
6
extern.h
|
@ -1,4 +1,10 @@
|
|||
|
||||
enum screenDimensions
|
||||
{
|
||||
SCREEN_WIDTH = 320,
|
||||
SCREEN_HEIGHT = 180
|
||||
};
|
||||
|
||||
extern int fullscreen;
|
||||
extern int quit;
|
||||
extern int playing;
|
||||
|
|
Loading…
Reference in a new issue