Centralized default labels for all Zelda 3 resources. More...
#include <zelda3_labels.h>
Static Public Member Functions | |
| static const std::vector< std::string > & | GetRoomNames () |
| static const std::vector< std::string > & | GetEntranceNames () |
| static const std::vector< std::string > & | GetSpriteNames () |
| static const std::vector< std::string > & | GetOverlordNames () |
| static const std::vector< std::string > & | GetOverworldMapNames () |
| static const std::vector< std::string > & | GetItemNames () |
| static const std::vector< std::string > & | GetMusicTrackNames () |
| static const std::vector< std::string > & | GetGraphicsSheetNames () |
| static const std::vector< std::string > & | GetType1RoomObjectNames () |
| static const std::vector< std::string > & | GetType2RoomObjectNames () |
| static const std::vector< std::string > & | GetType3RoomObjectNames () |
| static const std::vector< std::string > & | GetRoomEffectNames () |
| static const std::vector< std::string > & | GetRoomTagNames () |
| static const std::vector< std::string > & | GetTileTypeNames () |
| static std::unordered_map< std::string, std::unordered_map< std::string, std::string > > | ToResourceLabels () |
| Convert all labels to a structured map for project embedding. | |
| static std::string | GetLabel (const std::string &resource_type, int id, const std::string &default_value="") |
| Get a label by resource type and ID. | |
Centralized default labels for all Zelda 3 resources.
This structure contains all the default names/labels for various game resources. These labels are embedded directly into the project file format and are always available to the AI agents (Ollama/Gemini) without requiring external files.
Definition at line 21 of file zelda3_labels.h.
|
static |
Definition at line 16 of file zelda3_labels.cc.
References yaze::zelda3::kRoomNames, and yaze::zelda3::name.
Referenced by yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 27 of file zelda3_labels.cc.
References yaze::zelda3::kEntranceNames, and yaze::zelda3::name.
Referenced by yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 38 of file zelda3_labels.cc.
References yaze::zelda3::kSpriteDefaultNames, and yaze::zelda3::name.
Referenced by yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 49 of file zelda3_labels.cc.
References yaze::zelda3::kOverlordNames, and yaze::zelda3::name.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 60 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 114 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 224 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 278 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 326 of file zelda3_labels.cc.
|
static |
Definition at line 353 of file zelda3_labels.cc.
|
static |
Definition at line 363 of file zelda3_labels.cc.
|
static |
Definition at line 374 of file zelda3_labels.cc.
References yaze::zelda3::name, and yaze::zelda3::RoomEffect.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 385 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Definition at line 393 of file zelda3_labels.cc.
Referenced by yaze::zelda3::ResourceLabelProvider::GetResourceCount(), yaze::zelda3::ResourceLabelProvider::GetVanillaLabel(), and ToResourceLabels().
|
static |
Convert all labels to a structured map for project embedding.
Definition at line 462 of file zelda3_labels.cc.
References GetEntranceNames(), GetGraphicsSheetNames(), GetItemNames(), GetMusicTrackNames(), GetOverlordNames(), GetOverworldMapNames(), GetRoomEffectNames(), GetRoomNames(), GetRoomTagNames(), GetSpriteNames(), and GetTileTypeNames().
Referenced by yaze::cli::resources::CommandContext::EnsureLabelsLoaded(), GetLabel(), yaze::cli::agent::HandleTestConversationCommand(), yaze::cli::InitializeMockRom(), and yaze::cli::agent::anonymous_namespace{general_commands.cc}::TryLoadProjectAndLabels().
|
static |
Get a label by resource type and ID.
| resource_type | The type of resource (e.g., "room", "entrance", "sprite") |
| id | The numeric ID of the resource |
| default_value | Fallback value if label not found |
Definition at line 536 of file zelda3_labels.cc.
References ToResourceLabels().
