scummvm/engines/dragons/minigame4.h
2020-02-25 14:43:42 +01:00

63 lines
1.7 KiB
C++

/* 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 DRAGONS_MINIGAME4_H
#define DRAGONS_MINIGAME4_H
#include "common/system.h"
namespace Dragons {
class DragonsEngine;
class Actor;
class Minigame4 {
private:
DragonsEngine *_vm;
Actor *_flickerActor;
Actor *_bruteActor;
Actor *_ps1ControllerActor;
Actor *_dat_80090438;
Actor *_dat_8009043c;
public:
uint16 _layer2XOffset;
Minigame4(DragonsEngine *vm);
void run();
private:
void actorTalk(Actor *actorId,uint16 param_2,uint32 textIndex);
void actorDialog(Actor *actorId,uint16 param_2,uint32 textIndex);
uint16 runDanceBattle();
uint16 singleDanceRound(uint16 desiredPosition, uint16 duration);
void resetActors();
void updateFlickerFromInput();
uint16 fun_8009009c(uint16 unk);
};
} // End of namespace Dragons
#endif //DRAGONS_MINIGAME4_H