minor entity bug fix, refactor tilemap to better map types and color

This commit is contained in:
2026-07-08 01:20:26 -07:00
parent 85c22cf74b
commit 6de39f8488
3 changed files with 56 additions and 28 deletions
+7
View File
@@ -8,6 +8,13 @@ TILE_SIZE :: 32
MAP_WIDTH :: 80
MAP_HEIGHT :: 60
TILE_GRASS :: 0
TILE_WALL :: 1
TILE_ROAD :: 2
TILE_MUD :: 3
TILE_WATER :: 4
TILE_COUNT :: 5
MAX_ENTITIES :: 256
INVALID_ENTITY :: Entity(0)