added support for smaller maps than the window

This commit is contained in:
2021-12-11 22:00:21 -05:00
parent 2308ef4eb2
commit a328246a1e
3 changed files with 10 additions and 9 deletions

View File

@@ -8,8 +8,12 @@
#include <vector>
#ifndef RLA_IIPP_VISUALIZER_HPP
#define RLA_IIPP_VISUALIZER_HPP
#define MAP_SIZE_W 20
#define MAP_SIZE_H 20
#define MAP_SIZE_W 10
#define MAP_SIZE_H 10
#define TILE_WIDTH 48
#define TILE_HEIGHT 48
#define WALL_CHAR '#'
#define FLOOR_CHAR '.'
class Visualizer : public Game {
public: