Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
palette.h
Go to the documentation of this file.
1
12#ifndef _PALETTE_H_
13#define _PALETTE_H_
14
15#include <stdint.h>
16
17extern const uint16_t paletteColors[];
18
22typedef enum __attribute__((packed))
23{
242
243#endif
const uint16_t paletteColors[]
The 16-bit color values for paletteColor_t to actually draw to the TFT.
Definition palette.c:12
paletteColor_t
All 216 possible colors, named like cRGB.
Definition palette.h:23
@ c035
r = 0, g = 3, b = 5
Definition palette.h:47
@ c401
r = 4, g = 0, b = 1
Definition palette.h:169
@ c454
r = 4, g = 5, b = 4
Definition palette.h:202
@ c210
r = 2, g = 1, b = 0
Definition palette.h:102
@ c020
r = 0, g = 2, b = 0
Definition palette.h:36
@ c243
r = 2, g = 4, b = 3
Definition palette.h:123
@ c553
r = 5, g = 5, b = 3
Definition palette.h:237
@ c153
r = 1, g = 5, b = 3
Definition palette.h:93
@ c205
r = 2, g = 0, b = 5
Definition palette.h:101
@ c100
r = 1, g = 0, b = 0
Definition palette.h:60
@ c520
r = 5, g = 2, b = 0
Definition palette.h:216
@ c551
r = 5, g = 5, b = 1
Definition palette.h:235
@ c235
r = 2, g = 3, b = 5
Definition palette.h:119
@ c122
r = 1, g = 2, b = 2
Definition palette.h:74
@ c054
r = 0, g = 5, b = 4
Definition palette.h:58
@ c254
r = 2, g = 5, b = 4
Definition palette.h:130
@ c033
r = 0, g = 3, b = 3
Definition palette.h:45
@ c555
r = 5, g = 5, b = 5
Definition palette.h:239
@ c040
r = 0, g = 4, b = 0
Definition palette.h:48
@ c441
r = 4, g = 4, b = 1
Definition palette.h:193
@ c440
r = 4, g = 4, b = 0
Definition palette.h:192
@ c443
r = 4, g = 4, b = 3
Definition palette.h:195
@ c315
r = 3, g = 1, b = 5
Definition palette.h:143
@ c353
r = 3, g = 5, b = 3
Definition palette.h:165
@ c005
r = 0, g = 0, b = 5
Definition palette.h:29
@ c513
r = 5, g = 1, b = 3
Definition palette.h:213
@ c442
r = 4, g = 4, b = 2
Definition palette.h:194
@ c015
r = 0, g = 1, b = 5
Definition palette.h:35
@ c534
r = 5, g = 3, b = 4
Definition palette.h:226
@ c355
r = 3, g = 5, b = 5
Definition palette.h:167
@ c240
r = 2, g = 4, b = 0
Definition palette.h:120
@ c150
r = 1, g = 5, b = 0
Definition palette.h:90
@ c332
r = 3, g = 3, b = 2
Definition palette.h:152
@ c212
r = 2, g = 1, b = 2
Definition palette.h:104
@ c120
r = 1, g = 2, b = 0
Definition palette.h:72
@ c330
r = 3, g = 3, b = 0
Definition palette.h:150
@ c325
r = 3, g = 2, b = 5
Definition palette.h:149
@ c545
r = 5, g = 4, b = 5
Definition palette.h:233
@ c521
r = 5, g = 2, b = 1
Definition palette.h:217
@ c505
r = 5, g = 0, b = 5
Definition palette.h:209
@ c012
r = 0, g = 1, b = 2
Definition palette.h:32
@ c232
r = 2, g = 3, b = 2
Definition palette.h:116
@ c533
r = 5, g = 3, b = 3
Definition palette.h:225
@ c013
r = 0, g = 1, b = 3
Definition palette.h:33
@ c032
r = 0, g = 3, b = 2
Definition palette.h:44
@ c512
r = 5, g = 1, b = 2
Definition palette.h:212
@ c151
r = 1, g = 5, b = 1
Definition palette.h:91
@ c350
r = 3, g = 5, b = 0
Definition palette.h:162
@ c105
r = 1, g = 0, b = 5
Definition palette.h:65
@ c320
r = 3, g = 2, b = 0
Definition palette.h:144
@ c011
r = 0, g = 1, b = 1
Definition palette.h:31
@ c405
r = 4, g = 0, b = 5
Definition palette.h:173
@ c413
r = 4, g = 1, b = 3
Definition palette.h:177
@ c101
r = 1, g = 0, b = 1
Definition palette.h:61
@ c220
r = 2, g = 2, b = 0
Definition palette.h:108
@ c504
r = 5, g = 0, b = 4
Definition palette.h:208
@ c421
r = 4, g = 2, b = 1
Definition palette.h:181
@ c345
r = 3, g = 4, b = 5
Definition palette.h:161
@ c511
r = 5, g = 1, b = 1
Definition palette.h:211
@ c213
r = 2, g = 1, b = 3
Definition palette.h:105
@ c145
r = 1, g = 4, b = 5
Definition palette.h:89
@ c314
r = 3, g = 1, b = 4
Definition palette.h:142
@ c414
r = 4, g = 1, b = 4
Definition palette.h:178
@ c104
r = 1, g = 0, b = 4
Definition palette.h:64
@ c204
r = 2, g = 0, b = 4
Definition palette.h:100
@ c231
r = 2, g = 3, b = 1
Definition palette.h:115
@ c301
r = 3, g = 0, b = 1
Definition palette.h:133
@ c130
r = 1, g = 3, b = 0
Definition palette.h:78
@ c433
r = 4, g = 3, b = 3
Definition palette.h:189
@ c112
r = 1, g = 1, b = 2
Definition palette.h:68
@ c134
r = 1, g = 3, b = 4
Definition palette.h:82
@ c245
r = 2, g = 4, b = 5
Definition palette.h:125
@ c411
r = 4, g = 1, b = 1
Definition palette.h:175
@ c342
r = 3, g = 4, b = 2
Definition palette.h:158
@ c143
r = 1, g = 4, b = 3
Definition palette.h:87
@ c214
r = 2, g = 1, b = 4
Definition palette.h:106
@ c354
r = 3, g = 5, b = 4
Definition palette.h:166
@ c540
r = 5, g = 4, b = 0
Definition palette.h:228
@ c532
r = 5, g = 3, b = 2
Definition palette.h:224
@ c412
r = 4, g = 1, b = 2
Definition palette.h:176
@ c523
r = 5, g = 2, b = 3
Definition palette.h:219
@ c121
r = 1, g = 2, b = 1
Definition palette.h:73
@ c424
r = 4, g = 2, b = 4
Definition palette.h:184
@ c311
r = 3, g = 1, b = 1
Definition palette.h:139
@ c142
r = 1, g = 4, b = 2
Definition palette.h:86
@ c420
r = 4, g = 2, b = 0
Definition palette.h:180
@ c351
r = 3, g = 5, b = 1
Definition palette.h:163
@ c544
r = 5, g = 4, b = 4
Definition palette.h:232
@ c312
r = 3, g = 1, b = 2
Definition palette.h:140
@ c340
r = 3, g = 4, b = 0
Definition palette.h:156
@ c530
r = 5, g = 3, b = 0
Definition palette.h:222
@ c052
r = 0, g = 5, b = 2
Definition palette.h:56
@ c543
r = 5, g = 4, b = 3
Definition palette.h:231
@ c450
r = 4, g = 5, b = 0
Definition palette.h:198
@ c542
r = 5, g = 4, b = 2
Definition palette.h:230
@ c430
r = 4, g = 3, b = 0
Definition palette.h:186
@ c343
r = 3, g = 4, b = 3
Definition palette.h:159
@ c432
r = 4, g = 3, b = 2
Definition palette.h:188
@ c431
r = 4, g = 3, b = 1
Definition palette.h:187
@ c451
r = 4, g = 5, b = 1
Definition palette.h:199
@ c132
r = 1, g = 3, b = 2
Definition palette.h:80
@ c502
r = 5, g = 0, b = 2
Definition palette.h:206
@ c111
r = 1, g = 1, b = 1
Definition palette.h:67
@ c055
r = 0, g = 5, b = 5
Definition palette.h:59
@ c253
r = 2, g = 5, b = 3
Definition palette.h:129
@ c250
r = 2, g = 5, b = 0
Definition palette.h:126
@ c103
r = 1, g = 0, b = 3
Definition palette.h:63
@ c425
r = 4, g = 2, b = 5
Definition palette.h:185
@ c025
r = 0, g = 2, b = 5
Definition palette.h:41
@ c531
r = 5, g = 3, b = 1
Definition palette.h:223
@ c525
r = 5, g = 2, b = 5
Definition palette.h:221
@ c043
r = 0, g = 4, b = 3
Definition palette.h:51
@ c144
r = 1, g = 4, b = 4
Definition palette.h:88
@ c234
r = 2, g = 3, b = 4
Definition palette.h:118
@ c030
r = 0, g = 3, b = 0
Definition palette.h:42
@ c041
r = 0, g = 4, b = 1
Definition palette.h:49
@ c203
r = 2, g = 0, b = 3
Definition palette.h:99
@ c510
r = 5, g = 1, b = 0
Definition palette.h:210
@ c152
r = 1, g = 5, b = 2
Definition palette.h:92
@ c141
r = 1, g = 4, b = 1
Definition palette.h:85
@ c223
r = 2, g = 2, b = 3
Definition palette.h:111
@ c333
r = 3, g = 3, b = 3
Definition palette.h:153
@ c123
r = 1, g = 2, b = 3
Definition palette.h:75
@ c455
r = 4, g = 5, b = 5
Definition palette.h:203
@ c124
r = 1, g = 2, b = 4
Definition palette.h:76
@ c303
r = 3, g = 0, b = 3
Definition palette.h:135
@ c402
r = 4, g = 0, b = 2
Definition palette.h:170
@ c434
r = 4, g = 3, b = 4
Definition palette.h:190
@ c023
r = 0, g = 2, b = 3
Definition palette.h:39
@ c321
r = 3, g = 2, b = 1
Definition palette.h:145
@ c230
r = 2, g = 3, b = 0
Definition palette.h:114
@ c410
r = 4, g = 1, b = 0
Definition palette.h:174
@ c252
r = 2, g = 5, b = 2
Definition palette.h:128
@ c255
r = 2, g = 5, b = 5
Definition palette.h:131
@ c010
r = 0, g = 1, b = 0
Definition palette.h:30
@ c102
r = 1, g = 0, b = 2
Definition palette.h:62
@ c541
r = 5, g = 4, b = 1
Definition palette.h:229
@ c000
r = 0, g = 0, b = 0
Definition palette.h:24
@ c302
r = 3, g = 0, b = 2
Definition palette.h:134
@ c334
r = 3, g = 3, b = 4
Definition palette.h:154
@ c242
r = 2, g = 4, b = 2
Definition palette.h:122
@ c514
r = 5, g = 1, b = 4
Definition palette.h:214
@ cTransparent
Transparent, will not draw over other pixels.
Definition palette.h:240
@ c044
r = 0, g = 4, b = 4
Definition palette.h:52
@ c201
r = 2, g = 0, b = 1
Definition palette.h:97
@ c452
r = 4, g = 5, b = 2
Definition palette.h:200
@ c114
r = 1, g = 1, b = 4
Definition palette.h:70
@ c524
r = 5, g = 2, b = 4
Definition palette.h:220
@ c125
r = 1, g = 2, b = 5
Definition palette.h:77
@ c215
r = 2, g = 1, b = 5
Definition palette.h:107
@ c251
r = 2, g = 5, b = 1
Definition palette.h:127
@ c021
r = 0, g = 2, b = 1
Definition palette.h:37
@ c115
r = 1, g = 1, b = 5
Definition palette.h:71
@ c554
r = 5, g = 5, b = 4
Definition palette.h:238
@ c200
r = 2, g = 0, b = 0
Definition palette.h:96
@ c415
r = 4, g = 1, b = 5
Definition palette.h:179
@ c304
r = 3, g = 0, b = 4
Definition palette.h:136
@ c022
r = 0, g = 2, b = 2
Definition palette.h:38
@ c323
r = 3, g = 2, b = 3
Definition palette.h:147
@ c550
r = 5, g = 5, b = 0
Definition palette.h:234
@ c225
r = 2, g = 2, b = 5
Definition palette.h:113
@ c335
r = 3, g = 3, b = 5
Definition palette.h:155
@ c004
r = 0, g = 0, b = 4
Definition palette.h:28
@ c211
r = 2, g = 1, b = 1
Definition palette.h:103
@ c135
r = 1, g = 3, b = 5
Definition palette.h:83
@ c050
r = 0, g = 5, b = 0
Definition palette.h:54
@ c155
r = 1, g = 5, b = 5
Definition palette.h:95
@ c034
r = 0, g = 3, b = 4
Definition palette.h:46
@ c501
r = 5, g = 0, b = 1
Definition palette.h:205
@ c403
r = 4, g = 0, b = 3
Definition palette.h:171
@ c444
r = 4, g = 4, b = 4
Definition palette.h:196
@ c313
r = 3, g = 1, b = 3
Definition palette.h:141
@ c024
r = 0, g = 2, b = 4
Definition palette.h:40
@ c344
r = 3, g = 4, b = 4
Definition palette.h:160
@ c003
r = 0, g = 0, b = 3
Definition palette.h:27
@ c001
r = 0, g = 0, b = 1
Definition palette.h:25
@ c515
r = 5, g = 1, b = 5
Definition palette.h:215
@ c222
r = 2, g = 2, b = 2
Definition palette.h:110
@ c202
r = 2, g = 0, b = 2
Definition palette.h:98
@ c140
r = 1, g = 4, b = 0
Definition palette.h:84
@ c324
r = 3, g = 2, b = 4
Definition palette.h:148
@ c133
r = 1, g = 3, b = 3
Definition palette.h:81
@ c435
r = 4, g = 3, b = 5
Definition palette.h:191
@ c014
r = 0, g = 1, b = 4
Definition palette.h:34
@ c552
r = 5, g = 5, b = 2
Definition palette.h:236
@ c244
r = 2, g = 4, b = 4
Definition palette.h:124
@ c522
r = 5, g = 2, b = 2
Definition palette.h:218
@ c331
r = 3, g = 3, b = 1
Definition palette.h:151
@ c051
r = 0, g = 5, b = 1
Definition palette.h:55
@ c404
r = 4, g = 0, b = 4
Definition palette.h:172
@ c042
r = 0, g = 4, b = 2
Definition palette.h:50
@ c535
r = 5, g = 3, b = 5
Definition palette.h:227
@ c241
r = 2, g = 4, b = 1
Definition palette.h:121
@ c131
r = 1, g = 3, b = 1
Definition palette.h:79
@ c224
r = 2, g = 2, b = 4
Definition palette.h:112
@ c453
r = 4, g = 5, b = 3
Definition palette.h:201
@ c305
r = 3, g = 0, b = 5
Definition palette.h:137
@ c221
r = 2, g = 2, b = 1
Definition palette.h:109
@ c110
r = 1, g = 1, b = 0
Definition palette.h:66
@ c233
r = 2, g = 3, b = 3
Definition palette.h:117
@ c445
r = 4, g = 4, b = 5
Definition palette.h:197
@ c002
r = 0, g = 0, b = 2
Definition palette.h:26
@ c422
r = 4, g = 2, b = 2
Definition palette.h:182
@ c400
r = 4, g = 0, b = 0
Definition palette.h:168
@ c045
r = 0, g = 4, b = 5
Definition palette.h:53
@ c341
r = 3, g = 4, b = 1
Definition palette.h:157
@ c031
r = 0, g = 3, b = 1
Definition palette.h:43
@ c300
r = 3, g = 0, b = 0
Definition palette.h:132
@ c503
r = 5, g = 0, b = 3
Definition palette.h:207
@ c053
r = 0, g = 5, b = 3
Definition palette.h:57
@ c154
r = 1, g = 5, b = 4
Definition palette.h:94
@ c310
r = 3, g = 1, b = 0
Definition palette.h:138
@ c322
r = 3, g = 2, b = 2
Definition palette.h:146
@ c113
r = 1, g = 1, b = 3
Definition palette.h:69
@ c500
r = 5, g = 0, b = 0
Definition palette.h:204
@ c352
r = 3, g = 5, b = 2
Definition palette.h:164
@ c423
r = 4, g = 2, b = 3
Definition palette.h:183