1#ifndef YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_ENTITY_RENDERER_H
2#define YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_ENTITY_RENDERER_H
8#include "imgui/imgui.h"
28 std::vector<gfx::Bitmap>* sprite_previews)
47 void DrawEntrances(ImVec2 canvas_p0, ImVec2 scrolling,
int current_world,
49 void DrawExits(ImVec2 canvas_p0, ImVec2 scrolling,
int current_world,
51 void DrawItems(
int current_world,
int current_mode);
52 void DrawSprites(
int current_world,
int game_state,
int current_mode);
Handles visualization of all overworld entities (entrances, exits, items, sprites)
zelda3::GameEntity * hovered_entity_
void DrawDiggableTileHighlights(int current_world, int current_map)
Draw highlights for all diggable tiles on the current map.
void ResetHoveredEntity()
zelda3::Overworld * overworld_
bool show_diggable_tiles() const
void DrawItems(const gui::CanvasRuntime &rt, int current_world)
void set_show_diggable_tiles(bool show)
void DrawExits(const gui::CanvasRuntime &rt, int current_world)
auto hovered_entity() const
void DrawSprites(const gui::CanvasRuntime &rt, int current_world, int game_state)
void DrawEntrances(const gui::CanvasRuntime &rt, int current_world)
std::vector< gfx::Bitmap > * sprite_previews_
OverworldEntityRenderer(zelda3::Overworld *overworld, gui::Canvas *canvas, std::vector< gfx::Bitmap > *sprite_previews)
bool show_diggable_tiles_
Modern, robust canvas for drawing and manipulating graphics.
Base class for all overworld and dungeon entities.
Represents the full Overworld data, light and dark world.