From 8d25112e14453b1670a2bfb051288374afe6f35f Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 19 Feb 2014 21:43:22 +0100 Subject: [PATCH] VOYEUR: Some British to American English --- engines/voyeur/files.h | 4 ++-- engines/voyeur/voyeur.cpp | 6 +++--- engines/voyeur/voyeur_game.cpp | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h index f2fd918abacd..8c5f5d985f6a 100644 --- a/engines/voyeur/files.h +++ b/engines/voyeur/files.h @@ -332,7 +332,7 @@ class ViewPortResource: public DisplayResource { byte *_field30; // Rect lists and counts. Note that _rectListCount values of '-1' seem to have - // special significance, which is why I'm not making them redundant in favour + // special significance, which is why I'm not making them redundant in favor // of the arrays' .size() method Common::Array *_rectListPtr[3]; int _rectListCount[3]; @@ -390,7 +390,7 @@ class FontResource { virtual ~FontResource(); }; -enum FontJustify { ALIGN_LEFT = 0, ALIGN_CENTRE = 1, ALIGN_RIGHT = 2 }; +enum FontJustify { ALIGN_LEFT = 0, ALIGN_CENTER = 1, ALIGN_RIGHT = 2 }; class FontInfoResource { public: diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index beaec8ab0642..09da8f164850 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -279,7 +279,7 @@ bool VoyeurEngine::doLock() { // Display the last play time _graphicsManager._fontPtr->_pos = Common::Point(0, 97); - _graphicsManager._fontPtr->_justify = ALIGN_CENTRE; + _graphicsManager._fontPtr->_justify = ALIGN_CENTER; _graphicsManager._fontPtr->_justifyWidth = 384; _graphicsManager._fontPtr->_justifyHeight = 97; @@ -646,7 +646,7 @@ void VoyeurEngine::doTransitionCard(const Common::String &time, const Common::St fi._foreColor = 224; fi._fontSaveBack = 0; fi._pos = Common::Point(0, 116); - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 120; @@ -654,7 +654,7 @@ void VoyeurEngine::doTransitionCard(const Common::String &time, const Common::St if (!location.empty()) { fi._pos = Common::Point(0, 138); - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 140; diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index e7abdfc2f7fd..2c0df874b188 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -307,7 +307,7 @@ void VoyeurEngine::doClosingCredits() { if (flags & 1) { fi._foreColor = 1; fi._curFont = _bVoy->boltEntry(0x402)._fontResource; - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 240; fi._pos = Common::Point(0, READ_LE_UINT16(entry)); @@ -319,7 +319,7 @@ void VoyeurEngine::doClosingCredits() { if (flags & 0x40) { fi._foreColor = 2; fi._curFont = _bVoy->boltEntry(0x400)._fontResource; - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 240; fi._pos = Common::Point(0, READ_LE_UINT16(entry)); @@ -352,7 +352,7 @@ void VoyeurEngine::doClosingCredits() { if (flags & 4) { fi._foreColor = 1; fi._curFont = _bVoy->boltEntry(0x402)._fontResource; - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 240; fi._pos = Common::Point(0, READ_LE_UINT16(entry)); @@ -362,7 +362,7 @@ void VoyeurEngine::doClosingCredits() { fi._foreColor = 2; fi._curFont = _bVoy->boltEntry(0x400)._fontResource; - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 240; fi._pos = Common::Point(0, READ_LE_UINT16(entry) + 13); @@ -399,7 +399,7 @@ void VoyeurEngine::doPiracy() { fi._backColor = 2; fi._fontSaveBack = false; fi._fontFlags = 0; - fi._justify = ALIGN_CENTRE; + fi._justify = ALIGN_CENTER; fi._justifyWidth = 384; fi._justifyHeight = 230;