aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/glk_interface.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-02-06 22:38:10 -0800
committerPaul Gilbert2019-02-06 22:38:10 -0800
commit75aaf5eb82a19cf6d5f62af956324000901bde46 (patch)
tree5e4f2d42bf086fcad547a8f039a9ce052fbebac7 /engines/glk/frotz/glk_interface.h
parente07b5670f2454866c2ffeea783bbbc7a1946c498 (diff)
downloadscummvm-rg350-75aaf5eb82a19cf6d5f62af956324000901bde46.tar.gz
scummvm-rg350-75aaf5eb82a19cf6d5f62af956324000901bde46.tar.bz2
scummvm-rg350-75aaf5eb82a19cf6d5f62af956324000901bde46.zip
GLK: FROTZ: Fix drawing position of pillars in Zork Zero
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.