yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
entity.h File Reference
#include "imgui/imgui.h"
#include "app/zelda3/common.h"
#include "app/zelda3/overworld/overworld.h"
Include dependency graph for entity.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::app::editor::SpriteItem
 

Namespaces

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

Enumerations

enum  yaze::app::editor::MyItemColumnID {
  yaze::app::editor::MyItemColumnID_ID , yaze::app::editor::MyItemColumnID_Name , yaze::app::editor::MyItemColumnID_Action , yaze::app::editor::MyItemColumnID_Quantity ,
  yaze::app::editor::MyItemColumnID_Description
}
 

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)