Tinkering with a way to do modal UIs for things like inventory etc.

This commit is contained in:
Zed A. Shaw 2024-12-30 09:41:16 -05:00
parent db441000f8
commit d8400d0a76
9 changed files with 120 additions and 92 deletions

View file

@ -3,6 +3,7 @@
#include "systems.hpp"
#include "events.hpp"
#include "components.hpp"
#include "constants.hpp"
#include "dbc.hpp"
#include "collider.hpp"
#include "render.hpp"
@ -59,9 +60,6 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
world.set<Tile>(wall_torch, {""});
}
const int GAME_MAP_X = 40;
const int GAME_MAP_Y = 40;
int main(int argc, char *argv[]) {
DinkyECS::World world;
Map game_map(GAME_MAP_X, GAME_MAP_Y);