diff options
author | Thanasis Antoniou | 2019-07-17 19:08:43 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-07-17 19:09:15 +0300 |
commit | caa4578add35021bfbb00b5f81359592402096a3 (patch) | |
tree | 2133b0dd3f4e71324bafc1ca65699ba79483e512 /engines/bladerunner/time.h | |
parent | d1ff73cbb381db1876e2dbdf0457c9efc76fcd1a (diff) | |
download | scummvm-rg350-caa4578add35021bfbb00b5f81359592402096a3.tar.gz scummvm-rg350-caa4578add35021bfbb00b5f81359592402096a3.tar.bz2 scummvm-rg350-caa4578add35021bfbb00b5f81359592402096a3.zip |
BLADERUNNER: Use unsigned 32bit diff for time durations
Diffstat (limited to 'engines/bladerunner/time.h')
-rw-r--r-- | engines/bladerunner/time.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/engines/bladerunner/time.h b/engines/bladerunner/time.h index 48fa23a594..de48a112d1 100644 --- a/engines/bladerunner/time.h +++ b/engines/bladerunner/time.h @@ -23,6 +23,8 @@ #ifndef BLADERUNNER_TIME_H #define BLADERUNNER_TIME_H +#include "common/types.h" + namespace BladeRunner { class BladeRunnerEngine; @@ -30,18 +32,18 @@ class BladeRunnerEngine; class Time { BladeRunnerEngine *_vm; - int _start; + uint32 _start; int _pauseCount; - int _offset; - int _pauseStart; + uint32 _offset; + uint32 _pauseStart; public: Time(BladeRunnerEngine *vm); - int currentSystem(); - int current(); + uint32 currentSystem(); + uint32 current(); int pause(); - int getPauseStart(); + uint32 getPauseStart(); int resume(); bool isLocked(); void resetPauseStart(); |