aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles
diff options
context:
space:
mode:
authorLe Philousophe2019-10-12 11:51:34 +0200
committerLe Philousophe2019-10-13 09:22:04 +0200
commit578ad110112a20c7944ee6946f83719708a2f799 (patch)
treebf191b6809a76090beb68d384d014055bcc7ea2f /engines/cryomni3d/versailles
parent52fb3ba4d65a338b2d2fb2e746106b8251a91e4b (diff)
downloadscummvm-rg350-578ad110112a20c7944ee6946f83719708a2f799.tar.gz
scummvm-rg350-578ad110112a20c7944ee6946f83719708a2f799.tar.bz2
scummvm-rg350-578ad110112a20c7944ee6946f83719708a2f799.zip
CRYOMNI3D: Add Brazilian language support
Diffstat (limited to 'engines/cryomni3d/versailles')
-rw-r--r--engines/cryomni3d/versailles/menus.cpp6
1 files changed, 4 insertions, 2 deletions
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
}