-
Notifications
You must be signed in to change notification settings - Fork 0
/
My_settings.h
156 lines (106 loc) · 4.22 KB
/
My_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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
// This file is organized into the following sections:
// COMMON - Stuff you are very likely to customize
// SOUND - All the sound-related options
// TASMODE - Settings specific to TASMode
// MISC - Other stuff
// ---- SECTION: COMMON ----
// Choose a Screen Mode
// For more information on each mode, see:
// https://talk.pokitto.com/t/wiki-5-pokitto-screen-modes/1180
// Optional. Default is MODE_FAST_16COLOR.
#define PROJ_SCREENMODE TASMODE
//#define PROJ_SCREENMODE MODE_HI_4COLOR
//#define PROJ_SCREENMODE MODE13
//#define PROJ_SCREENMODE MODE13
//#define PROJ_SCREENMODE MODE15
//#define PROJ_SCREENMODE MODE64
//#define PROJ_SCREENMODE MIXMODE
//#define PROJ_SCREENMODE TASMODE // See also SECTION: TASMODE
// Show the actual framerate
// Optional. Uncomment this define to show.
// #define PROJ_SHOW_FPS_COUNTER
// Limit the framerate so the game doesn't run too fast
// Optional. Default is 30.
#define PROJ_FPS 200
// Choose how to use Pokitto's "extra" 4kb of RAM.
// Optional. Can be:
// HIGH_RAM_OFF - Needed for USB to work
// HIGH_RAM_ON - Simply enable the RAM hardware
// HIGH_RAM_MUSIC - Enable and move the soud buffers to high RAM
// Default is HIGH_RAM_OFF.
#define PROJ_HIGH_RAM HIGH_RAM_OFF
// ---- SECTION: SOUND ----
// Choose whether to enable sound or not.
// Optional. Can be 0 or 1. Default is 1.
#define PROJ_ENABLE_SOUND 1
// Enable Pokitto::Sound::playSFX
// Optional. Comment to disable.
#define PROJ_ENABLE_SFX
// Enable streaming music from SD
// Optional. Comment to disable.
#define PROJ_ENABLE_SD_MUSIC
// Defines the rate your audio has been encoded with.
// A higher rate sounds better but takes up more CPU
// and Flash space.
// Optional. Default is 22050.
#define PROJ_AUD_FREQ 8000
// Automatically restart streaming music when it ends.
// Optional. Default is 1.
#define PROJ_STREAM_LOOP 1
// Tell the sound system which SD library to use.
// If you use one of these libraries, it's important that sound
// is streamed using the same one.
// Optional. Default is PokittoDisk (PFFS).
// #define PROJ_SDFS_STREAMING
// #define PROJ_FILE_STREAMING
// Enable Synth
// Optional. Can be 0 or 1. Default is 0.
#define PROJ_ENABLE_SYNTH 0
// ---- SECTION: TASMODE ----
// These settings only apply to TASMODE
// Choose the maximum amount of sprites that can be drawn per frame.
// Higher values consume more RAM.
// Optional. Default is 100.
#define PROJ_MAX_SPRITES 100
// Choose the height in pixels of each tile
// Higher values consume more RAM.
// Optional. Default is 16.
#define PROJ_TILE_H 16
// Choose the width in pixels of each tile
// Higher values consume more RAM.
// Optional. Default is 16.
#define PROJ_TILE_W 16
// ---- SECTION: TASUI ----
// These settings only apply to TASUI (and requires TASMODE)
// Enable TASUI with the default settings (CLUT)
// Consumes approximately 64 + TASUI_COLUMNS*TASUI_ROWS bytes of RAM + 256 (if CLUT is enabled) + TASUI_COLUMNS*TASUI_ROWS (if TILE_DELTA is enabled).
#define TASUI
// Size of the UI Tilemap.
// Lower values will cover less visible area, but will also lower RAM and CPU consumption.
// Optional. Default will be enough to cover the screen.
// #define TASUI_COLUMNS 37
// #define TASUI_ROWS 30
// Enable transparent pixels in individual tiles.
// Tile #0 is always fully transparent, no matter this value.
// Optional. Default is 1.
#define TASUI_TILE_TRANSPARENCY 1
// Enable the Color LookUp Table.
// Allow remapping UI colors, including to transparency.
// Consumes 256 bytes of RAM and more CPU when enabled.
// Optional. Default is 1.
#define TASUI_CLUT 1
// Enable per-tile recoloration with an offset.
// Consumes additional TASUI_COLUMNS*TASUI_ROWS bytes of RAM and slightly more CPU when enabled.
// When disabled, any Delta-related API will do nothing.
// Optional. Default is 1.
#define TASUI_TILE_DELTA 1
// ---- SECTION: MISC ----
// Skips the initial Pokitto/Loader/Volume screens.
// Don't release binaries with this enabled!
// Optional. Can be 0 or 1, default is 0.
#define PROJ_DEVELOPER_MODE 0
// Tells the Tilemap library if tiles are stored in
// 1-tile-per-byte (256 tiles maximum) or
// 2-tiles-per-byte (16 tiles maximum) format.
// Optional. Can be 16 or 256. Default is 16.
#define MAX_TILE_COUNT 256