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

Functions

bool IsSingleBitMask (uint8_t mask)
 
absl::Status ValidateZone (const WaterFillZoneEntry &z)
 
std::vector< WaterFillZoneEntryDedupAndSort (std::vector< WaterFillZoneEntry > zones)
 
std::optional< std::string > GuessSymbolPathFromRom (const std::string &rom_path)
 
absl::StatusOr< uint32_t > FindCustomCollisionRoomEndPc (const std::vector< uint8_t > &rom_data, uint32_t start_pc)
 
absl::Status ValidateCustomCollisionDoesNotOverlapWaterFillReserved (const std::vector< uint8_t > &rom_data)
 

Variables

constexpr int kRoomCount = kNumberOfRooms
 
constexpr int kGridSize = 64
 
constexpr int kGridTiles = kGridSize * kGridSize
 
constexpr uint16_t kCollisionSingleTileMarker = 0xF0F0
 
constexpr uint16_t kCollisionEndMarker = 0xFFFF
 

Function Documentation

◆ IsSingleBitMask()

bool yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::IsSingleBitMask ( uint8_t mask)

Definition at line 37 of file water_fill_zone.cc.

References IsSingleBitMask().

Referenced by IsSingleBitMask(), and ValidateZone().

Here is the call graph for this function:

◆ ValidateZone()

absl::Status yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateZone ( const WaterFillZoneEntry & z)

◆ DedupAndSort()

std::vector< WaterFillZoneEntry > yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::DedupAndSort ( std::vector< WaterFillZoneEntry > zones)

Definition at line 62 of file water_fill_zone.cc.

References DedupAndSort().

Referenced by DedupAndSort().

Here is the call graph for this function:

◆ GuessSymbolPathFromRom()

std::optional< std::string > yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::GuessSymbolPathFromRom ( const std::string & rom_path)

Definition at line 78 of file water_fill_zone.cc.

References GuessSymbolPathFromRom().

Referenced by GuessSymbolPathFromRom().

Here is the call graph for this function:

◆ FindCustomCollisionRoomEndPc()

absl::StatusOr< uint32_t > yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::FindCustomCollisionRoomEndPc ( const std::vector< uint8_t > & rom_data,
uint32_t start_pc )

Definition at line 97 of file water_fill_zone.cc.

References FindCustomCollisionRoomEndPc().

Referenced by FindCustomCollisionRoomEndPc(), and ValidateCustomCollisionDoesNotOverlapWaterFillReserved().

Here is the call graph for this function:

◆ ValidateCustomCollisionDoesNotOverlapWaterFillReserved()

absl::Status yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved ( const std::vector< uint8_t > & rom_data)

Variable Documentation

◆ kRoomCount

constexpr int yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::kRoomCount = kNumberOfRooms
constexpr

Definition at line 31 of file water_fill_zone.cc.

◆ kGridSize

constexpr int yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::kGridSize = 64
constexpr

Definition at line 32 of file water_fill_zone.cc.

◆ kGridTiles

constexpr int yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::kGridTiles = kGridSize * kGridSize
constexpr

Definition at line 33 of file water_fill_zone.cc.

Referenced by ValidateZone().

◆ kCollisionSingleTileMarker

constexpr uint16_t yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::kCollisionSingleTileMarker = 0xF0F0
constexpr

Definition at line 34 of file water_fill_zone.cc.

◆ kCollisionEndMarker

constexpr uint16_t yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::kCollisionEndMarker = 0xFFFF
constexpr

Definition at line 35 of file water_fill_zone.cc.