]> Shamusworld >> Repos - legend/blob - src/tile.h
Initial commit for the Legend of A... project!
[legend] / src / tile.h
1 #ifndef __TILE_H__
2 #define __TILE_H__
3
4 #include <SDL2/SDL.h>
5 #include "data.h"
6 #include "legend.h"
7
8 // Exported functions
9 bool InitTileHandler(void);
10 SDL_Texture * CreateMapTexture(void);
11 void RenderMap(Map * map, SDL_Texture * texture);
12 void GetTiles(int xpos, int ypos, uint8_t * tiles);
13 void GetTiles2(int xpos, int ypos, Direction facing, uint8_t * tiles);
14
15 // Exported vars
16 extern SDL_Texture * tile1;
17
18 #endif  // __TILE_H__
19