yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
resource_labels.h File Reference
#include <cstdint>
#include <functional>
#include <string>
#include <unordered_map>
#include <vector>
#include "absl/status/status.h"

Go to the source code of this file.

Classes

class  yaze::zelda3::ResourceLabelProvider
 Unified interface for accessing resource labels with project overrides. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Enumerations

enum class  yaze::zelda3::ResourceType {
  yaze::zelda3::kSprite , yaze::zelda3::kRoom , yaze::zelda3::kEntrance , yaze::zelda3::kItem ,
  yaze::zelda3::kOverlord , yaze::zelda3::kOverworldMap , yaze::zelda3::kMusic , yaze::zelda3::kGraphics ,
  yaze::zelda3::kRoomEffect , yaze::zelda3::kRoomTag , yaze::zelda3::kTileType
}
 Enumeration of all supported resource types for labeling. More...
 

Functions

std::string yaze::zelda3::ResourceTypeToString (ResourceType type)
 Convert ResourceType enum to string key for storage.
 
ResourceType yaze::zelda3::StringToResourceType (const std::string &type_str)
 Convert string key to ResourceType enum.
 
ResourceLabelProvideryaze::zelda3::GetResourceLabels ()
 Get the global ResourceLabelProvider instance.
 
std::string yaze::zelda3::GetSpriteLabel (int id)
 Convenience function to get a sprite label.
 
std::string yaze::zelda3::GetRoomLabel (int id)
 Convenience function to get a room label.
 
std::string yaze::zelda3::GetItemLabel (int id)
 Convenience function to get an item label.
 
std::string yaze::zelda3::GetEntranceLabel (int id)
 Convenience function to get an entrance label.
 
std::string yaze::zelda3::GetOverlordLabel (int id)
 Convenience function to get an overlord label.
 
std::string yaze::zelda3::GetOverworldMapLabel (int id)
 Convenience function to get an overworld map label.
 
std::string yaze::zelda3::GetMusicLabel (int id)
 Convenience function to get a music track label.
 
std::string yaze::zelda3::GetRoomTagLabel (int id)
 Convenience function to get a room tag label.