ScummVM API documentation
room00.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef CHEWY_ROOMS_ROOM0_H
23 #define CHEWY_ROOMS_ROOM0_H
24 
25 namespace Chewy {
26 namespace Rooms {
27 
31 class Room0 {
32 private:
36  enum EyeMode { EYE_START = 0, EYE_END = 1 };
37  static void eyeStart(EyeMode mode);
38 
42  static void eyeWait();
43 
47  static void eyeShoot();
48 
49  static void eyeSlimeBack();
50 
51  static void checkSlimeEye();
52 
53  static void feederStart(int16 mode);
54 
55  static void checkFeed();
56  static void checkPillow();
57 
58  static void feederExtend();
59 
60  static void trapDoorOpen();
61  static void trapDoorClose();
62 
63  static void calcEyeClick(int16 aniNr);
64 
65  static void calcPillowClick(int16 aniNr);
66 public:
67  static void entry();
68  static bool timer(int16 timerNr, int16 aniNr);
69 
70  static void eyeAnim();
71  static void feederAni();
72  static bool getPillow();
73  static bool pullSlime();
74 };
75 
76 } // namespace Rooms
77 } // namespace Chewy
78 
79 #endif
Definition: room00.h:31
Definition: ani_dat.h:25