summaryrefslogtreecommitdiffstats
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 8065105..3e6f4b2 100644
--- a/src/game.h
+++ b/src/game.h
@@ -20,6 +20,8 @@
#ifndef DB_GAME_H_
#define DB_GAME_H_
+#include <SDL.h>
+
struct db_game;
int db_games_find(const char *games_dir, struct db_game ***games);
@@ -27,6 +29,7 @@ const char *db_game_get_name(struct db_game *game)
__attribute__((__pure__));
const char *db_game_get_desc(struct db_game *game)
__attribute__((__pure__));
+int db_game_play(SDL_Renderer *renderer, struct db_game *game);
void db_game_free(struct db_game *game);
#endif /* DB_GAME_H_ */