aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/glk_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz/glk_interface.h')
-rw-r--r--engines/glk/frotz/glk_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/frotz/glk_interface.h b/engines/glk/frotz/glk_interface.h
index 178b53339d..93d0ecd4d2 100644
--- a/engines/glk/frotz/glk_interface.h
+++ b/engines/glk/frotz/glk_interface.h
@@ -109,6 +109,11 @@ private:
* Add any Sound subfolder or sound zip file for access
*/
void addSound();
+
+ /**
+ * Do a rounding division, rounding to even if fraction part is 1/2.
+ */
+ uint roundDiv(uint x, uint y);
protected:
/**
* Return the length of the character in screen units.