diff options
Diffstat (limited to 'src/tiled.h')
-rw-r--r-- | src/tiled.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tiled.h b/src/tiled.h new file mode 100644 index 0000000..5791dc0 --- /dev/null +++ b/src/tiled.h @@ -0,0 +1,23 @@ +#include <raylib.h> + +typedef struct TiledUniforms { + float zoom; + Vector2 offset; + + int atlasSize[2]; + int mapSize[2]; + + Texture2D atlasTexture; + Texture2D tilemapTexture; + + + int zoomLoc; + int offsetLoc; + + int atlasSizeLoc; + int mapSizeLoc; + + int atlasTextureLoc; + int tilemapTextureLoc; + +} TiledUniforms; |