summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2016-03-30 21:20:07 +0200
committerPaweł Redman <pawel.redman@gmail.com>2016-03-30 21:20:07 +0200
commit523f6b460dcf1f864656a9a6ccc2a54d52f385c6 (patch)
treedd457448a2518ce45ac36ba427c12491f01d7e76 /src/ui.h
parent745d5a072d8669d1bc35e7c1f28b75b3484542e8 (diff)
Split common.h.
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
new file mode 100644
index 0000000..73b355b
--- /dev/null
+++ b/src/ui.h
@@ -0,0 +1,16 @@
+#ifndef _UI_H
+#define _UI_H
+
+#include "common.h"
+#include "renderer.h"
+#include "physics.h"
+
+int ui_init(void);
+void ui_quit(void);
+
+void ui_renderer_window_register(r_window *rw);
+
+void ui_event(SDL_Event *event);
+void ui_draw(phy_sim *sim);
+
+#endif // _UI_H