2007-05-30 21:56:52 +00:00
|
|
|
/* 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.
|
2006-02-11 12:54:56 +00:00
|
|
|
*
|
2021-12-26 17:47:58 +00:00
|
|
|
* 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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2014-02-18 01:34:22 +00:00
|
|
|
*
|
2006-02-11 12:54:56 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2008-01-05 12:45:14 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2006-02-11 12:54:56 +00:00
|
|
|
* GNU General Public License for more details.
|
2014-02-18 01:34:22 +00:00
|
|
|
*
|
2006-02-11 12:54:56 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 17:47:58 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-02-11 12:54:56 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-07-23 15:32:14 +00:00
|
|
|
#ifndef LURE_INTRO_H
|
|
|
|
#define LURE_INTRO_H
|
2006-02-11 12:54:56 +00:00
|
|
|
|
|
|
|
#include "lure/screen.h"
|
|
|
|
|
|
|
|
namespace Lure {
|
|
|
|
|
|
|
|
class Introduction {
|
2020-06-11 12:41:00 +00:00
|
|
|
public:
|
|
|
|
Introduction() : _currentSound(0xFF) { }
|
|
|
|
|
|
|
|
bool show();
|
2006-02-11 12:54:56 +00:00
|
|
|
private:
|
2020-06-11 12:41:00 +00:00
|
|
|
uint8 _currentSound;
|
|
|
|
|
2020-06-06 11:55:42 +00:00
|
|
|
bool showScreen(uint16 screenId, uint16 paletteId, uint16 delaySize, bool fadeOut = true);
|
2007-09-23 22:14:45 +00:00
|
|
|
bool interruptableDelay(uint32 milliseconds);
|
2020-08-09 19:06:47 +00:00
|
|
|
bool playMusic(uint8 soundNumber, bool fadeOut);
|
2006-02-11 12:54:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Lure
|
|
|
|
|
|
|
|
#endif
|