scummvm/engines/chewy/effect.h

54 lines
1.4 KiB
C
Raw Normal View History

2019-11-04 21:24:37 +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.
*
2021-12-26 23:54:17 +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.
2019-11-04 21:24:37 +00:00
*
* 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
2021-12-26 23:54:17 +00:00
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2019-11-04 21:24:37 +00:00
*
*/
#ifndef CHEWY_EFFECT_H
#define CHEWY_EFFECT_H
#include "common/scummsys.h"
2021-09-12 22:41:09 +00:00
namespace Chewy {
2021-10-27 05:26:06 +00:00
enum BlendMode {
BLEND_NONE = 0,
BLEND1 = 1,
BLEND2 = 2,
BLEND3 = 3,
BLEND4 = 4
};
2019-11-04 21:24:37 +00:00
2022-02-13 03:23:13 +00:00
class Effect {
2019-11-04 21:24:37 +00:00
public:
2022-02-13 03:23:13 +00:00
Effect();
~Effect();
2019-11-04 21:24:37 +00:00
2022-06-13 11:34:41 +00:00
void blende1(byte *memPtr,
byte *palette, uint8 mode, int16 color);
2022-06-13 11:36:27 +00:00
void border(byte *screen, uint8 mode, int16 color);
2019-11-04 21:24:37 +00:00
void rnd_blende(byte *rnd_speicher, byte *sram_speicher,
2022-06-13 11:36:27 +00:00
byte *screen, byte *palette, int16 col);
2019-11-04 21:24:37 +00:00
};
2021-09-12 22:41:09 +00:00
} // namespace Chewy
2019-11-04 21:24:37 +00:00
#endif