yaze
0.2.0
Link to the Past ROM Editor
Loading...
Searching...
No Matches
dungeon.h
Go to the documentation of this file.
1
#ifndef YAZE_BASE_DUNGEON_H_
2
#define YAZE_BASE_DUNGEON_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <stdbool.h>
9
#include <stdint.h>
10
11
typedef
struct
z3_object_door
{
12
short
id
;
13
uint8_t
x
;
14
uint8_t
y
;
15
uint8_t
size
;
16
uint8_t
type
;
17
uint8_t
layer
;
18
}
z3_object_door
;
19
20
typedef
struct
z3_dungeon_destination
{
21
uint8_t
index
;
22
uint8_t
target
;
23
uint8_t
target_layer
;
24
}
z3_dungeon_destination
;
25
26
typedef
struct
z3_staircase
{
27
uint8_t
id
;
28
uint8_t
room
;
29
const
char
*
label
;
30
}
z3_staircase
;
31
32
typedef
struct
z3_chest
{
33
uint8_t
x
;
34
uint8_t
y
;
35
uint8_t
item
;
36
bool
picker
;
37
bool
big_chest
;
38
}
z3_chest
;
39
40
typedef
struct
z3_chest_data
{
41
uint8_t
id
;
42
bool
size
;
43
}
z3_chest_data
;
44
45
typedef
enum
z3_dungeon_background2
{
46
Off
,
47
Parallax
,
48
Dark
,
49
OnTop
,
50
Translucent
,
51
Addition
,
52
Normal
,
53
Transparent
,
54
DarkRoom
55
}
z3_dungeon_background2
;
56
57
#ifdef __cplusplus
58
}
59
#endif
60
61
#endif
// YAZE_BASE_DUNGEON_H_
z3_staircase
struct z3_staircase z3_staircase
z3_chest_data
struct z3_chest_data z3_chest_data
z3_chest
struct z3_chest z3_chest
z3_object_door
struct z3_object_door z3_object_door
z3_dungeon_destination
struct z3_dungeon_destination z3_dungeon_destination
z3_dungeon_background2
z3_dungeon_background2
Definition
dungeon.h:45
Parallax
@ Parallax
Definition
dungeon.h:47
Translucent
@ Translucent
Definition
dungeon.h:50
Normal
@ Normal
Definition
dungeon.h:52
Addition
@ Addition
Definition
dungeon.h:51
OnTop
@ OnTop
Definition
dungeon.h:49
Dark
@ Dark
Definition
dungeon.h:48
DarkRoom
@ DarkRoom
Definition
dungeon.h:54
Transparent
@ Transparent
Definition
dungeon.h:53
Off
@ Off
Definition
dungeon.h:46
z3_chest_data
Definition
dungeon.h:40
z3_chest_data::id
uint8_t id
Definition
dungeon.h:41
z3_chest_data::size
bool size
Definition
dungeon.h:42
z3_chest
Definition
dungeon.h:32
z3_chest::big_chest
bool big_chest
Definition
dungeon.h:37
z3_chest::y
uint8_t y
Definition
dungeon.h:34
z3_chest::item
uint8_t item
Definition
dungeon.h:35
z3_chest::picker
bool picker
Definition
dungeon.h:36
z3_chest::x
uint8_t x
Definition
dungeon.h:33
z3_dungeon_destination
Definition
dungeon.h:20
z3_dungeon_destination::index
uint8_t index
Definition
dungeon.h:21
z3_dungeon_destination::target
uint8_t target
Definition
dungeon.h:22
z3_dungeon_destination::target_layer
uint8_t target_layer
Definition
dungeon.h:23
z3_object_door
Definition
dungeon.h:11
z3_object_door::type
uint8_t type
Definition
dungeon.h:16
z3_object_door::size
uint8_t size
Definition
dungeon.h:15
z3_object_door::y
uint8_t y
Definition
dungeon.h:14
z3_object_door::layer
uint8_t layer
Definition
dungeon.h:17
z3_object_door::id
short id
Definition
dungeon.h:12
z3_object_door::x
uint8_t x
Definition
dungeon.h:13
z3_staircase
Definition
dungeon.h:26
z3_staircase::label
const char * label
Definition
dungeon.h:29
z3_staircase::room
uint8_t room
Definition
dungeon.h:28
z3_staircase::id
uint8_t id
Definition
dungeon.h:27
incl
dungeon.h
Generated by
1.12.0