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