From 3f2113f823f94ca91e93182cc5a2ab6b0ac5cfb6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 11 Jul 2023 23:24:54 +0100 Subject: tidy saving code --- src/tiledfile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tiledfile.h') diff --git a/src/tiledfile.h b/src/tiledfile.h index d8c98e9..fb9c789 100644 --- a/src/tiledfile.h +++ b/src/tiledfile.h @@ -12,8 +12,6 @@ typedef struct TiledMap { void textureFromPixels(Texture2D *texOut, Color *pixels, int width, int height); -void renderTilemapTexture(Texture2D *texOut, TiledMap tiledMap); - void setTiledMapTile(TiledMap tiledMap, int pos[2], char tile); char getTiledMapTile(TiledMap tiledMap, int pos[2]); @@ -21,3 +19,5 @@ char getTiledMapTile(TiledMap tiledMap, int pos[2]); TiledMap loadTiledMap(char * filename); void saveTiledMap(char * filename, TiledMap tiledMap); + +TiledMap newTiledMap(Image atlas, int tileSize, int width, int height); -- cgit v1.2.3