2007-07-29 16:31:29 +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.
|
|
|
|
*
|
|
|
|
* 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
|
2007-07-29 16:33:11 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2007-07-29 16:31:29 +00:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
2008-01-27 19:47:41 +00:00
|
|
|
|
2008-05-02 14:46:30 +00:00
|
|
|
#ifndef KYRA_SCREEN_HOF_H
|
|
|
|
#define KYRA_SCREEN_HOF_H
|
2007-07-29 16:31:29 +00:00
|
|
|
|
2008-05-02 14:46:30 +00:00
|
|
|
#include "kyra/screen_v2.h"
|
2007-07-29 16:31:29 +00:00
|
|
|
|
|
|
|
namespace Kyra {
|
|
|
|
|
2008-05-02 14:46:30 +00:00
|
|
|
class KyraEngine_HoF;
|
2007-07-29 16:31:29 +00:00
|
|
|
|
2008-05-02 14:46:30 +00:00
|
|
|
class Screen_HoF : public Screen_v2 {
|
2007-09-24 21:58:11 +00:00
|
|
|
friend class Debugger_v2;
|
2007-07-29 16:31:29 +00:00
|
|
|
public:
|
2008-05-02 14:46:30 +00:00
|
|
|
Screen_HoF(KyraEngine_HoF *vm, OSystem *system);
|
2008-01-27 19:47:41 +00:00
|
|
|
|
2007-10-19 22:16:00 +00:00
|
|
|
// sequence player
|
2009-06-25 19:59:56 +00:00
|
|
|
void generateGrayOverlay(const Palette &pal, uint8 *grayOverlay, int factor, int addR, int addG, int addB, int lastColor, bool flag);
|
2008-02-10 18:34:48 +00:00
|
|
|
void cmpFadeFrameStep(int srcPage, int srcW, int srcH, int srcX, int srcY, int dstPage, int dstW, int dstH, int dstX, int dstY, int cmpW, int cmpH, int cmpPage);
|
|
|
|
void copyPageMemory(int srcPage, int srcPos, int dstPage, int dstPos, int numBytes);
|
|
|
|
void copyRegionEx(int srcPage, int srcW, int srcH, int dstPage, int dstX,int dstY, int dstW, int dstH, const ScreenDim *d, bool flag = false);
|
2007-07-29 16:31:29 +00:00
|
|
|
private:
|
2008-05-02 14:46:30 +00:00
|
|
|
KyraEngine_HoF *_vm;
|
2008-01-27 19:47:41 +00:00
|
|
|
|
2007-07-29 16:33:11 +00:00
|
|
|
static const ScreenDim _screenDimTable[];
|
|
|
|
static const int _screenDimTableCount;
|
2007-07-29 16:31:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Kyra
|
|
|
|
|
|
|
|
#endif
|