yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
entity.cc File Reference
Include dependency graph for entity.cc:

Go to the source code of this file.

Namespaces

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

Functions

bool yaze::app::editor::IsMouseHoveringOverEntity (const zelda3::GameEntity &entity, ImVec2 canvas_p0, ImVec2 scrolling)
 
void yaze::app::editor::MoveEntityOnGrid (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool free_movement)
 
void yaze::app::editor::HandleEntityDragging (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool &is_dragging_entity, zelda3::GameEntity *&dragged_entity, zelda3::GameEntity *&current_entity, bool free_movement)
 
bool yaze::app::editor::DrawEntranceInserterPopup ()
 
bool yaze::app::editor::DrawOverworldEntrancePopup (zelda3::overworld::OverworldEntrance &entrance)
 
void yaze::app::editor::DrawExitInserterPopup ()
 
bool yaze::app::editor::DrawExitEditorPopup (zelda3::overworld::OverworldExit &exit)
 
void yaze::app::editor::DrawItemInsertPopup ()
 
bool yaze::app::editor::DrawItemEditorPopup (zelda3::overworld::OverworldItem &item)
 
void yaze::app::editor::DrawSpriteTable (std::function< void(int)> onSpriteSelect)
 
void yaze::app::editor::DrawSpriteInserterPopup ()
 
bool yaze::app::editor::DrawSpriteEditorPopup (zelda3::Sprite &sprite)
 

Variables

constexpr float yaze::app::editor::kInputFieldSize = 30.f