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#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <stdint.h>
9
13typedef struct snes_color {
14 uint16_t red;
15 uint16_t blue;
16 uint16_t green;
18
22typedef struct snes_palette {
23 unsigned int id;
24 unsigned int size;
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif // YAZE_BASE_SNES_COLOR_H_
struct snes_palette snes_palette
Primitive of a SNES color palette.
struct snes_color snes_color
Primitive of 16-bit RGB SNES color.
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:22
unsigned int id
Definition snes_color.h:23
snes_color * colors
Definition snes_color.h:25
unsigned int size
Definition snes_color.h:24