aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/slice_animations.h
diff options
context:
space:
mode:
authorPeter Kohaut2015-09-19 01:43:38 +0200
committerEugene Sandulenko2016-09-29 22:33:40 +0200
commitde7f961f484bc29c33240a29376bbd24dc4d6139 (patch)
tree6632ae781aecf5553c8f0309503b42da90feb47b /engines/bladerunner/slice_animations.h
parent479d2f5b6293af2ae84fbdc718348a6e1126efb0 (diff)
downloadscummvm-rg350-de7f961f484bc29c33240a29376bbd24dc4d6139.tar.gz
scummvm-rg350-de7f961f484bc29c33240a29376bbd24dc4d6139.tar.bz2
scummvm-rg350-de7f961f484bc29c33240a29376bbd24dc4d6139.zip
BLADERUNNER: added implementation of more script methods added combat structure (maybe it combat mode??)
Diffstat (limited to 'engines/bladerunner/slice_animations.h')
-rw-r--r--engines/bladerunner/slice_animations.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/bladerunner/slice_animations.h b/engines/bladerunner/slice_animations.h
index b0c53b1e05..9af12e41c2 100644
--- a/engines/bladerunner/slice_animations.h
+++ b/engines/bladerunner/slice_animations.h
@@ -23,6 +23,8 @@
#ifndef BLADERUNNER_SLICE_ANIMATIONS_H
#define BLADERUNNER_SLICE_ANIMATIONS_H
+#include "bladerunner/vector.h"
+
#include "common/array.h"
#include "common/file.h"
#include "common/str.h"
@@ -46,10 +48,8 @@ class SliceAnimations {
uint32 frameCount;
uint32 frameSize;
float fps;
- float unk0;
- float unk1;
- float unk2;
- float unk3;
+ Vector3 positionChange;
+ float facingChange;
uint32 offset;
};
@@ -102,10 +102,10 @@ public:
bool openCoreAnim();
bool openHDFrames();
- SlicePalette &getPalette(int i) { return _palettes[i]; };
+ SlicePalette &getPalette(int i) { return _palettes[i]; }
void *getFramePtr(uint32 animation, uint32 frame);
-
int getNumberOfFrames(int animationId);
+ float getFps(int animationId);
};
} // End of namespace BladeRunner