mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
Sprites are used for subtitles, in all 16bit color HE games.
svn-id: r41133
This commit is contained in:
parent
a34fb64f09
commit
ba48060b5f
@ -339,14 +339,14 @@ static const GameSettings gameVariantsTable[] = {
|
|||||||
// Added 16bit color
|
// Added 16bit color
|
||||||
{"baseball2001", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_16BIT_COLOR, UNK},
|
{"baseball2001", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_16BIT_COLOR, UNK},
|
||||||
{"SoccerMLS", 0, 0, GID_SOCCER, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"SoccerMLS", 0, 0, GID_SOCCER, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
{"spyozon", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_NOSUBTITLES | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"spyozon", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
|
|
||||||
{"freddicove", "", 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_NOSUBTITLES | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"freddicove", "", 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
{"freddicove", "unenc", 0, GID_HEGAME, 6, 99, MDT_NONE, GF_HE_NOSUBTITLES | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"freddicove", "unenc", 0, GID_HEGAME, 6, 99, MDT_NONE, GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
{"freddicove", "HE 100", 0, GID_HEGAME, 6, 100, MDT_NONE, GF_USE_KEY | GF_HE_NOSUBTITLES | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"freddicove", "HE 100", 0, GID_HEGAME, 6, 100, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
|
|
||||||
// Restructured the Scumm engine
|
// Restructured the Scumm engine
|
||||||
{"pjgames", 0, 0, GID_HEGAME, 6, 100, MDT_NONE, GF_USE_KEY | GF_HE_NOSUBTITLES | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"pjgames", 0, 0, GID_HEGAME, 6, 100, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
|
|
||||||
// Uses smacker in external files, for testing only
|
// Uses smacker in external files, for testing only
|
||||||
{"arttime", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
{"arttime", 0, 0, GID_HEGAME, 6, 99, MDT_NONE, GF_USE_KEY | GF_HE_LOCALIZED | GF_16BIT_COLOR, UNK},
|
||||||
|
@ -124,10 +124,7 @@ enum GameFeatures {
|
|||||||
GF_HE_985 = 1 << 14,
|
GF_HE_985 = 1 << 14,
|
||||||
|
|
||||||
/** HE games with 16 bit color */
|
/** HE games with 16 bit color */
|
||||||
GF_16BIT_COLOR = 1 << 15,
|
GF_16BIT_COLOR = 1 << 15
|
||||||
|
|
||||||
/** HE games which use sprites for subtitles */
|
|
||||||
GF_HE_NOSUBTITLES = 1 << 16
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SCUMM Debug Channels */
|
/* SCUMM Debug Channels */
|
||||||
|
@ -635,7 +635,7 @@ void ScummEngine::CHARSET_1() {
|
|||||||
if (_game.version <= 3) {
|
if (_game.version <= 3) {
|
||||||
_charset->printChar(c, false);
|
_charset->printChar(c, false);
|
||||||
} else {
|
} else {
|
||||||
if (_game.features & GF_HE_NOSUBTITLES) {
|
if (_game.features & GF_16BIT_COLOR) {
|
||||||
// HE games which use sprites for subtitles
|
// HE games which use sprites for subtitles
|
||||||
} else if (_game.heversion >= 60 && !ConfMan.getBool("subtitles") && _sound->isSoundRunning(1)) {
|
} else if (_game.heversion >= 60 && !ConfMan.getBool("subtitles") && _sound->isSoundRunning(1)) {
|
||||||
// Special case for HE games
|
// Special case for HE games
|
||||||
|
Loading…
x
Reference in New Issue
Block a user