yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::core::DungeonStreamLayout Struct Reference

Explicit pointer and storage layout for one dungeon stream. More...

#include <hack_manifest.h>

Public Attributes

uint32_t pointer_table = 0
 
uint32_t pointer_count = 0
 
DungeonPointerEncoding pointer_encoding = DungeonPointerEncoding::kLong24
 
std::optional< uint8_t > pointer_bank
 
DungeonWriteStrategy strategy = DungeonWriteStrategy::kCopyOnWrite
 
std::vector< SnesAddressRangedata_regions
 
std::vector< SnesAddressRangeallocation_regions
 

Detailed Description

Explicit pointer and storage layout for one dungeon stream.

data_regions describe all live stream storage that may be referenced by the pointer table. allocation_regions are the stricter subset that new writes may allocate from. Keeping these concepts separate prevents an allocator from treating merely readable legacy data as free space.

Definition at line 156 of file hack_manifest.h.

Member Data Documentation

◆ pointer_table

◆ pointer_count

◆ pointer_encoding

◆ pointer_bank

◆ strategy

◆ data_regions

◆ allocation_regions


The documentation for this struct was generated from the following file: