R-PAGE
Resistance's Portable-Adventure-Game-Engine
Main Page
Related Pages
Data Structures
Files
File List
Globals
rpage
aos
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 LATTICE
6
#ifndef SCREEN_SIZE
7
#define SCREEN_SIZE
8
9
// #define VGA_ENABLED
10
#define DEFAULT_WIDTH 320
11
#define DEFAULT_HEIGHT 200
12
#define DISPL_WIDTH (DEFAULT_WIDTH)
13
#define DISPL_HEIGHT (DEFAULT_HEIGHT)
14
#define SCREEN_WIDTH (DEFAULT_WIDTH)
15
#define SCREEN_HEIGHT (DEFAULT_HEIGHT)
16
#ifdef VGA_ENABLED
17
#define SCREEN_DEPTH 7
18
#else
19
#define SCREEN_DEPTH 5
20
#endif
21
#define COLORS (1 << SCREEN_DEPTH)
22
23
#endif // #ifndef SCREEN_SIZE
24
#endif
Generated by
1.8.11