diff options
author | Arnaud Boutonné | 2010-12-12 07:40:00 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-12-12 07:40:00 +0000 |
commit | c428cfbb855fa3162fcc6aff87e2b1c8a3de799a (patch) | |
tree | 0303301db8bc742e791d9349a9a5a4f3f03fdf3e /engines/hugo/hugo.h | |
parent | c4e4f7dc865b014cbfd516753fefd5ed077c8450 (diff) | |
download | scummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.tar.gz scummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.tar.bz2 scummvm-rg350-c428cfbb855fa3162fcc6aff87e2b1c8a3de799a.zip |
HUGO: Fix "mouse" bug in H3 Dos, TPS tuning
- Fix "mouse" bug in H3 DOS. Game is still not completable
- Use variable normal TPS, as it was slightly different in
some DOS versions
svn-id: r54880
Diffstat (limited to 'engines/hugo/hugo.h')
-rw-r--r-- | engines/hugo/hugo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hugo/hugo.h b/engines/hugo/hugo.h index c6dc41f168..4c511efe41 100644 --- a/engines/hugo/hugo.h +++ b/engines/hugo/hugo.h @@ -127,6 +127,9 @@ public: int8 _soundTest; int8 _tunesNbr; uint16 _numScreens; + int8 _normalTPS; // Number of ticks (frames) per second. + //8 for Win versions, 9 for DOS versions + object_t *_hero; byte *_screen_p; @@ -198,6 +201,8 @@ public: int deltaX(int x1, int x2, int vx, int y); int deltaY(int x1, int x2, int vy, int y); + int8 getTPS(); + void initGame(const HugoGameDescription *gd); void initGamePart(const HugoGameDescription *gd); void boundaryCollision(object_t *obj); |