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
5extern "C" {
6#endif
7
8#include <stdint.h>
9#include <stdbool.h>
10
11typedef struct snes_tile8 {
12 uint32_t id;
13 uint32_t palette_id;
14 uint8_t data[64];
16
24
28
29typedef struct snes_tile32 {
30 uint16_t t0;
31 uint16_t t1;
32 uint16_t t2;
33 uint16_t t3;
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif
struct snes_tile_info snes_tile_info
struct snes_tile32 snes_tile32
struct snes_tile16 snes_tile16
struct snes_tile8 snes_tile8
snes_tile_info tiles[4]
Definition snes_tile.h:26
uint16_t t1
Definition snes_tile.h:31
uint16_t t0
Definition snes_tile.h:30
uint16_t t2
Definition snes_tile.h:32
uint16_t t3
Definition snes_tile.h:33
uint32_t id
Definition snes_tile.h:12
uint8_t data[64]
Definition snes_tile.h:14
uint32_t palette_id
Definition snes_tile.h:13
uint8_t palette
Definition snes_tile.h:19
bool vertical_mirror
Definition snes_tile.h:21
uint16_t id
Definition snes_tile.h:18
bool horizontal_mirror
Definition snes_tile.h:22