summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorDobbertin, Niclas <niclas.dobbertin@gmx.de>2023-06-24 23:04:23 +0200
committerDobbertin, Niclas <niclas.dobbertin@gmx.de>2023-06-24 23:04:23 +0200
commit3422a87bdb087b6d927203e266beb71027779dbe (patch)
tree3d8381b27c94529c45ad7287695befe3eaa241c5 /main.h
init codeHEADmaster
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_