summaryrefslogtreecommitdiff
path: root/gfx-iso/include
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-08-29 22:09:29 -0700
committer3gg <3gg@shellblade.net>2024-08-29 22:09:29 -0700
commitcb9b2c2fe7b77b0b8a3826ad2846655133683dfe (patch)
tree1c7fa0463c52dc24e36b0bed9aec372e0c1eed03 /gfx-iso/include
parent77b9cc7426d3da7ae4da954db2f59408e9e6be2b (diff)
Fix offseting. Add function to get screen size.
Diffstat (limited to 'gfx-iso/include')
-rw-r--r--gfx-iso/include/isogfx/isogfx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx-iso/include/isogfx/isogfx.h b/gfx-iso/include/isogfx/isogfx.h
index e96606c..3421a7b 100644
--- a/gfx-iso/include/isogfx/isogfx.h
+++ b/gfx-iso/include/isogfx/isogfx.h
@@ -123,6 +123,9 @@ void isogfx_draw_tile(IsoGfx*, int x, int y, Tile);
123/// Resize the virtual screen's dimensions. 123/// Resize the virtual screen's dimensions.
124bool isogfx_resize(IsoGfx*, int screen_width, int screen_height); 124bool isogfx_resize(IsoGfx*, int screen_width, int screen_height);
125 125
126/// Get the virtual screen's dimensions.
127void isogfx_get_screen_size(const IsoGfx*, int* width, int* height);
128
126/// Return a pointer to the virtual screen's colour buffer. 129/// Return a pointer to the virtual screen's colour buffer.
127/// 130///
128/// Call after each call to isogfx_render() to retrieve the render output. 131/// Call after each call to isogfx_render() to retrieve the render output.