diff options
author | 3gg <3gg@shellblade.net> | 2023-07-08 15:03:05 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2023-07-08 15:03:05 -0700 |
commit | 4fd6b58064bd26df93b05e39438dab649a65633c (patch) | |
tree | 4f7394f204933bdd6816d6dc5a38a2c16407c6d7 /gfx-iso/include | |
parent | 21a0d0c1c424f7db90c3282aad4bf6ad4ef809b7 (diff) |
Add pixel scaling.
Diffstat (limited to 'gfx-iso/include')
-rw-r--r-- | gfx-iso/include/isogfx/isogfx.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gfx-iso/include/isogfx/isogfx.h b/gfx-iso/include/isogfx/isogfx.h index 22c8fd5..5c44310 100644 --- a/gfx-iso/include/isogfx/isogfx.h +++ b/gfx-iso/include/isogfx/isogfx.h | |||
@@ -93,7 +93,10 @@ void isogfx_render(IsoGfx*); | |||
93 | /// position (x,y) instead, use isogfx_set_tile(). | 93 | /// position (x,y) instead, use isogfx_set_tile(). |
94 | void isogfx_draw_tile(IsoGfx*, int x, int y, Tile); | 94 | void isogfx_draw_tile(IsoGfx*, int x, int y, Tile); |
95 | 95 | ||
96 | /// Return a pointer to the internal colour buffer. | 96 | /// Resize the virtual screen's dimensions. |
97 | bool isogfx_resize(IsoGfx*, int screen_width, int screen_height); | ||
98 | |||
99 | /// Return a pointer to the virtual screen's colour buffer. | ||
97 | /// | 100 | /// |
98 | /// Call after each call to isogfx_render() to retrieve the render output. | 101 | /// Call after each call to isogfx_render() to retrieve the render output. |
99 | const Pixel* isogfx_get_screen_buffer(const IsoGfx*); | 102 | const Pixel* isogfx_get_screen_buffer(const IsoGfx*); |