yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
zelda3_labels.h
Go to the documentation of this file.
1#ifndef YAZE_APP_ZELDA3_ZELDA3_LABELS_H
2#define YAZE_APP_ZELDA3_ZELDA3_LABELS_H
3
4#include <map>
5#include <string>
6#include <unordered_map>
7#include <vector>
8
9namespace yaze {
10namespace zelda3 {
11
22 // Dungeon/Room names (296 rooms total)
23 static const std::vector<std::string>& GetRoomNames();
24
25 // Entrance names (133 entrances)
26 static const std::vector<std::string>& GetEntranceNames();
27
28 // Sprite names (256 sprites)
29 static const std::vector<std::string>& GetSpriteNames();
30
31 // Overlord names (14 overlords)
32 static const std::vector<std::string>& GetOverlordNames();
33
34 // Overworld map names (160 maps: 64 light world + 64 dark world + 32 special)
35 static const std::vector<std::string>& GetOverworldMapNames();
36
37 // Item names (all collectible items)
38 static const std::vector<std::string>& GetItemNames();
39
40 // Music track names
41 static const std::vector<std::string>& GetMusicTrackNames();
42
43 // Graphics sheet names
44 static const std::vector<std::string>& GetGraphicsSheetNames();
45
46 // Room object type names
47 static const std::vector<std::string>& GetType1RoomObjectNames();
48 static const std::vector<std::string>& GetType2RoomObjectNames();
49 static const std::vector<std::string>& GetType3RoomObjectNames();
50
51 // Room effect names
52 static const std::vector<std::string>& GetRoomEffectNames();
53
54 // Room tag names
55 static const std::vector<std::string>& GetRoomTagNames();
56
57 // Tile type names
58 static const std::vector<std::string>& GetTileTypeNames();
59
64 static std::unordered_map<std::string,
65 std::unordered_map<std::string, std::string>>
67
76 static std::string GetLabel(const std::string& resource_type, int id,
77 const std::string& default_value = "");
78};
79
80} // namespace zelda3
81} // namespace yaze
82
83#endif // YAZE_APP_ZELDA3_ZELDA3_LABELS_H
Centralized default labels for all Zelda 3 resources.
static const std::vector< std::string > & GetRoomNames()
static const std::vector< std::string > & GetItemNames()
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 const std::vector< std::string > & GetEntranceNames()
static const std::vector< std::string > & GetType2RoomObjectNames()
static const std::vector< std::string > & GetType1RoomObjectNames()
static const std::vector< std::string > & GetGraphicsSheetNames()
static const std::vector< std::string > & GetMusicTrackNames()
static const std::vector< std::string > & GetTileTypeNames()
static const std::vector< std::string > & GetOverlordNames()
static const std::vector< std::string > & GetSpriteNames()
static const std::vector< std::string > & GetOverworldMapNames()
static const std::vector< std::string > & GetType3RoomObjectNames()
static std::string GetLabel(const std::string &resource_type, int id, const std::string &default_value="")
Get a label by resource type and ID.
static const std::vector< std::string > & GetRoomEffectNames()
static const std::vector< std::string > & GetRoomTagNames()