summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-26 20:18:41 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-26 20:18:41 -0400
commit0294878ddabd07a677930536daff0e6ca3bea081 (patch)
treecbb466c102f636c930c5c5577b24301944b269e7 /src/map.h
parentfix color to use argb (diff)
downloadraycaster-0294878ddabd07a677930536daff0e6ca3bea081.tar.gz
raycaster-0294878ddabd07a677930536daff0e6ca3bea081.tar.bz2
raycaster-0294878ddabd07a677930536daff0e6ca3bea081.zip
refactor camera into its own directoryHEADmain
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 3e265b2..ecb60ef 100644
--- a/src/map.h
+++ b/src/map.h
@@ -2,6 +2,18 @@
#include <stdint.h>
+// #define MAP_SIZE 8
+// static uint8_t MAPDATA[MAP_SIZE * MAP_SIZE] = {
+// 1, 1, 1, 1, 1, 1, 1, 1,
+// 1, 0, 0, 0, 0, 0, 0, 1,
+// 1, 0, 0, 0, 0, 3, 0, 1,
+// 1, 0, 0, 0, 0, 0, 0, 1,
+// 1, 0, 2, 0, 4, 4, 0, 1,
+// 1, 0, 0, 0, 4, 0, 0, 1,
+// 1, 0, 3, 0, 0, 0, 0, 1,
+// 1, 1, 1, 1, 1, 1, 1, 1,
+// };
+
#define MAP_SIZE 8
static uint8_t MAPDATA[MAP_SIZE * MAP_SIZE] = {
1, 1, 1, 1, 1, 1, 1, 1,