aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-02-19 21:43:22 +0100
committerStrangerke2014-02-19 21:45:29 +0100
commit8d25112e14453b1670a2bfb051288374afe6f35f (patch)
treed2a35674b7f8685e214238eb0d056f1d6ada08cc /engines
parent93c06d52a532a53e37cc15aacaaa1aa4eaf27c6f (diff)
downloadscummvm-rg350-8d25112e14453b1670a2bfb051288374afe6f35f.tar.gz
scummvm-rg350-8d25112e14453b1670a2bfb051288374afe6f35f.tar.bz2
scummvm-rg350-8d25112e14453b1670a2bfb051288374afe6f35f.zip
VOYEUR: Some British to American English
Diffstat (limited to 'engines')
-rw-r--r--engines/voyeur/files.h4
-rw-r--r--engines/voyeur/voyeur.cpp6
-rw-r--r--engines/voyeur/voyeur_game.cpp10
3 files changed, 10 insertions, 10 deletions
diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h
index f2fd918aba..8c5f5d985f 100644
--- a/engines/voyeur/files.h
+++ b/engines/voyeur/files.h
@@ -332,7 +332,7 @@ public:
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<Common::Rect> *_rectListPtr[3];
int _rectListCount[3];
@@ -390,7 +390,7 @@ public:
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 beaec8ab06..09da8f1648 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 e7abdfc2f7..2c0df874b1 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;