Now have a full map and a mini map, but I think the mini map will stop rendering sometimes.

This commit is contained in:
Zed A. Shaw 2025-03-23 00:04:23 -04:00
parent 193d97eb48
commit 322797f787
15 changed files with 120 additions and 36 deletions

View file

@ -5,19 +5,16 @@
#include "textures.hpp"
#include "guecs.hpp"
#include "ritual_ui.hpp"
#include "map_view.hpp"
namespace gui {
class StatusUI {
public:
bool map_open = false;
guecs::UI $gui;
DinkyECS::Entity $log_to;
std::map<std::string, size_t> $slots;
std::deque<std::string> $messages;
GameLevel $level;
RitualUI $ritual_ui;
MapViewUI $map_ui;
StatusUI(GameLevel level);
void select_slot(DinkyECS::Entity ent, std::any data);