Functions | |
| bool | IsSingleBitMask (uint8_t mask) |
| absl::Status | ValidateZone (const WaterFillZoneEntry &z) |
| std::vector< WaterFillZoneEntry > | DedupAndSort (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 |
| 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().

| absl::Status yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateZone | ( | const WaterFillZoneEntry & | z | ) |
Definition at line 41 of file water_fill_zone.cc.
References yaze::zelda3::WaterFillZoneEntry::fill_offsets, IsSingleBitMask(), kGridTiles, yaze::zelda3::WaterFillZoneEntry::room_id, yaze::zelda3::WaterFillZoneEntry::sram_bit_mask, and ValidateZone().
Referenced by ValidateZone().

| 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().

| 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().

| 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().

| absl::Status yaze::zelda3::anonymous_namespace{water_fill_zone.cc}::ValidateCustomCollisionDoesNotOverlapWaterFillReserved | ( | const std::vector< uint8_t > & | rom_data | ) |
Definition at line 137 of file water_fill_zone.cc.
References ASSIGN_OR_RETURN, FindCustomCollisionRoomEndPc(), yaze::zelda3::kCustomCollisionDataSoftEnd, yaze::zelda3::kCustomCollisionRoomPointers, yaze::zelda3::kNumberOfRooms, yaze::zelda3::kWaterFillTableEnd, yaze::zelda3::kWaterFillTableStart, yaze::SnesToPc(), and ValidateCustomCollisionDoesNotOverlapWaterFillReserved().
Referenced by ValidateCustomCollisionDoesNotOverlapWaterFillReserved().

|
constexpr |
Definition at line 31 of file water_fill_zone.cc.
|
constexpr |
Definition at line 32 of file water_fill_zone.cc.
|
constexpr |
Definition at line 33 of file water_fill_zone.cc.
Referenced by ValidateZone().
|
constexpr |
Definition at line 34 of file water_fill_zone.cc.
|
constexpr |
Definition at line 35 of file water_fill_zone.cc.