mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
Change all uses of FM-Towns/fm-towns to FM-TOWNS.
svn-id: r42235
This commit is contained in:
parent
832540f64f
commit
4dc454581c
2
NEWS
2
NEWS
@ -323,7 +323,7 @@ For a more comprehensive changelog for the latest experimental SVN code, see:
|
||||
- Renamed Simon engine to AGOS.
|
||||
|
||||
Kyrandia:
|
||||
- Added support for FM-Towns version (both English and Japanese).
|
||||
- Added support for FM-TOWNS version (both English and Japanese).
|
||||
|
||||
BASS:
|
||||
- Fixed long-standing font bug. We were using the control panel font for
|
||||
|
@ -770,12 +770,12 @@ int KyraEngine_HoF::seq_introDragon(WSAMovie_v2 *wsaObj, int x, int y, int frm)
|
||||
}
|
||||
|
||||
int KyraEngine_HoF::seq_introDarm(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
//NULLSUB (at least in fm-towns version)
|
||||
//NULLSUB (at least in FM-TOWNS version)
|
||||
return frm;
|
||||
}
|
||||
|
||||
int KyraEngine_HoF::seq_introLibrary2(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
//NULLSUB (at least in fm-towns version)
|
||||
//NULLSUB (at least in FM-TOWNS version)
|
||||
return frm;
|
||||
}
|
||||
|
||||
@ -788,7 +788,7 @@ int KyraEngine_HoF::seq_introMarco(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
}
|
||||
|
||||
int KyraEngine_HoF::seq_introHand1a(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
//NULLSUB (at least in fm-towns version)
|
||||
//NULLSUB (at least in FM-TOWNS version)
|
||||
return frm;
|
||||
}
|
||||
|
||||
@ -805,12 +805,12 @@ int KyraEngine_HoF::seq_introHand1c(WSAMovie_v2 *wsaObj, int x, int y, int frm)
|
||||
}
|
||||
|
||||
int KyraEngine_HoF::seq_introHand2(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
//NULLSUB (at least in fm-towns version)
|
||||
//NULLSUB (at least in FM-TOWNS version)
|
||||
return frm;
|
||||
}
|
||||
|
||||
int KyraEngine_HoF::seq_introHand3(WSAMovie_v2 *wsaObj, int x, int y, int frm) {
|
||||
//NULLSUB (at least in fm-towns version)
|
||||
//NULLSUB (at least in FM-TOWNS version)
|
||||
return frm;
|
||||
}
|
||||
|
||||
|
@ -1049,7 +1049,7 @@ void KyraEngine_LoK::seq_playCredits() {
|
||||
_screen->setTextColorMap(colorMap);
|
||||
_screen->_charWidth = -1;
|
||||
|
||||
// we only need this for the fm-towns version
|
||||
// we only need this for the FM-TOWNS version
|
||||
if (_flags.platform == Common::kPlatformFMTowns && _configMusic == 1)
|
||||
snd_playWanderScoreViaMap(53, 1);
|
||||
|
||||
|
@ -567,7 +567,7 @@ void ScummEngine::checkExecVerbs() {
|
||||
}
|
||||
|
||||
if (_game.platform == Common::kPlatformFMTowns && _game.version == 3) {
|
||||
// HACK: In the FM-Towns games Indy3, Loom and Zak the most significant bit is set for special keys
|
||||
// HACK: In the FM-TOWNS games Indy3, Loom and Zak the most significant bit is set for special keys
|
||||
// like F5 (=0x8005) or joystick buttons (mask 0xFE00, e.g. SELECT=0xFE40 for the save/load menu).
|
||||
// Hence the distinction with (_mouseAndKeyboardStat < MBS_MAX_KEY) between mouse- and key-events is not applicable
|
||||
// to this games, so we have to remap the special keys here.
|
||||
|
@ -507,14 +507,14 @@ bool extractStrings(PAKFile &out, const Game *g, const byte *data, const uint32
|
||||
if (g->special == kFMTownsVersionE || g->special == kFMTownsVersionJ ||
|
||||
g->special == k2TownsFile1E || g->special == k2TownsFile1J ||
|
||||
g->special == k2TownsFile2E || g->special == k2TownsFile2J || fmtPatch == 5) {
|
||||
// prevents creation of empty entries (which we have mostly between all strings in the fm-towns version)
|
||||
// prevents creation of empty entries (which we have mostly between all strings in the FM-TOWNS version)
|
||||
while (!data[++i]) {
|
||||
if (i == size)
|
||||
break;
|
||||
targetsize--;
|
||||
}
|
||||
if (fmtPatch == 1) {
|
||||
// Here is the first step of the extra treatment for all fm-towns string arrays that
|
||||
// Here is the first step of the extra treatment for all FM-TOWNS string arrays that
|
||||
// contain more than one string and which the original code
|
||||
// addresses via stringname[boolJapanese].
|
||||
// We simply skip every other string
|
||||
@ -593,7 +593,7 @@ bool extractStrings(PAKFile &out, const Game *g, const byte *data, const uint32
|
||||
}
|
||||
|
||||
if (fmtPatch == 1) {
|
||||
// Here is the extra treatment for all fm-towns string arrays that
|
||||
// Here is the extra treatment for all FM-TOWNS string arrays that
|
||||
// contain more than one string and which the original code
|
||||
// addresses via stringname[boolJapanese].
|
||||
// We simply skip every other string
|
||||
@ -637,7 +637,7 @@ bool extractStrings(PAKFile &out, const Game *g, const byte *data, const uint32
|
||||
}
|
||||
|
||||
bool extractRooms(PAKFile &out, const Game *g, const byte *data, const uint32 size, const char *filename, int fmtPatch) {
|
||||
// different entry size for the fm-towns version
|
||||
// different entry size for the FM-TOWNS version
|
||||
const int roomEntrySize = (g->special == kFMTownsVersionE || g->special == kFMTownsVersionJ) ? (0x69) : ((g->special == kAmigaVersion) ? 0x52 : 0x51);
|
||||
const int countRooms = size / roomEntrySize;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user