summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.h b/main.h
new file mode 100644
index 0000000..0a7ca75
--- /dev/null
+++ b/main.h
@@ -0,0 +1,11 @@
+#ifndef MAIN_H_
+#define MAIN_H_
+
+#include "player.h"
+#include <SDL2/SDL_ttf.h>
+
+void execute_actions(struct Player *player, int *action_states, float delta);
+void render_text(char *text, SDL_Rect dest, TTF_Font *Sans, SDL_Renderer *renderer);
+double current_sdl_time_in_seconds();
+
+#endif // MAIN_H_