mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
remove GF_LOOM
svn-id: r9603
This commit is contained in:
parent
0ca58111c6
commit
f1a3253fa2
@ -225,7 +225,7 @@ int Actor::remapDirection(int dir, bool is_walking) {
|
||||
// not necessary here because we never call the function unless the
|
||||
// actor is in the current room anyway.
|
||||
|
||||
if (!ignoreBoxes || (_vm->_features & GF_LOOM)) {
|
||||
if (!ignoreBoxes || (_vm->_gameId == GID_LOOM || _vm->_gameId == GID_LOOM256)) {
|
||||
specdir = _vm->_extraBoxFlags[walkbox];
|
||||
if (specdir) {
|
||||
if (specdir & 0x8000) {
|
||||
|
@ -99,7 +99,7 @@ void ScummDebugger::attach(Scumm *s, char *entry) {
|
||||
DCmd_Register("scripts", &ScummDebugger::Cmd_PrintScript);
|
||||
DCmd_Register("importres", &ScummDebugger::Cmd_ImportRes);
|
||||
|
||||
if (_s->_features & GF_LOOM)
|
||||
if (_s->_gameId == GID_LOOM || _s->_gameId == GID_LOOM256)
|
||||
DCmd_Register("drafts", &ScummDebugger::Cmd_PrintDraft);
|
||||
|
||||
DCmd_Register("loadgame", &ScummDebugger::Cmd_LoadGame);
|
||||
@ -934,7 +934,7 @@ bool ScummDebugger::Cmd_PrintDraft(int argc, const char **argv) {
|
||||
const char *notes = "cdefgabC";
|
||||
int i, base, draft;
|
||||
|
||||
if (!(_s->_features & GF_LOOM)) {
|
||||
if (_s->_gameId != GID_LOOM && _s->_gameId != GID_LOOM256) {
|
||||
Debug_Printf("Command only works with Loom/LoomCD\n");
|
||||
return true;
|
||||
}
|
||||
|
@ -664,7 +664,7 @@ void Scumm::drawFlashlight() {
|
||||
_flashlight.x = x - _flashlight.w / 2 - _screenStartStrip * 8;
|
||||
_flashlight.y = y - _flashlight.h / 2;
|
||||
|
||||
if (_features & GF_LOOM)
|
||||
if (_gameId == GID_LOOM || _gameId == GID_LOOM256)
|
||||
_flashlight.y -= 12;
|
||||
|
||||
// Clip the flashlight at the borders
|
||||
@ -3508,7 +3508,7 @@ void Scumm::decompressDefaultCursor(int idx) {
|
||||
|
||||
// FIXME: None of the stock cursors are right for Loom. Why is that?
|
||||
|
||||
if (_features & GF_LOOM) {
|
||||
if (_gameId == GID_LOOM || _gameId == GID_LOOM256) {
|
||||
int w = 0;
|
||||
|
||||
_cursor.width = 8;
|
||||
|
@ -647,7 +647,7 @@ void Scumm_v5::o5_cursorCommand() {
|
||||
// omit for now.
|
||||
// FIXME: Actually: is this opcode ever called by a non-Loom game?
|
||||
// Which V3-V5 game besides Loom makes use of custom cursors, ever?
|
||||
if (!(_features & GF_LOOM)) {
|
||||
if (_gameId != GID_LOOM && _gameId != GID_LOOM256) {
|
||||
warning("setCursorImg called - tell Fingolfin where you saw this!");
|
||||
setCursorImg(i, j, 1);
|
||||
}
|
||||
|
@ -85,7 +85,6 @@ enum GameFeatures {
|
||||
GF_AFTER_HEV7 = 1 << 15,
|
||||
GF_FMTOWNS = 1 << 16,
|
||||
GF_FEW_LOCALS = 1 << 17,
|
||||
GF_LOOM = 1 << 18, // FIXME: remove this
|
||||
|
||||
GF_EXTERNAL_CHARSET = GF_SMALL_HEADER
|
||||
};
|
||||
|
@ -82,7 +82,7 @@ static const VersionSettings scumm_settings[] = {
|
||||
{"zak256", "Zak McKracken and the Alien Mindbenders (256)", GID_ZAK256, 3, VersionSettings::ADLIB_ALWAYS,
|
||||
GF_SMALL_HEADER | GF_SMALL_NAMES | GF_NO_SCALING | GF_OLD256 | GF_FMTOWNS | GF_AUDIOTRACKS, "00.LFL"},
|
||||
{"loom", "Loom", GID_LOOM, 3, VersionSettings::ADLIB_ALWAYS,
|
||||
GF_SMALL_HEADER | GF_SMALL_NAMES | GF_NO_SCALING | GF_USE_KEY | GF_16COLOR | GF_OLD_BUNDLE | GF_LOOM, "00.LFL"},
|
||||
GF_SMALL_HEADER | GF_SMALL_NAMES | GF_NO_SCALING | GF_USE_KEY | GF_16COLOR | GF_OLD_BUNDLE, "00.LFL"},
|
||||
|
||||
/* Scumm Version 4 */
|
||||
{"monkeyEGA", "Monkey Island 1 (EGA)", GID_MONKEY_EGA, 4, VersionSettings::ADLIB_ALWAYS,
|
||||
@ -94,7 +94,7 @@ static const VersionSettings scumm_settings[] = {
|
||||
{"monkeyVGA", "Monkey Island 1 (256 color Floppy version)", GID_MONKEY_VGA, 4, VersionSettings::ADLIB_ALWAYS,
|
||||
GF_SMALL_HEADER | GF_USE_KEY, "000.LFL"},
|
||||
{"loomcd", "Loom (256 color CD version)", GID_LOOM256, 4, VersionSettings::ADLIB_ALWAYS,
|
||||
GF_SMALL_HEADER | GF_USE_KEY | GF_LOOM | GF_AUDIOTRACKS, "000.LFL"},
|
||||
GF_SMALL_HEADER | GF_USE_KEY | GF_AUDIOTRACKS, "000.LFL"},
|
||||
{"monkey", "Monkey Island 1", GID_MONKEY, 5, VersionSettings::ADLIB_PREFERRED,
|
||||
GF_USE_KEY | GF_AUDIOTRACKS, 0},
|
||||
{"monkey1", "Monkey Island 1 (alt)", GID_MONKEY, 5, VersionSettings::ADLIB_PREFERRED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user