R-PAGE
Resistance's Portable-Adventure-Game-Engine
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
screen_size.h
Go to the documentation of this file.
1 /* Resistance's Portable-Adventure-Game-Engine (R-PAGE), Copyright (C) 2019 François Gutherz, Resistance.no
2  Released under MIT License, see license.txt for details.
3 */
4 
5 #ifdef WIN32
6 #ifndef SCREEN_SIZE
7 #define SCREEN_SIZE
8 
9 #define DEFAULT_WIDTH 320
10 #define DEFAULT_HEIGHT 200
11 #define DISPL_WIDTH (DEFAULT_WIDTH * 2)
12 #define DISPL_HEIGHT (DEFAULT_HEIGHT * 2)
13 #define SCREEN_WIDTH (DEFAULT_WIDTH)
14 #define SCREEN_HEIGHT (DEFAULT_HEIGHT)
15 #define SCREEN_DEPTH 8
16 #define COLOURS (1 << SCREEN_DEPTH)
17 
18 #endif // #ifndef SCREEN_SIZE
19 #endif