aboutsummaryrefslogtreecommitdiff
path: root/src/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render.h')
-rw-r--r--src/render.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/render.h b/src/render.h
index 5972200..730673c 100644
--- a/src/render.h
+++ b/src/render.h
@@ -18,8 +18,22 @@ config_t *_config;
u32 *s_arr;
GLuint tex;
+d64 x_min, x_max, y_min, y_max;
+d64 x_min_s, x_max_s, y_min_s, y_max_s;
+
+float ft;
+int t_old;
+
d64 zoom_func(d64 ft, d64 s);
+void (*_render)(d64 x_min, d64 y_min, d64 x_max, d64 y_max);
+void (*_idle)(void);
+void keyboard(unsigned char key, int mouseX, int mouseY);
+void mouse(int button, int state, int x, int y);
+void idle_dummy(void);
+void idle(void);
+void render(void);
+
void init_render(config_t *config);
void show_render();