forked from corax89/esp8266_game_engine
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsettings.h
35 lines (32 loc) · 893 Bytes
/
settings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#define ESPBOY
#define RAM_SIZE 20 * 1024
#define FREQUENCY 160 // valid 80, 160
#define APPSK "87654321"
#define BUILD_VERSION_MAJOR "1"
#define BUILD_VERSION_MINOR "010"
#ifdef ESPBOY
#define APSSID "ESPboy"
#define APHOST "espboy"
#else
#define APSSID "ESPlge"
#define APHOST "esplge"
#define SOUNDPIN -1
#define DEBUG_ON_SCREEN
#endif
#define SCREEN_WIDTH 128
#define SCREEN_WIDTH_BYTES 64
#define SCREEN_HEIGHT 128
#ifdef ESPBOY
#define SCREEN_REAL_WIDTH 128
#define SCREEN_REAL_HEIGHT 128
#else
#define SCREEN_REAL_WIDTH 320
#define SCREEN_REAL_HEIGHT 240
#endif
#define SCREEN_SIZE (SCREEN_HEIGHT * SCREEN_WIDTH_BYTES)
#define SCREEN_ARRAY_DEF SCREEN_SIZE
#define SCREEN_ADDR(x, y) ((int(y) << 6) + int(x))
#define MULTIPLY_FP_RESOLUTION_BITS 8
#define PARTICLE_COUNT 32
#define SPRITE_COUNT 32
#define EEPROM_SIZE 512