yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_map_metadata.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_MAP_METADATA_H
2#define YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_MAP_METADATA_H
3
4#include <string>
5
6#include "absl/status/status.h"
7#include "rom/rom.h"
9
10namespace yaze::project {
11struct YazeProject;
12} // namespace yaze::project
13
14namespace yaze::editor {
15
17 int map_id = 0;
18 int world = 0;
19 std::string world_label;
20 std::string map_id_label;
21 std::string map_name;
22 std::string map_title;
23 std::string area_size_label;
24 std::string parent_label;
25 std::string area_gfx_label;
26 std::string area_palette_label;
27 std::string main_palette_label;
28 std::string sprite_gfx_label;
30 std::string animated_gfx_label;
31 std::string message_label;
32 std::string music_label;
33 std::string version_label;
34};
35
37 const zelda3::Overworld& overworld, const Rom* rom,
38 const project::YazeProject* project, int map_id, int game_state);
39
41 const std::string& type, int id,
42 const std::string& label);
43
44std::string GetProjectResourceLabel(const project::YazeProject* project,
45 const std::string& type, int id);
46
47} // namespace yaze::editor
48
49#endif // YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_MAP_METADATA_H
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Definition rom.h:28
Represents the full Overworld data, light and dark world.
Definition overworld.h:389
Editors are the view controllers for the application.
absl::Status RenameProjectResourceLabel(project::YazeProject *project, const std::string &type, int id, const std::string &label)
OverworldMapMetadata BuildOverworldMapMetadata(const zelda3::Overworld &overworld, const Rom *rom, const project::YazeProject *project, int map_id, int game_state)
std::string GetProjectResourceLabel(const project::YazeProject *project, const std::string &type, int id)
Modern project structure with comprehensive settings consolidation.
Definition project.h:172