yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::anonymous_namespace{map_properties.cc} Namespace Reference

Functions

bool IsValidMapId (int map_id)
 
int EffectivePropertyMapId (zelda3::Overworld *overworld, int map_id)
 
absl::Status CheckFieldSupported (const Rom *rom, const OverworldPropertyEdit &edit)
 
int MusicRomAddressForMapState (int map_id, int state)
 
bool WriteRomByteIfValid (Rom *rom, int address, uint8_t value)
 
void WriteRomWordIfValid (Rom *rom, int address, uint16_t value)
 
OverworldMapMetadataClipboard CaptureMapMetadataClipboard (const zelda3::Overworld &overworld, int map_id)
 

Function Documentation

◆ IsValidMapId()

bool yaze::editor::anonymous_namespace{map_properties.cc}::IsValidMapId ( int map_id)

Definition at line 41 of file map_properties.cc.

References IsValidMapId(), and yaze::zelda3::kNumOverworldMaps.

Referenced by CaptureMapMetadataClipboard(), EffectivePropertyMapId(), and IsValidMapId().

Here is the call graph for this function:

◆ EffectivePropertyMapId()

int yaze::editor::anonymous_namespace{map_properties.cc}::EffectivePropertyMapId ( zelda3::Overworld * overworld,
int map_id )

Definition at line 45 of file map_properties.cc.

References EffectivePropertyMapId(), IsValidMapId(), and yaze::zelda3::Overworld::mutable_overworld_map().

Referenced by EffectivePropertyMapId().

Here is the call graph for this function:

◆ CheckFieldSupported()

◆ MusicRomAddressForMapState()

int yaze::editor::anonymous_namespace{map_properties.cc}::MusicRomAddressForMapState ( int map_id,
int state )

◆ WriteRomByteIfValid()

bool yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomByteIfValid ( Rom * rom,
int address,
uint8_t value )

Definition at line 129 of file map_properties.cc.

References yaze::Rom::size(), and WriteRomByteIfValid().

Referenced by WriteRomByteIfValid().

Here is the call graph for this function:

◆ WriteRomWordIfValid()

void yaze::editor::anonymous_namespace{map_properties.cc}::WriteRomWordIfValid ( Rom * rom,
int address,
uint16_t value )

Definition at line 137 of file map_properties.cc.

References yaze::Rom::size(), and WriteRomWordIfValid().

Referenced by WriteRomWordIfValid().

Here is the call graph for this function:

◆ CaptureMapMetadataClipboard()