aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/actor_dialogue_queue.h
diff options
context:
space:
mode:
authorThanasis Antoniou2019-07-17 19:08:43 +0300
committerThanasis Antoniou2019-07-17 19:09:15 +0300
commitcaa4578add35021bfbb00b5f81359592402096a3 (patch)
tree2133b0dd3f4e71324bafc1ca65699ba79483e512 /engines/bladerunner/actor_dialogue_queue.h
parentd1ff73cbb381db1876e2dbdf0457c9efc76fcd1a (diff)
downloadscummvm-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/actor_dialogue_queue.h')
-rw-r--r--engines/bladerunner/actor_dialogue_queue.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/bladerunner/actor_dialogue_queue.h b/engines/bladerunner/actor_dialogue_queue.h
index bba900db7d..8ae3a0a2e0 100644
--- a/engines/bladerunner/actor_dialogue_queue.h
+++ b/engines/bladerunner/actor_dialogue_queue.h
@@ -35,12 +35,12 @@ class ActorDialogueQueue {
static const uint kMaxEntries = 25;
struct Entry {
- bool isNotPause;
- bool isPause;
- int actorId;
- int sentenceId;
- int animationMode;
- int delay;
+ bool isNotPause;
+ bool isPause;
+ int actorId;
+ int sentenceId;
+ int animationMode;
+ uint32 delay;
Entry();
};
@@ -54,15 +54,15 @@ class ActorDialogueQueue {
int _animationMode;
int _animationModePrevious;
bool _isPause;
- int _delay;
- int _timeLast;
+ uint32 _delay;
+ uint32 _timeLast;
public:
ActorDialogueQueue(BladeRunnerEngine *vm);
~ActorDialogueQueue();
void add(int actorId, int sentenceId, int animationMode);
- void addPause(int delay);
+ void addPause(uint32 delay);
void flush(int a1, bool callScript);
bool isEmpty();
void tick();