blob: 664eb745dde47dcc750d8dc4d02240746ead7a56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
|
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef FULLPIPE_SCENES_H
#define FULLPIPE_SCENES_H
namespace Fullpipe {
struct BehaviorEntryInfo;
class StaticANIObject;
class MctlLadder;
class MGM;
int defaultUpdateCursor();
int sceneIntro_updateCursor();
void sceneIntro_initScene(Scene *sc);
int sceneHandlerIntro(ExCommand *cmd);
void scene01_fixEntrance();
void scene01_initScene(Scene *sc, int entrance);
int sceneHandler01(ExCommand *cmd);
void scene02_initScene(Scene *sc);
int sceneHandler02(ExCommand *ex);
void scene03_setEaterState();
int scene03_updateCursor();
void scene03_initScene(Scene *sc);
int sceneHandler03(ExCommand *cmd);
int scene04_updateCursor();
void scene04_initScene(Scene *sc);
int sceneHandler04(ExCommand *cmd);
void scene05_initScene(Scene *sc);
int sceneHandler05(ExCommand *cmd);
void scene06_initScene(Scene *sc);
void scene06_initMumsy();
int sceneHandler06(ExCommand *cmd);
int scene06_updateCursor();
void scene07_initScene(Scene *sc);
int sceneHandler07(ExCommand *cmd);
void scene08_initScene(Scene *sc);
void scene08_setupMusic();
int sceneHandler08(ExCommand *cmd);
int scene08_updateCursor();
void scene10_initScene(Scene *sc);
int sceneHandler10(ExCommand *cmd);
int scene10_updateCursor();
void scene11_initScene(Scene *sc);
void scene11_setupMusic();
int sceneHandler11(ExCommand *cmd);
int scene11_updateCursor();
void scene12_initScene(Scene *sc);
int sceneHandler12(ExCommand *ex);
void scene13_initScene(Scene *sc);
int sceneHandler13(ExCommand *ex);
void scene14_initScene(Scene *sc);
void scene14_setupMusic();
int sceneHandler14(ExCommand *cmd);
int scene14_updateCursor();
int scene15_updateCursor();
void scene15_initScene(Scene *sc);
int sceneHandler15(ExCommand *cmd);
void scene24_initScene(Scene *sc);
void scene24_setPoolState();
int sceneHandler24(ExCommand *cmd);
void sceneDbgMenu_initScene(Scene *sc);
int sceneHandlerDbgMenu(ExCommand *cmd);
class Vars {
public:
Vars();
GameVar *swallowedEgg1;
GameVar *swallowedEgg2;
GameVar *swallowedEgg3;
StaticANIObject *sceneIntro_aniin1man;
bool sceneIntro_needSleep;
bool sceneIntro_needGetup;
bool sceneIntro_skipIntro;
bool sceneIntro_playing;
bool sceneIntro_needBlackout;
PictureObject *scene01_picSc01Osk;
PictureObject *scene01_picSc01Osk2;
StaticANIObject *scene02_guvTheDrawer;
int scene02_boxDelay;
bool scene02_boxOpen;
StaticANIObject *scene03_eggeater;
StaticANIObject *scene03_domino;
PictureObject *scene04_bottle;
StaticANIObject *scene04_hand;
StaticANIObject *scene04_plank;
StaticANIObject *scene04_clock;
StaticANIObject *scene04_spring;
StaticANIObject *scene04_mamasha;
StaticANIObject *scene04_boot;
StaticANIObject *scene04_speaker;
Common::Point scene04_jumpingKozyawki[20];
Common::Point scene04_jumpRotateKozyawki[20];
Common::List<StaticANIObject *> scene04_kozyawkiObjList;
Common::List<GameObject *> scene04_bottleObjList;
Common::List<StaticANIObject *> scene04_kozyawkiAni;
MctlLadder *scene04_ladder;
int scene04_ladderOffset;
bool scene04_coinPut;
bool scene04_soundPlaying;
bool scene04_dudeOnLadder;
int scene04_dynamicPhaseIndex;
int scene04_sceneClickX;
int scene04_sceneClickY;
int scene04_dudePosX;
int scene04_dudePosY;
int scene04_bottleY;
StaticANIObject *scene04_walkingKozyawka;
int scene04_speakerVariant;
int scene04_speakerPhase;
bool scene04_bottleIsTaken;
bool scene04_kozyawkaOnLadder;
int scene04_bottleWeight;
bool scene04_var07;
bool scene04_ladderClickable;
bool scene04_handIsDown;
bool scene04_dudeInBottle;
bool scene04_kozHeadRaised;
bool scene04_bottleIsDropped;
bool scene04_bigBallIn;
int scene04_bigBallCounter;
bool scene04_bigBallFromLeft;
bool scene04_clockCanGo;
bool scene04_objectIsTaken;
int scene04_springOffset;
StaticANIObject *scene04_lastKozyawka;
int scene04_springDelay;
StaticANIObject *scene05_handle;
StaticANIObject *scene05_wacko;
StaticANIObject *scene05_bigHatch;
int scene05_wackoTicker;
int scene05_handleFlipper;
int scene05_floatersTicker;
StaticANIObject *scene06_mumsy;
int scene06_manX;
int scene06_manY;
int scene06_ballX;
int scene06_ballY;
StaticANIObject *scene06_someBall;
StaticANIObject *scene06_invHandle;
StaticANIObject *scene06_liftButton;
StaticANIObject *scene06_ballDrop;
bool scene06_arcadeEnabled;
bool scene06_aimingBall;
StaticANIObject *scene06_currentBall;
StaticANIObject *scene06_ballInHands;
StaticANIObject *scene06_flyingBall;
Common::Array<StaticANIObject *> scene06_balls;
int scene06_numBallsGiven;
int scene06_mumsyNumBalls;
int scene06_eggieTimeout;
int scene06_eggieDirection;
int scene06_mumsyGotBall;
int scene06_ballDeltaX;
int scene06_ballDeltaY;
int scene06_sceneClickX;
int scene06_sceneClickY;
int scene06_mumsyPos;
BehaviorEntryInfo *scene06_mumsyJumpBk;
BehaviorEntryInfo *scene06_mumsyJumpFw;
int scene06_mumsyJumpBkPercent;
int scene06_mumsyJumpFwPercent;
BehaviorEntryInfo *scene07_lukeAnim;
int scene07_lukePercent;
StaticANIObject *scene07_plusMinus;
StaticANIObject *scene08_batuta;
StaticANIObject *scene08_vmyats;
StaticANIObject *scene08_clock;
bool scene08_inAir;
bool scene08_flyingUp;
int scene08_onBelly;
int scene08_stairsOffset;
int scene08_snoringCountdown;
bool scene08_inArcade;
bool scene08_stairsVisible;
int scene08_manOffsetY;
StaticANIObject *scene10_gum;
StaticANIObject *scene10_packet;
StaticANIObject *scene10_packet2;
StaticANIObject *scene10_inflater;
PictureObject *scene10_ladder;
int scene10_hasGum;
StaticANIObject *scene11_swingie;
StaticANIObject *scene11_boots;
StaticANIObject *scene11_dudeOnSwing;
PictureObject *scene11_hint;
MGM scene11_mgm;
bool scene11_arcadeIsOn;
bool scene11_scrollIsEnabled;
bool scene11_scrollIsMaximized;
int scene11_hintCounter;
int scene11_swingieScreenEdge;
int scene11_crySound;
double scene11_swingAngle;
double scene11_swingOldAngle;
double scene11_swingSpeed;
double scene11_swingAngleDiff;
double scene11_swingInertia;
int scene11_swingCounter;
int scene11_swingCounterPrevTurn;
int scene11_swingDirection;
int scene11_swingDirectionPrevTurn;
bool scene11_swingIsSwinging;
bool scene11_swingieStands;
int scene11_dudeX;
int scene11_dudeY;
int scene11_swingMaxAngle;
int scene12_fly;
int scene12_flyCountdown;
StaticANIObject *scene13_whirlgig;
StaticANIObject *scene13_guard;
StaticANIObject *scene13_handleR;
StaticANIObject *scene13_handleL;
StaticANIObject *scene13_bridge;
bool scene13_guardDirection;
int scene13_dudeX;
StaticANIObject *scene14_grandma;
int scene14_sceneDeltaX;
int scene14_sceneDeltaY;
bool scene14_arcadeIsOn;
bool scene14_dudeIsKicking;
bool scene14_ballIsFlying;
bool scene14_dudeCanKick;
int scene14_sceneDiffX;
int scene14_sceneDiffY;
StaticANIObject *scene14_pink;
StaticANIObject *scene14_flyingBall;
Common::List<StaticANIObject *> scene14_balls;
bool scene14_grandmaIsHere;
int scene14_dudeX;
int scene14_dudeY;
int scene14_grandmaX;
int scene14_grandmaY;
int scene14_dude2X;
int scene14_ballDeltaX;
int scene14_ballDeltaY;
int scene14_ballX;
int scene14_ballY;
int scene14_hitsLeft;
Common::Point scene14_mouseCursorPos;
int scene15_chantingCountdown;
StaticANIObject *scene15_plusminus;
PictureObject *scene15_ladder;
StaticANIObject *scene15_boot;
bool scene24_jetIsOn;
bool scene24_flowIsLow;
bool scene24_waterIsOn;
StaticANIObject *scene24_water;
StaticANIObject *scene24_jet;
StaticANIObject *scene24_drop;
PictureObject *selector;
};
} // End of namespace Fullpipe
#endif /* FULLPIPE_SCENES_H */
|