Refactored out main.cpp to be a separate gui and using an FSM to keep the turn based nature straight.

This commit is contained in:
Zed A. Shaw 2025-02-04 12:56:20 -05:00
parent 7228bdf210
commit 1d3a76e5ee
8 changed files with 300 additions and 260 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <string>
constexpr const int TEXTURE_WIDTH=256;
constexpr const int TEXTURE_HEIGHT=256;
constexpr const int RAY_VIEW_WIDTH=960;
@ -21,7 +23,6 @@ constexpr const bool DEBUG_BUILD=true;
////////// copied from roguish
constexpr int INV_WALL = 0;
constexpr int INV_SPACE = 1;
constexpr int WALL_VALUE = 1;