yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_chest_editor.cc File Reference
#include "app/editor/dungeon/inspectors/dungeon_chest_editor.h"
#include <algorithm>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/str_format.h"
#include "app/editor/dungeon/dungeon_canvas_viewer.h"
#include "app/gui/automation/widget_auto_register.h"
#include "app/gui/core/input.h"
#include "core/project.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "zelda3/dungeon/chest_edit.h"
#include "zelda3/dungeon/dungeon_limits.h"
#include "zelda3/dungeon/object_dimensions.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/resource_labels.h"
#include "zelda3/zelda3_labels.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}
 

Functions

std::string yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ItemPreview (uint8_t item_id, const project::YazeProject *project)
 
void yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ApplyEdit (DungeonCanvasViewer &viewer, DungeonChestEditorState &state, int room_id, size_t index, uint8_t item_id, bool big_chest)
 
std::optional< size_t > yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::FindChestObject (const zelda3::Room &room, size_t ordinal)
 
void yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestPlacement (int room_id, bool has_mapping, DungeonCanvasViewer &viewer, DungeonChestEditorState &state)
 
bool yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawChestActions (int room_id, size_t index, bool has_mapping, zelda3::Room &room, DungeonCanvasViewer &viewer, DungeonChestEditorState &state)
 
void yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::DrawItemChoice (uint8_t item_id, DungeonCanvasViewer &viewer, std::array< char, 64 > &search_buffer, const std::function< void(uint8_t)> &select_item)
 
std::vector< uint64_t > yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ChestObjectSignature (const zelda3::Room &room)
 
std::vector< uint16_t > yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ChestRecordSignature (const zelda3::Room &room)
 
absl::Status yaze::editor::anonymous_namespace{dungeon_chest_editor.cc}::ValidateChestDialogTarget (const DungeonCanvasViewer &viewer, const DungeonChestEditDialogState &state)
 
std::string yaze::editor::GetDungeonChestItemLabel (uint8_t item_id)
 
std::string yaze::editor::GetDungeonChestItemLabel (uint8_t item_id, const project::YazeProject *project)
 
void yaze::editor::DrawDungeonChestEditor (int room_id, zelda3::Room &room, DungeonCanvasViewer &viewer)