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

Namespaces

namespace  anonymous_namespace{overworld_inspect.cc}
 

Classes

struct  EntranceDetails
 
struct  MapSummary
 
struct  OverworldSprite
 
struct  SpriteQuery
 
struct  TileMatch
 
struct  TileSearchOptions
 
struct  TileStatistics
 
struct  WarpEntry
 
struct  WarpQuery
 

Enumerations

enum class  WarpType { kEntrance , kHole , kExit }
 

Functions

absl::StatusOr< int > ParseNumeric (std::string_view value, int base)
 
absl::StatusOr< int > ParseWorldSpecifier (std::string_view value)
 
absl::StatusOr< int > InferWorldFromMapId (int map_id)
 
std::string WorldName (int world)
 
std::string WarpTypeName (WarpType type)
 
absl::StatusOr< MapSummaryBuildMapSummary (zelda3::Overworld &overworld, int map_id)
 
absl::StatusOr< std::vector< WarpEntry > > CollectWarpEntries (const zelda3::Overworld &overworld, const WarpQuery &query)
 
absl::StatusOr< std::vector< TileMatch > > FindTileMatches (zelda3::Overworld &overworld, uint16_t tile_id, const TileSearchOptions &options)
 
absl::StatusOr< std::vector< OverworldSprite > > CollectOverworldSprites (const zelda3::Overworld &overworld, const SpriteQuery &query)
 
absl::StatusOr< EntranceDetailsGetEntranceDetails (const zelda3::Overworld &overworld, uint8_t entrance_id)
 
absl::StatusOr< TileStatisticsAnalyzeTileUsage (zelda3::Overworld &overworld, uint16_t tile_id, const TileSearchOptions &options)
 

Enumeration Type Documentation

◆ WarpType

enum class yaze::cli::overworld::WarpType
strong
Enumerator
kEntrance 
kHole 
kExit 

Definition at line 25 of file overworld_inspect.h.

Function Documentation

◆ ParseNumeric()

absl::StatusOr< int > yaze::cli::overworld::ParseNumeric ( std::string_view  value,
int  base 
)

◆ ParseWorldSpecifier()

absl::StatusOr< int > yaze::cli::overworld::ParseWorldSpecifier ( std::string_view  value)

◆ InferWorldFromMapId()

absl::StatusOr< int > yaze::cli::overworld::InferWorldFromMapId ( int  map_id)

◆ WorldName()

std::string yaze::cli::overworld::WorldName ( int  world)

◆ WarpTypeName()

std::string yaze::cli::overworld::WarpTypeName ( WarpType  type)

Definition at line 157 of file overworld_inspect.cc.

References kEntrance, kExit, and kHole.

Referenced by yaze::cli::HandleOverworldListWarpsLegacy().

◆ BuildMapSummary()

◆ CollectWarpEntries()

◆ FindTileMatches()

◆ CollectOverworldSprites()

◆ GetEntranceDetails()

◆ AnalyzeTileUsage()