diff options
author | Sven Hesse | 2011-09-03 17:24:34 +0200 |
---|---|---|
committer | Sven Hesse | 2011-09-03 18:00:09 +0200 |
commit | 7f5f9c9f91eb8cd52ebcffe208d0e778f8ff6448 (patch) | |
tree | 88a0a8c06121df4c17a62e79bf67b08f87ea6d68 /engines/gob/minigames/geisha/diving.h | |
parent | 26dd2f5f603b10b3b54664b6589c8feb6c4f7b82 (diff) | |
download | scummvm-rg350-7f5f9c9f91eb8cd52ebcffe208d0e778f8ff6448.tar.gz scummvm-rg350-7f5f9c9f91eb8cd52ebcffe208d0e778f8ff6448.tar.bz2 scummvm-rg350-7f5f9c9f91eb8cd52ebcffe208d0e778f8ff6448.zip |
GOB: Stub classes for Geisha's Diving and Penetration minigames
Diffstat (limited to 'engines/gob/minigames/geisha/diving.h')
-rw-r--r-- | engines/gob/minigames/geisha/diving.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/diving.h b/engines/gob/minigames/geisha/diving.h new file mode 100644 index 0000000000..238a1ad75b --- /dev/null +++ b/engines/gob/minigames/geisha/diving.h @@ -0,0 +1,68 @@ +/* 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 GOB_MINIGAMES_GEISHA_DIVING_H +#define GOB_MINIGAMES_GEISHA_DIVING_H + +#include "common/system.h" + +namespace Gob { + +class GobEngine; +class DECFile; +class ANIFile; +class ANIObject; + +namespace Geisha { + +/** Geisha's "Diving" minigame. */ +class Diving { +public: + Diving(GobEngine *vm); + ~Diving(); + + bool play(uint16 playerCount, bool hasPearlLocation); + +private: + GobEngine *_vm; + + DECFile *_background; + ANIFile *_objects; + ANIFile *_gui; + ANIFile *_oko; + + ANIObject *_water; + ANIObject *_lungs; + ANIObject *_heart; + + + void init(); + void deinit(); + + void initScreen(); +}; + +} // End of namespace Geisha + +} // End of namespace Gob + +#endif // GOB_MINIGAMES_GEISHA_DIVING_H |