summaryrefslogtreecommitdiff
path: root/gfx-iso/include/isogfx/isogfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx-iso/include/isogfx/isogfx.h')
-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);