diff options
Diffstat (limited to 'src/tiledfile.h')
-rw-r--r-- | src/tiledfile.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tiledfile.h b/src/tiledfile.h deleted file mode 100644 index fb9c789..0000000 --- a/src/tiledfile.h +++ /dev/null @@ -1,23 +0,0 @@ -#include <raylib.h> - -typedef struct TiledMap { - int width; - int height; - char * tilelayout; - int tileSize; - int atlasSize[2]; - int tileCount; - Color * atlasData; -} TiledMap; - -void textureFromPixels(Texture2D *texOut, Color *pixels, int width, int height); - -void setTiledMapTile(TiledMap tiledMap, int pos[2], char tile); - -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); |