mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
svn-id: r26562
This commit is contained in:
parent
08f5b5f31d
commit
b0ae4bf1a3
@ -110,7 +110,8 @@ enum AgiGameFeatures {
|
||||
GF_AGIPAL = (1 << 4),
|
||||
GF_MACGOLDRUSH = (1 << 5),
|
||||
GF_FANMADE = (1 << 6),
|
||||
GF_ESC_MENU = (1 << 7)
|
||||
GF_ESC_MENU = (1 << 7),
|
||||
GF_MANHUNTER = (1 << 8)
|
||||
};
|
||||
|
||||
struct AGIGameDescription;
|
||||
|
@ -897,7 +897,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -913,7 +913,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -929,7 +929,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -946,7 +946,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -962,7 +962,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -978,7 +978,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -994,7 +994,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3086,
|
||||
},
|
||||
|
||||
@ -1010,7 +1010,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
@ -1026,7 +1026,7 @@ static const AGIGameDescription gameDescriptions[] = {
|
||||
Common::ADGF_NO_FLAGS
|
||||
},
|
||||
GType_V3,
|
||||
0,
|
||||
GF_MANHUNTER,
|
||||
0x3149,
|
||||
},
|
||||
|
||||
|
@ -92,6 +92,11 @@ int AgiEngine::doPollKeyboard() {
|
||||
/* If a key is ready, rip it */
|
||||
if (_gfx->keypress()) {
|
||||
key = _gfx->getKey();
|
||||
|
||||
if ((getFeatures() & GF_MANHUNTER) && (key == KEY_ENTER) &&
|
||||
(_game.inputMode == INPUT_NONE))
|
||||
key = 0x20; // Set Enter key to Space in Manhunter when there's no text input
|
||||
|
||||
debugC(3, kDebugLevelInput, "key %02x pressed", key);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user