yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_entity_inspector.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_DUNGEON_INSPECTORS_DUNGEON_ENTITY_INSPECTOR_H_
2#define YAZE_APP_EDITOR_DUNGEON_INSPECTORS_DUNGEON_ENTITY_INSPECTOR_H_
3
4#include <cstddef>
5#include <cstdint>
6#include <functional>
7
8namespace yaze::editor {
9
10class DungeonCanvasViewer;
11
12inline constexpr size_t kDungeonPotItemCount = 28;
13const char* GetDungeonPotItemName(uint8_t item_id);
14
15// Contextual reminder for both the pot-item library and selection inspector.
16// Disabled saving does not prevent draft edits or change the project's scope.
18
19// Shared property controls for a single selected door, sprite, or pot item.
20// All writes go through the viewer's interaction handlers and mutation hooks.
22 DungeonCanvasViewer& viewer,
23 const std::function<void(int, size_t)>& jump_to_reciprocal = {});
24
25} // namespace yaze::editor
26
27#endif // YAZE_APP_EDITOR_DUNGEON_INSPECTORS_DUNGEON_ENTITY_INSPECTOR_H_
Editors are the view controllers for the application.
const char * GetDungeonPotItemName(uint8_t item_id)
void DrawDungeonEntityInspector(DungeonCanvasViewer &viewer, const std::function< void(int, size_t)> &jump_to_reciprocal)
constexpr size_t kDungeonPotItemCount