diff options
author | Paul Gilbert | 2019-02-06 22:38:10 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-02-06 22:38:10 -0800 |
commit | 75aaf5eb82a19cf6d5f62af956324000901bde46 (patch) | |
tree | 5e4f2d42bf086fcad547a8f039a9ce052fbebac7 /engines/glk/frotz/glk_interface.h | |
parent | e07b5670f2454866c2ffeea783bbbc7a1946c498 (diff) | |
download | scummvm-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.h | 5 |
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. |