summaryrefslogtreecommitdiff
path: root/src/main/engine/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/engine/engine.h')
-rw-r--r--src/main/engine/engine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/engine/engine.h b/src/main/engine/engine.h
index 691d8ec..fc4c5b9 100644
--- a/src/main/engine/engine.h
+++ b/src/main/engine/engine.h
@@ -20,8 +20,13 @@
#ifndef __ENGINE_H__
#define __ENGINE_H__
+enum EngineInput {
+ ENGINE_MOUSE_PRESSED = 4
+};
+
void engine_init(int width, int height);
void engine_draw_line(int x1, int y1, int x2, int y2);
void engine_loop(void (*draw_frame)());
+void engine_input(void (*f_input)(int engine_input));
#endif /* __ENGINE_H__ */