added walls

This commit is contained in:
DarthMooMancer
2025-10-18 23:38:37 -04:00
parent 4ffa008c73
commit d384dff919
4 changed files with 88 additions and 32 deletions
+3
View File
@@ -1,5 +1,8 @@
#ifndef GLOBALS_HPP
#define GLOBALS_HPP
#define TILESIZE 32
#define WIDTH 608
#define HEIGHT 416
#define MAX_COLS WIDTH / TILESIZE // 19 cols
#define MAX_ROWS HEIGHT / TILESIZE // 13 rows
#endif
+1 -4
View File
@@ -3,9 +3,6 @@
#include "globals.hpp"
const
int map_data[WIDTH / 32][HEIGHT / 32];
// Add code here
extern int map_data[MAX_ROWS][MAX_COLS];
#endif