yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
entity.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::SpriteItem
 

Namespaces

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

Enumerations

enum  yaze::editor::SpriteItemColumnID { yaze::editor::SpriteItemColumnID_ID , yaze::editor::SpriteItemColumnID_Name , yaze::editor::SpriteItemColumnID_Description }
 Column IDs for the sprite table. More...
 

Functions

bool yaze::editor::IsMouseHoveringOverEntity (const zelda3::GameEntity &entity, ImVec2 canvas_p0, ImVec2 scrolling, float scale=1.0f)
 Check if mouse is hovering over an entity.
 
bool yaze::editor::IsMouseHoveringOverEntity (const zelda3::GameEntity &entity, const gui::CanvasRuntime &rt)
 Check if mouse is hovering over an entity (CanvasRuntime version)
 
void yaze::editor::MoveEntityOnGrid (zelda3::GameEntity *entity, ImVec2 canvas_p0, ImVec2 scrolling, bool free_movement=false, float scale=1.0f)
 Move entity to grid-aligned position based on mouse.
 
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, int &selected_id)
 
void yaze::editor::DrawSpriteInserterPopup ()
 
bool yaze::editor::DrawSpriteEditorPopup (zelda3::Sprite &sprite)
 
bool yaze::editor::DrawDiggableTilesEditorPopup (zelda3::DiggableTiles *diggable_tiles, const std::vector< gfx::Tile16 > &tiles16, const std::array< uint8_t, 0x200 > &all_tiles_types)
 Draw popup dialog for editing diggable tiles configuration.