yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld.h
Go to the documentation of this file.
1#ifndef YAZE_OVERWORLD_H
2#define YAZE_OVERWORLD_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <stdint.h>
9
10#include "sprite.h"
11
15typedef struct z3_overworld_map {
16 uint8_t id;
17 uint8_t parent_id;
18 uint8_t quadrant_id;
19 uint8_t world_id;
20 uint8_t game_state;
22 uint8_t area_palette;
23
24 uint8_t sprite_graphics[3];
25 uint8_t sprite_palette[3];
26 uint8_t area_music[4];
27 uint8_t static_graphics[16];
29
33typedef struct z3_overworld {
34 void *impl; // yaze::app::Overworld*
35
36 uint8_t *tile32_data;
37 uint8_t *tile16_data;
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif // YAZE_OVERWORLD_H
struct z3_overworld z3_overworld
Primitive of the overworld.
struct z3_overworld_map z3_overworld_map
Primitive of an overworld map.
Primitive of an overworld map.
Definition overworld.h:15
uint8_t game_state
Definition overworld.h:20
uint8_t area_music[4]
Definition overworld.h:26
uint8_t area_palette
Definition overworld.h:22
uint8_t world_id
Definition overworld.h:19
uint8_t sprite_palette[3]
Definition overworld.h:25
uint8_t quadrant_id
Definition overworld.h:18
uint8_t static_graphics[16]
Definition overworld.h:27
uint8_t sprite_graphics[3]
Definition overworld.h:24
uint8_t area_graphics
Definition overworld.h:21
uint8_t parent_id
Definition overworld.h:17
Primitive of the overworld.
Definition overworld.h:33
void * impl
Definition overworld.h:34
uint8_t * tile32_data
Definition overworld.h:36
z3_overworld_map ** maps
Definition overworld.h:40
z3_sprite ** sprites
Definition overworld.h:39
uint8_t * tile16_data
Definition overworld.h:37
Primitive of a sprite.
Definition sprite.h:13