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
21 // Dungeon/Room names (296 rooms total)
22 static const std::vector<std::string>& GetRoomNames();
23
24 // Entrance names (133 entrances)
25 static const std::vector<std::string>& GetEntranceNames();
26
27 // Sprite names (256 sprites)
28 static const std::vector<std::string>& GetSpriteNames();
29
30 // Overlord names (14 overlords)
31 static const std::vector<std::string>& GetOverlordNames();
32
33 // Overworld map names (160 maps: 64 light world + 64 dark world + 32 special)
34 static const std::vector<std::string>& GetOverworldMapNames();
35
36 // Item names (all collectible items)
37 static const std::vector<std::string>& GetItemNames();
38
39 // Music track names
40 static const std::vector<std::string>& GetMusicTrackNames();
41
42 // Graphics sheet names
43 static const std::vector<std::string>& GetGraphicsSheetNames();
44
45 // Room object type names
46 static const std::vector<std::string>& GetType1RoomObjectNames();
47 static const std::vector<std::string>& GetType2RoomObjectNames();
48 static const std::vector<std::string>& GetType3RoomObjectNames();
49
50 // Room effect names
51 static const std::vector<std::string>& GetRoomEffectNames();
52
53 // Room tag names
54 static const std::vector<std::string>& GetRoomTagNames();
55
56 // Tile type names
57 static const std::vector<std::string>& GetTileTypeNames();
58
63 static std::unordered_map<std::string, std::unordered_map<std::string, std::string>> ToResourceLabels();
64
72 static std::string GetLabel(const std::string& resource_type, int id,
73 const std::string& default_value = "");
74};
75
76} // namespace zelda3
77} // namespace yaze
78
79#endif // YAZE_APP_ZELDA3_ZELDA3_LABELS_H
Main namespace for the application.
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()