summaryrefslogtreecommitdiff
path: root/src/tiled.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tiled.h')
-rw-r--r--src/tiled.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tiled.h b/src/tiled.h
index 9890a72..11518e7 100644
--- a/src/tiled.h
+++ b/src/tiled.h
@@ -1,12 +1,12 @@
#include <raylib.h>
-#include "tiledmap.h"
+#include "chunkedtiledmap.h"
#define SCREEN_W 1280
#define SCREEN_H 720
typedef struct Tiled {
- TiledMap tiledMap;
+ ChunkedTiledMap tiledMap;
float zoom;
Vector2 offset;
@@ -33,7 +33,7 @@ typedef struct Tiled {
void updateTiledCamera(Tiled *tiled);
Vector2 translateTiledPosition(Tiled tiled, Vector2 screenPos);
Vector2 translateTiledScreenPosition(Tiled tiled, Vector2 tiledPos);
-Tiled initTiled(TiledMap tiledMap);
+Tiled initTiled(ChunkedTiledMap tiledMap);
void drawTiled(Tiled *tiled);
void unloadTiled(Tiled *tiled);
void redrawTiledMap(Tiled tiled);