aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/lever_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/lever_control.h')
-rw-r--r--engines/zvision/lever_control.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/zvision/lever_control.h b/engines/zvision/lever_control.h
index 19ecc7b9ac..591d64e949 100644
--- a/engines/zvision/lever_control.h
+++ b/engines/zvision/lever_control.h
@@ -32,7 +32,7 @@
namespace ZVision {
class ZorkAVIDecoder;
-class RlfAnimation;
+class MetaAnimation;
class LeverControl : public Control {
public:
@@ -40,10 +40,6 @@ public:
~LeverControl();
private:
- enum FileType {
- RLF = 1,
- AVI = 2
- };
struct Direction {
Direction(uint a, uint t) : angle(a), toFrame(t) {}
@@ -64,11 +60,7 @@ private:
};
private:
- union {
- RlfAnimation *rlf;
- ZorkAVIDecoder *avi;
- } _animation;
- FileType _fileType;
+ MetaAnimation *_animation;
Common::String _cursorName;
Common::Rect _animationCoords;