yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_selection_edit.h File Reference
#include <cstddef>
#include <cstdint>
#include <optional>
#include <vector>
#include "absl/status/statusor.h"
#include "app/editor/dungeon/interaction/interaction_context.h"

Go to the source code of this file.

Classes

struct  yaze::editor::DungeonSpriteSnapshot
 
struct  yaze::editor::DungeonSelectionEditState
 
struct  yaze::editor::DungeonSelectionClipboard
 
struct  yaze::editor::DungeonSelectionEditRequest
 
struct  yaze::editor::DungeonSelectionEditPlan
 

Namespaces

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

Enumerations

enum class  yaze::editor::DungeonSelectionEditKind { yaze::editor::kDelete , yaze::editor::kDuplicate , yaze::editor::kMove , yaze::editor::kPaste }
 

Functions

DungeonSelectionEditState yaze::editor::CaptureDungeonSelectionEditState (const zelda3::Room &room)
 
uint8_t yaze::editor::ChangedDungeonSelectionDomains (const DungeonSelectionEditState &a, const DungeonSelectionEditState &b)
 
absl::StatusOr< DungeonSelectionEditPlan > yaze::editor::PlanDungeonSelectionEdit (const zelda3::Room &room, const DungeonSelectionEditRequest &request)
 
absl::StatusOr< DungeonSelectionClipboard > yaze::editor::CopyDungeonSelection (const zelda3::Room &room, const std::vector< size_t > &objects, const std::vector< SelectedEntity > &entities)
 
void yaze::editor::ApplyDungeonSelectionEditState (zelda3::Room &room, const DungeonSelectionEditState &state, uint8_t domains)
 

Variables

constexpr uint8_t yaze::editor::kSelectionObjects = 1
 
constexpr uint8_t yaze::editor::kSelectionDoors = 2
 
constexpr uint8_t yaze::editor::kSelectionSprites = 4
 
constexpr uint8_t yaze::editor::kSelectionItems = 8