yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::rom Namespace Reference

Namespaces

namespace  anonymous_namespace{lyra_layout_descriptor.cc}
 

Classes

struct  DiffSummary
 
class  HyruleMagicValidator
 
struct  LyraLayoutEntry
 
struct  LyraLayoutInspection
 
class  ScopedWriteFence
 
class  WriteFence
 
struct  WriteRange
 

Enumerations

enum class  LyraLayoutPresence { kAbsent , kValid , kInvalid }
 

Functions

LyraLayoutInspection InspectLyraLayout (const uint8_t *image, size_t size)
 
std::optional< std::span< const uint8_t > > LyraLayoutRecord (const LyraLayoutInspection &layout, const uint8_t *image, size_t size, uint16_t table_id, size_t index)
 
std::optional< std::array< uint16_t, 256 > > LyraMapTile32 (const LyraLayoutInspection &layout, const uint8_t *image, size_t size, size_t map_index)
 
DiffSummary ComputeDiffRanges (const std::vector< uint8_t > &before, const std::vector< uint8_t > &after)
 

Enumeration Type Documentation

◆ LyraLayoutPresence

enum class yaze::rom::LyraLayoutPresence
strong
Enumerator
kAbsent 
kValid 
kInvalid 

Definition at line 16 of file lyra_layout_descriptor.h.

Function Documentation

◆ InspectLyraLayout()

◆ LyraLayoutRecord()

std::optional< std::span< const uint8_t > > yaze::rom::LyraLayoutRecord ( const LyraLayoutInspection & layout,
const uint8_t * image,
size_t size,
uint16_t table_id,
size_t index )

◆ LyraMapTile32()

std::optional< std::array< uint16_t, 256 > > yaze::rom::LyraMapTile32 ( const LyraLayoutInspection & layout,
const uint8_t * image,
size_t size,
size_t map_index )

Definition at line 407 of file lyra_layout_descriptor.cc.

References LyraLayoutRecord().

Referenced by yaze::zelda3::Overworld::BuildLyraTerrainPreview().

Here is the call graph for this function:

◆ ComputeDiffRanges()

DiffSummary yaze::rom::ComputeDiffRanges ( const std::vector< uint8_t > & before,
const std::vector< uint8_t > & after )