summaryrefslogtreecommitdiff
path: root/gfx-iso/include
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-07-14 09:25:55 -0700
committer3gg <3gg@shellblade.net>2023-07-14 09:25:55 -0700
commit2c668763a1d6e645dcfaa713b924de26260542d0 (patch)
tree94cbbdfd904ed57ebf9372d399b7f283eee1b894 /gfx-iso/include
parent30920ebec7d66adbb540e907a49058dcf334383c (diff)
Fix checkerboard demo.
Diffstat (limited to 'gfx-iso/include')
-rw-r--r--gfx-iso/include/isogfx/isogfx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gfx-iso/include/isogfx/isogfx.h b/gfx-iso/include/isogfx/isogfx.h
index 5c44310..6b7ce8e 100644
--- a/gfx-iso/include/isogfx/isogfx.h
+++ b/gfx-iso/include/isogfx/isogfx.h
@@ -79,10 +79,6 @@ void isogfx_set_tile(IsoGfx*, int x, int y, Tile);
79/// Set the tiles in positions in the range (x0,y0) - (x1,y1). 79/// Set the tiles in positions in the range (x0,y0) - (x1,y1).
80void isogfx_set_tiles(IsoGfx*, int x0, int y0, int x1, int y1, Tile); 80void isogfx_set_tiles(IsoGfx*, int x0, int y0, int x1, int y1, Tile);
81 81
82/// Translate Cartesian to isometric coordinates.
83void isogfx_pick_tile(
84 const IsoGfx*, double xcart, double ycart, int* xiso, int* yiso);
85
86/// Render the world. 82/// Render the world.
87void isogfx_render(IsoGfx*); 83void isogfx_render(IsoGfx*);
88 84
@@ -100,3 +96,7 @@ bool isogfx_resize(IsoGfx*, int screen_width, int screen_height);
100/// 96///
101/// Call after each call to isogfx_render() to retrieve the render output. 97/// Call after each call to isogfx_render() to retrieve the render output.
102const Pixel* isogfx_get_screen_buffer(const IsoGfx*); 98const Pixel* isogfx_get_screen_buffer(const IsoGfx*);
99
100/// Translate Cartesian to isometric coordinates.
101void isogfx_pick_tile(
102 const IsoGfx*, double xcart, double ycart, int* xiso, int* yiso);