Skip to content

Commit

Permalink
VOYEUR: Some British to American English
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Feb 19, 2014
1 parent 93c06d5 commit 8d25112
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions engines/voyeur/files.h
Expand Up @@ -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<Common::Rect> *_rectListPtr[3];
int _rectListCount[3];
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions engines/voyeur/voyeur.cpp
Expand Up @@ -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;

Expand Down Expand Up @@ -646,15 +646,15 @@ 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;

(*_graphicsManager._vPort)->drawText(time);

if (!location.empty()) {
fi._pos = Common::Point(0, 138);
fi._justify = ALIGN_CENTRE;
fi._justify = ALIGN_CENTER;
fi._justifyWidth = 384;
fi._justifyHeight = 140;

Expand Down
10 changes: 5 additions & 5 deletions engines/voyeur/voyeur_game.cpp
Expand Up @@ -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));
Expand All @@ -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));
Expand Down Expand Up @@ -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));
Expand All @@ -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);
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 8d25112

Please sign in to comment.