diff options
author | davidovski <david@davidovski.xyz> | 2023-07-21 00:21:17 +0200 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-07-21 00:21:17 +0200 |
commit | 1aceb70c5659677929bfbbd3f6480bacd8d75e35 (patch) | |
tree | 2ac18694e329c2aab894173bf3eb5165a9678a4c /src/tiledfile.h | |
parent | 894e465ffcdaf706eaa3de9e426d4c0c10d4513b (diff) |
add kdtree
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); |