aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/klayman.h
diff options
context:
space:
mode:
authorjohndoe1232012-09-13 17:51:44 +0000
committerWillem Jan Palenstijn2013-05-08 20:43:41 +0200
commit402f4bd275f064f0ad7752be7aebfa1634b81fa1 (patch)
tree178963e48a9ff441f879e694df6e9699ca3600b4 /engines/neverhood/klayman.h
parentd4e322bc78d30941f5f3ab31c2460412fe0d7fb5 (diff)
downloadscummvm-rg350-402f4bd275f064f0ad7752be7aebfa1634b81fa1.tar.gz
scummvm-rg350-402f4bd275f064f0ad7752be7aebfa1634b81fa1.tar.bz2
scummvm-rg350-402f4bd275f064f0ad7752be7aebfa1634b81fa1.zip
NEVERHOOD: Start with Module2400
- Implement Scene2401
Diffstat (limited to 'engines/neverhood/klayman.h')
-rw-r--r--engines/neverhood/klayman.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/neverhood/klayman.h b/engines/neverhood/klayman.h
index fea543cdc9..fdf9b6e9b4 100644
--- a/engines/neverhood/klayman.h
+++ b/engines/neverhood/klayman.h
@@ -578,6 +578,23 @@ protected:
void sub453520();
};
+class KmScene2401 : public Klayman {
+public:
+ KmScene2401(NeverhoodEngine *vm, Entity *parentScene, int16 x, int16 y);
+protected:
+ bool _canSpit;
+ bool _contSpit;
+ bool _readyToSpit;
+ uint32 _spitPipeIndex;
+ uint32 _spitDestPipeIndex;
+ uint32 _spitContDestPipeIndex;
+ uint32 xHandleMessage(int messageNum, const MessageParam &param);
+ uint32 handleMessage(int messageNum, const MessageParam &param, Entity *sender);
+ void stTrySpitIntoPipe();
+ void spitIntoPipe();
+ void stContSpitIntoPipe();
+};
+
class KmScene2501 : public Klayman {
public:
KmScene2501(NeverhoodEngine *vm, Entity *parentScene, int16 x, int16 y);