yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_pit_damage_view_model.cc File Reference

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}
 

Functions

bool yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::IsValidRoomId (uint16_t room_id)
 
std::optional< uint16_t > yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::FirstPitDamageMember (const zelda3::PitDamageTable &table)
 
std::optional< uint16_t > yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::FirstNonPitDamageRoom (const zelda3::PitDamageTable &table, uint16_t fallback)
 
absl::Status yaze::editor::anonymous_namespace{dungeon_pit_damage_view_model.cc}::ValidateTableAndRoom (zelda3::PitDamageTable *table, uint16_t room_id, const char *room_label)
 
PitDamageMembershipState yaze::editor::BuildPitDamageMembershipState (const zelda3::PitDamageTable *table, int room_id, uint16_t replacement_fallback, uint16_t victim_fallback)
 
absl::Status yaze::editor::AddCurrentRoomToPitDamage (zelda3::PitDamageTable *table, uint16_t current_room_id, uint16_t victim_room_id)
 
absl::Status yaze::editor::RemoveCurrentRoomFromPitDamage (zelda3::PitDamageTable *table, uint16_t current_room_id, uint16_t replacement_room_id)