]> Shamusworld >> Repos - legend/blob - src/sprite.h
Initial commit for the Legend of A... project!
[legend] / src / sprite.h
1 #ifndef __SPRITE_H__
2 #define __SPRITE_H__
3
4 #include <SDL2/SDL.h>
5 #include "legend.h"
6
7 // Exported functions
8 bool InitSpriteHandler(void);
9 void DrawPlayerSprite(Direction, int, int);
10 void DrawPlayerSprite2(int xpos, int ypos, Direction facing, int frame);
11 void DrawUnderlay(int xpos, int ypos, Direction);
12
13
14 // Exported vars
15 extern SDL_Texture * sprite1;
16 extern SDL_Texture * underlay;
17 extern SDL_Texture * underlay2;
18
19 #endif  // __SPRITE_H__
20