yaze
0.2.0
Link to the Past ROM Editor
Loading...
Searching...
No Matches
snes_tile.h
Go to the documentation of this file.
1
#ifndef YAZE_INCL_SNES_TILE_H
2
#define YAZE_INCL_SNES_TILE_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <stdint.h>
9
#include <stdbool.h>
10
11
typedef
struct
snes_tile8
{
12
uint32_t
id
;
13
uint32_t
palette_id
;
14
uint8_t
data
[64];
15
}
snes_tile8
;
16
17
typedef
struct
snes_tile_info
{
18
uint16_t
id
;
19
uint8_t
palette
;
20
bool
priority
;
21
bool
vertical_mirror
;
22
bool
horizontal_mirror
;
23
}
snes_tile_info
;
24
25
typedef
struct
snes_tile16
{
26
snes_tile_info
tiles
[4];
27
}
snes_tile16
;
28
29
typedef
struct
snes_tile32
{
30
uint16_t
t0
;
31
uint16_t
t1
;
32
uint16_t
t2
;
33
uint16_t
t3
;
34
}
snes_tile32
;
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
snes_tile_info
struct snes_tile_info snes_tile_info
snes_tile32
struct snes_tile32 snes_tile32
snes_tile16
struct snes_tile16 snes_tile16
snes_tile8
struct snes_tile8 snes_tile8
snes_tile16
Definition
snes_tile.h:25
snes_tile16::tiles
snes_tile_info tiles[4]
Definition
snes_tile.h:26
snes_tile32
Definition
snes_tile.h:29
snes_tile32::t1
uint16_t t1
Definition
snes_tile.h:31
snes_tile32::t0
uint16_t t0
Definition
snes_tile.h:30
snes_tile32::t2
uint16_t t2
Definition
snes_tile.h:32
snes_tile32::t3
uint16_t t3
Definition
snes_tile.h:33
snes_tile8
Definition
snes_tile.h:11
snes_tile8::id
uint32_t id
Definition
snes_tile.h:12
snes_tile8::data
uint8_t data[64]
Definition
snes_tile.h:14
snes_tile8::palette_id
uint32_t palette_id
Definition
snes_tile.h:13
snes_tile_info
Definition
snes_tile.h:17
snes_tile_info::palette
uint8_t palette
Definition
snes_tile.h:19
snes_tile_info::priority
bool priority
Definition
snes_tile.h:20
snes_tile_info::vertical_mirror
bool vertical_mirror
Definition
snes_tile.h:21
snes_tile_info::id
uint16_t id
Definition
snes_tile.h:18
snes_tile_info::horizontal_mirror
bool horizontal_mirror
Definition
snes_tile.h:22
incl
snes_tile.h
Generated by
1.12.0