ScummVM API documentation
minigame4.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#ifndef DRAGONS_MINIGAME4_H
22#define DRAGONS_MINIGAME4_H
23
24namespace Dragons {
25
26class DragonsEngine;
27
28class Actor;
29
30class Minigame4 {
31private:
32 DragonsEngine *_vm;
33
34 Actor *_flickerActor;
35 Actor *_bruteActor;
36 Actor *_ps1ControllerActor;
37 Actor *_dat_80090438;
38 Actor *_dat_8009043c;
39
40
41public:
42 uint16 _layer2XOffset;
43
45
46 void run();
47private:
48 void actorTalk(Actor *actorId,uint16 param_2,uint32 textIndex);
49 void actorDialog(Actor *actorId,uint16 param_2,uint32 textIndex);
50 uint16 runDanceBattle();
51 uint16 singleDanceRound(uint16 desiredPosition, uint16 duration);
52 void resetActors();
53 void updateFlickerFromInput();
54 uint16 fun_8009009c(uint16 unk);
55};
56
57} // End of namespace Dragons
58
59#endif //DRAGONS_MINIGAME4_H
Definition: actor.h:86
Definition: dragons.h:166
Definition: minigame4.h:30