aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/auto_animate.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-12 23:53:18 -0400
committerPaul Gilbert2016-08-12 23:53:18 -0400
commit6a9923ec07d019cbbf8c35e36030391dac256e79 (patch)
tree0779d0d2489a9f6fda7f9c3e17484213d53d752e /engines/titanic/game/auto_animate.h
parent4f8c31ecf7c8ac71e1be65771ce508fb11c62749 (diff)
downloadscummvm-rg350-6a9923ec07d019cbbf8c35e36030391dac256e79.tar.gz
scummvm-rg350-6a9923ec07d019cbbf8c35e36030391dac256e79.tar.bz2
scummvm-rg350-6a9923ec07d019cbbf8c35e36030391dac256e79.zip
TITANIC: Implemented some game object classes
Diffstat (limited to 'engines/titanic/game/auto_animate.h')
-rw-r--r--engines/titanic/game/auto_animate.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/game/auto_animate.h b/engines/titanic/game/auto_animate.h
index 7bca808bfb..735aba922e 100644
--- a/engines/titanic/game/auto_animate.h
+++ b/engines/titanic/game/auto_animate.h
@@ -29,14 +29,16 @@
namespace Titanic {
class CAutoAnimate : public CBackground {
+ DECLARE_MESSAGE_MAP;
bool EnterViewMsg(CEnterViewMsg *msg);
+ bool InitializeAnimMsg(CInitializeAnimMsg *msg);
private:
- int _fieldE0;
+ bool _enabled;
int _fieldE4;
- int _fieldE8;
+ bool _repeat;
public:
CLASSDEF;
- CAutoAnimate() : CBackground(), _fieldE0(1), _fieldE4(1), _fieldE8(0) {}
+ CAutoAnimate() : CBackground(), _enabled(true), _fieldE4(1), _repeat(false) {}
/**
* Save the data for the class to file