diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-01-14 00:26:18 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-01-14 00:26:18 -0500 |
commit | 55d22c6e36b6b575a971202cb62e53a3a6fb54cb (patch) | |
tree | 738b7e8ad43417187c72ca8a034efa167ea6e95a /src/sdl/draw.h | |
parent | 5d63ee685c19e2e696a99cce6f0b9fc8cf8ff7de (diff) | |
download | sok-55d22c6e36b6b575a971202cb62e53a3a6fb54cb.tar.bz2 sok-55d22c6e36b6b575a971202cb62e53a3a6fb54cb.zip |
add moves and header text, won bg animation, window title
Diffstat (limited to 'src/sdl/draw.h')
-rw-r--r-- | src/sdl/draw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdl/draw.h b/src/sdl/draw.h index 873287a..b8aeed4 100644 --- a/src/sdl/draw.h +++ b/src/sdl/draw.h @@ -3,6 +3,7 @@ #include <stddef.h> // size_t #include <SDL.h> +#include <SDL_ttf.h> #include "../libsok/sok.h" #include "../text/levels.h" @@ -12,6 +13,7 @@ typedef struct { SDL_Renderer * const renderer; SDL_Texture *sprites[MAX_SPRITES]; + TTF_Font *font; const sok_ctx_t * const ctx; const size_t * const level_num; |