diff options
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r-- | engines/cryomni3d/datstream.cpp | 2 | ||||
-rw-r--r-- | engines/cryomni3d/detection_tables.h | 34 | ||||
-rw-r--r-- | engines/cryomni3d/versailles/menus.cpp | 6 |
3 files changed, 40 insertions, 2 deletions
diff --git a/engines/cryomni3d/datstream.cpp b/engines/cryomni3d/datstream.cpp index f1e10feb9f..e701d1d0d4 100644 --- a/engines/cryomni3d/datstream.cpp +++ b/engines/cryomni3d/datstream.cpp @@ -127,6 +127,8 @@ uint16 DATSeekableStream::translateLanguage(Common::Language lang) { return MKTAG16('f', 'r'); case Common::IT_ITA: return MKTAG16('i', 't'); + case Common::PT_BRA: + return MKTAG16('b', 'r'); default: // Invalid language return 0; diff --git a/engines/cryomni3d/detection_tables.h b/engines/cryomni3d/detection_tables.h index 7bb152d7b2..1435c25560 100644 --- a/engines/cryomni3d/detection_tables.h +++ b/engines/cryomni3d/detection_tables.h @@ -365,6 +365,40 @@ static const CryOmni3DGameDescription gameDescriptions[] = { GF_VERSAILLES_FONTS_NUMERIC | GF_VERSAILLES_AUDIOPADDING_YES, }, + // Versailles 1685 + // Brazilian Windows from DVD + // From Uka in forum + { + { + "versailles", + "", + AD_ENTRY1s("Versaill.exe", "49aa4581b8c652aa88c633b6c5fe84ea", 346112), + Common::PT_BRA, + Common::kPlatformWindows, + ADGF_NO_FLAGS, + GUI_OPTIONS_VERSAILLES + }, + GType_VERSAILLES, + GF_VERSAILLES_FONTS_NUMERIC | GF_VERSAILLES_AUDIOPADDING_YES, + }, + + // Versailles 1685 + // Brazilian Windows compressed from DVD + // From Uka in forum + { + { + "versailles", + "", + AD_ENTRY1s("PROGRAM.Z", "013eabf30fdec7bb7302a5312d094c64", 237952), + Common::PT_BRA, + Common::kPlatformWindows, + ADGF_NO_FLAGS, + GUI_OPTIONS_VERSAILLES + }, + GType_VERSAILLES, + GF_VERSAILLES_FONTS_NUMERIC | GF_VERSAILLES_AUDIOPADDING_YES, + }, + { AD_TABLE_END_MARKER, 0, 0 } }; diff --git a/engines/cryomni3d/versailles/menus.cpp b/engines/cryomni3d/versailles/menus.cpp index bec962e094..ea34b5d80d 100644 --- a/engines/cryomni3d/versailles/menus.cpp +++ b/engines/cryomni3d/versailles/menus.cpp @@ -48,7 +48,8 @@ void CryOmni3DEngine_Versailles::drawMenuTitle(Graphics::ManagedSurface *surface int titleX, titleY, subtitleX, subtitleY; if (getLanguage() == Common::FR_FRA || - getLanguage() == Common::ES_ESP) { + getLanguage() == Common::ES_ESP || + getLanguage() == Common::PT_BRA) { titleX = 144; titleY = 160; subtitleX = 305; @@ -75,7 +76,8 @@ void CryOmni3DEngine_Versailles::drawMenuTitle(Graphics::ManagedSurface *surface _fontManager.displayStr(subtitleX, subtitleY - offY, _messages[24]); if (getLanguage() == Common::FR_FRA || - getLanguage() == Common::ES_ESP) { + getLanguage() == Common::ES_ESP || + getLanguage() == Common::PT_BRA) { surface->vLine(100, 146, 172, color); surface->hLine(100, 172, 168, color); // minus 1 because hLine draws inclusive } |