summaryrefslogtreecommitdiff
path: root/gfx-iso/demos/isomap/isomap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx-iso/demos/isomap/isomap.c')
-rw-r--r--gfx-iso/demos/isomap/isomap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx-iso/demos/isomap/isomap.c b/gfx-iso/demos/isomap/isomap.c
index d204d28..5ab926c 100644
--- a/gfx-iso/demos/isomap/isomap.c
+++ b/gfx-iso/demos/isomap/isomap.c
@@ -15,6 +15,8 @@ static bool init(
15 IsoGfxAppState* state, IsoGfx* iso, int argc, const char** argv) { 15 IsoGfxAppState* state, IsoGfx* iso, int argc, const char** argv) {
16 assert(state); 16 assert(state);
17 assert(iso); 17 assert(iso);
18 (void)argc;
19 (void)argv;
18 20
19 if (!isogfx_load_world(iso, "/home/jeanne/assets/tilemaps/demo1.tm")) { 21 if (!isogfx_load_world(iso, "/home/jeanne/assets/tilemaps/demo1.tm")) {
20 return false; 22 return false;
@@ -41,6 +43,9 @@ static void update(IsoGfxAppState* state, IsoGfx* iso, double t, double dt) {
41 assert(state); 43 assert(state);
42 assert(iso); 44 assert(iso);
43 45
46 (void)t;
47 (void)dt;
48
44 double mouse_x, mouse_y; 49 double mouse_x, mouse_y;
45 gfx_app_get_mouse_position(&mouse_x, &mouse_y); 50 gfx_app_get_mouse_position(&mouse_x, &mouse_y);
46 51