yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_property_edit.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_PROPERTY_EDIT_H
2#define YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_PROPERTY_EDIT_H
3
4#include <array>
5#include <string>
6#include <vector>
7
8namespace yaze::editor {
9
26
33
41
43 bool valid = false;
47 int area_size = 0;
49 int area_palette = 0;
50 int main_palette = 0;
52 int message_id = 0;
55 bool mosaic = false;
56 std::array<bool, 4> mosaic_expanded{};
57 std::array<int, 3> sprite_graphics{};
58 std::array<int, 3> sprite_palette{};
59 std::array<int, 4> music{};
60 std::array<int, 8> custom_tilesets{};
61};
62
67 const OverworldMapMetadataClipboard& clipboard);
68std::string DescribeOverworldPropertyEdit(const OverworldPropertyEdit& edit);
70 const OverworldMapMetadataClipboard& clipboard,
72std::vector<OverworldPropertyEdit> BuildOverworldMetadataPasteEdits(
73 int target_map_id, const OverworldMapMetadataClipboard& clipboard,
75
76} // namespace yaze::editor
77
78#endif // YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_PROPERTY_EDIT_H
Editors are the view controllers for the application.
std::vector< OverworldPropertyEdit > BuildOverworldMetadataPasteEdits(int target_map_id, const OverworldMapMetadataClipboard &clipboard, OverworldMapMetadataClipboardScope requested_scope)
bool CanPasteOverworldMapMetadata(const OverworldMapMetadataClipboard &clipboard, OverworldMapMetadataClipboardScope requested_scope)
const char * OverworldPropertyFieldName(OverworldPropertyField field)
const char * OverworldMapMetadataClipboardScopeName(OverworldMapMetadataClipboardScope scope)
std::string DescribeOverworldPropertyEdit(const OverworldPropertyEdit &edit)
std::string DescribeOverworldMapMetadataClipboard(const OverworldMapMetadataClipboard &clipboard)