yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
interaction_coordinator.cc File Reference
#include "app/editor/dungeon/interaction/interaction_coordinator.h"
#include "app/editor/dungeon/object_selection.h"
#include "util/i18n/tr.h"
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <optional>
#include <tuple>
#include "absl/strings/str_format.h"
#include "imgui/imgui.h"
#include "app/editor/dungeon/dungeon_canvas_transform.h"
#include "app/editor/dungeon/dungeon_coordinates.h"
#include "app/editor/dungeon/dungeon_snapping.h"
#include "app/gui/core/agent_theme.h"
#include "zelda3/dungeon/room_object.h"
#include "zelda3/sprite/sprite.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{interaction_coordinator.cc}
 

Functions

bool yaze::editor::anonymous_namespace{interaction_coordinator.cc}::Intersects (int ax, int ay, int aw, int ah, int bx, int by, int bw, int bh)
 
std::optional< std::tuple< int, int, int, int > > yaze::editor::anonymous_namespace{interaction_coordinator.cc}::GetEntityBounds (const zelda3::Room &room, SelectedEntity entity)
 
ImVec4 yaze::editor::anonymous_namespace{interaction_coordinator.cc}::EntitySelectionColor (const AgentUITheme &theme, EntityType type)
 
bool yaze::editor::anonymous_namespace{interaction_coordinator.cc}::IsCycleModifierHeld (const ImGuiIO &io)
 
std::string yaze::editor::anonymous_namespace{interaction_coordinator.cc}::TruncateCycleHudLabel (std::string label)
 

Variables

constexpr double yaze::editor::anonymous_namespace{interaction_coordinator.cc}::kCycleHudHoldSeconds = 1.25
 
constexpr size_t yaze::editor::anonymous_namespace{interaction_coordinator.cc}::kCycleHudMaxLabelChars = 54