Tinkering with a way to do modal UIs for things like inventory etc.
This commit is contained in:
parent
db441000f8
commit
d8400d0a76
9 changed files with 120 additions and 92 deletions
4
main.cpp
4
main.cpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue