Have a basic map prototype gui working.

This commit is contained in:
Zed A. Shaw 2025-03-20 04:13:22 -04:00
parent 8b3573b01d
commit a53f81715d
4 changed files with 60 additions and 3 deletions

View file

@ -11,7 +11,8 @@ namespace guecs {
void UI::layout(std::string grid) {
$grid = grid;
$parser.parse($grid);
bool good = $parser.parse($grid);
dbc::check(good, "LEL parsing failed.");
for(auto& [name, cell] : $parser.cells) {
auto ent = entity(name);