started pulling in lua stuff, fixed an issue with camera range
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
#include "../engine/rendering/renderer.hpp"
|
||||
#include "../engine/utility/camera.hpp"
|
||||
#include "../engine/utility/grid2d.hpp"
|
||||
#include "../engine/scripting/luacontextmanager.hpp"
|
||||
#include <vector>
|
||||
#include <range/v3/range.hpp>
|
||||
#include <range/v3/view.hpp>
|
||||
#ifndef RLA_IIPP_VISUALIZER_HPP
|
||||
#define RLA_IIPP_VISUALIZER_HPP
|
||||
#define MAP_SIZE_W 10
|
||||
#define MAP_SIZE_H 10
|
||||
#define MAP_SIZE_W 20
|
||||
#define MAP_SIZE_H 20
|
||||
#define TILE_WIDTH 48
|
||||
#define TILE_HEIGHT 48
|
||||
#define WALL_CHAR '#'
|
||||
@@ -34,6 +35,7 @@ private:
|
||||
int window_height = 0;
|
||||
Grid2D<char> tile_map = Grid2D<char>(0, 0);
|
||||
Camera camera = Camera();
|
||||
LuaContextManager lua_context_manager = LuaContextManager();
|
||||
|
||||
int x = 0;
|
||||
int y=0;
|
||||
|
||||
Reference in New Issue
Block a user