summaryrefslogtreecommitdiff
path: root/include/objects.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 22:54:52 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-12-24 22:54:52 +0100
commite2c44a3ac39b229dfef93833828be697cf104bba (patch)
treecef3d0cacd4a5cceefb62fcad52ff668cb2145aa /include/objects.h
parent2a85823f96ec4e9fa62905490ac93910187dfefc (diff)
only draw what is on screen
Diffstat (limited to 'include/objects.h')
-rw-r--r--include/objects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/objects.h b/include/objects.h
index d30a8f0..cc66ff0 100644
--- a/include/objects.h
+++ b/include/objects.h
@@ -46,7 +46,7 @@ typedef struct t_box {
object get_object_at_tile(float x, float y);
void create_objects();
-void draw_objects_at_row(platform_window* window, int row);
+void draw_objects(platform_window* window);
box get_box_of_object(platform_window* window, object o);
void render_quad_with_outline(vec2f tl, vec2f tr, vec2f bl, vec2f br, color c);
void render_box_with_outline(box box, color c);