Renderer is now more standalone and doesn't try to protect against small maps, that's the GUI's job.

This commit is contained in:
Zed A. Shaw 2024-11-21 15:51:22 -05:00
parent 19b8bf1850
commit 15a302d133
11 changed files with 65 additions and 90 deletions

View file

@ -53,6 +53,8 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
world.set<Tile>(gold, {"$"});
}
const int GAME_MAP_X = 40;
const int GAME_MAP_Y = 40;
int main(int argc, char *argv[]) {
#if defined(_WIN64) || defined(_WIN32)