yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
object_draw_code.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_DUNGEON_OBJECT_DRAW_CODE_H
2#define YAZE_ZELDA3_DUNGEON_OBJECT_DRAW_CODE_H
3
4#include <cstdint>
5#include <vector>
6
7namespace yaze {
8class Rom;
9}
10
11namespace yaze::zelda3 {
12
20 int object_id = -1;
21 uint32_t routine_start = 0;
22 // Exclusive estimate: the next dispatched routine's start, at most 256
23 // bytes on.
24 uint32_t routine_end = 0;
25 // The routine starts with JSL/JML into bank $20 or above, i.e. into code
26 // outside the original 1 MB game (a ROM hack's replacement).
28 uint32_t jump_target = 0;
29};
30
31std::vector<ObjectDrawCode> ReadObjectDrawCode(const Rom& rom);
32
33} // namespace yaze::zelda3
34
35#endif // YAZE_ZELDA3_DUNGEON_OBJECT_DRAW_CODE_H
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Definition rom.h:49
Zelda 3 specific classes and functions.
std::vector< ObjectDrawCode > ReadObjectDrawCode(const Rom &rom)
Where the loaded ROM's code draws one room object.