yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
entity.cc File Reference
#include "app/editor/overworld/entity.h"
#include "app/gui/icons.h"
#include "app/gui/input.h"
#include "app/gui/style.h"
#include "util/hex.h"

Go to the source code of this file.

Namespaces

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

Functions

bool yaze::editor::IsMouseHoveringOverEntity (const zelda3::GameEntity &entity, ImVec2 canvas_p0, ImVec2 scrolling)
 
void yaze::editor::MoveEntityOnGrid (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool free_movement)
 
void yaze::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::editor::DrawEntranceInserterPopup ()
 
bool yaze::editor::DrawOverworldEntrancePopup (zelda3::OverworldEntrance &entrance)
 
void yaze::editor::DrawExitInserterPopup ()
 
bool yaze::editor::DrawExitEditorPopup (zelda3::OverworldExit &exit)
 
void yaze::editor::DrawItemInsertPopup ()
 
bool yaze::editor::DrawItemEditorPopup (zelda3::OverworldItem &item)
 
void yaze::editor::DrawSpriteTable (std::function< void(int)> onSpriteSelect)
 
void yaze::editor::DrawSpriteInserterPopup ()
 
bool yaze::editor::DrawSpriteEditorPopup (zelda3::Sprite &sprite)
 

Variables

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