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