added walls
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user