maps are more efficient to make and run on memory
This commit is contained in:
+5
-2
@@ -4,7 +4,10 @@
|
||||
#include "globals.hpp"
|
||||
#include "elements.hpp"
|
||||
|
||||
extern int map_data[MAX_ROWS][MAX_COLS];
|
||||
void merged_walls(Entity* wall_list[MAX_ROWS][MAX_COLS]);
|
||||
extern char test_level_0[MAX_ROWS][MAX_COLS];
|
||||
extern char test_level_1[MAX_ROWS][MAX_COLS];
|
||||
|
||||
void clear_map(Entity* wall_list[MAX_ROWS][MAX_COLS]);
|
||||
void load_map(Entity* wall_list[MAX_ROWS][MAX_COLS], const char map_data[MAX_ROWS][MAX_COLS]);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user