yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
snes_color.h
Go to the documentation of this file.
1#ifndef YAZE_BASE_SNES_COLOR_H_
2#define YAZE_BASE_SNES_COLOR_H_
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
13struct snes_color {
14 uint16_t red;
15 uint16_t blue;
16 uint16_t green;
17};
18typedef struct snes_color snes_color;
19
24 unsigned int id;
25 unsigned int size;
27};
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif // YAZE_BASE_SNES_COLOR_H_
Primitive of 16-bit RGB SNES color.
Definition snes_color.h:13
uint16_t green
Definition snes_color.h:16
uint16_t red
Definition snes_color.h:14
uint16_t blue
Definition snes_color.h:15
Primitive of a SNES color palette.
Definition snes_color.h:23
unsigned int id
Definition snes_color.h:24
snes_color * colors
Definition snes_color.h:26
unsigned int size
Definition snes_color.h:25