yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
interaction_mode.h File Reference
#include <optional>
#include "imgui/imgui.h"
#include "zelda3/dungeon/door_types.h"
#include "zelda3/dungeon/room_object.h"
Include dependency graph for interaction_mode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::ModeState
 Mode-specific state data. More...
 
class  yaze::editor::InteractionModeManager
 Manages interaction mode state and transitions. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::tool_mode_names
 
namespace  yaze::editor::workflow_mode_names
 

Enumerations

enum class  yaze::editor::InteractionMode {
  yaze::editor::Select , yaze::editor::PlaceObject , yaze::editor::PlaceDoor , yaze::editor::PlaceSprite ,
  yaze::editor::PlaceItem , yaze::editor::DraggingObjects , yaze::editor::DraggingEntity , yaze::editor::RectangleSelect ,
  yaze::editor::PaintCollision , yaze::editor::PaintWaterFill
}
 Unified interaction mode for the dungeon editor. More...
 

Variables

constexpr const char * yaze::editor::tool_mode_names::kSelect = "Select"
 
constexpr const char * yaze::editor::tool_mode_names::kObjects = "Objects"
 
constexpr const char * yaze::editor::tool_mode_names::kSprites = "Sprites"
 
constexpr const char * yaze::editor::tool_mode_names::kItems = "Items"
 
constexpr const char * yaze::editor::tool_mode_names::kDoors = "Doors"
 
constexpr const char * yaze::editor::tool_mode_names::kChests = "Chests"
 
constexpr const char * yaze::editor::tool_mode_names::kEntrances = "Entrances"
 
constexpr const char * yaze::editor::tool_mode_names::kDragObjects = "Drag Objects"
 
constexpr const char * yaze::editor::tool_mode_names::kDragEntity = "Drag Entity"
 
constexpr const char * yaze::editor::tool_mode_names::kRectangle = "Rectangle"
 
constexpr const char * yaze::editor::tool_mode_names::kCollision = "Collision"
 
constexpr const char * yaze::editor::tool_mode_names::kWaterFill = "Water Fill"
 
constexpr const char * yaze::editor::workflow_mode_names::kWorkbench = "Workbench"
 
constexpr const char * yaze::editor::workflow_mode_names::kStandalone = "Standalone"
 
constexpr const char * yaze::editor::workflow_mode_names::kConnected = "Connected"