aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/custom.cpp
diff options
context:
space:
mode:
authorStrangerke2012-06-17 18:36:23 +0200
committerStrangerke2012-06-17 18:36:23 +0200
commitb36b66630086044c54f745acfb64f91d90713045 (patch)
tree64da180e2606bbdacb4a4fa2531603fabf0c9a16 /engines/tony/custom.cpp
parente36f36168d0e0b6e2abf29386c2761797735d857 (diff)
downloadscummvm-rg350-b36b66630086044c54f745acfb64f91d90713045.tar.gz
scummvm-rg350-b36b66630086044c54f745acfb64f91d90713045.tar.bz2
scummvm-rg350-b36b66630086044c54f745acfb64f91d90713045.zip
TONY: American-ification of English used
Diffstat (limited to 'engines/tony/custom.cpp')
-rw-r--r--engines/tony/custom.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/tony/custom.cpp b/engines/tony/custom.cpp
index 6e057cf031..fd5d17470b 100644
--- a/engines/tony/custom.cpp
+++ b/engines/tony/custom.cpp
@@ -308,7 +308,7 @@ DECLARE_CUSTOM_FUNCTION(SendTonyMessage)(CORO_PARAM, uint32 dwMessage, uint32 nX
// Alignment
_ctx->text.setAlignType(RMText::HCENTER, RMText::VBOTTOM);
- // Colour
+ // Color
_ctx->text.setColor(0, 255, 0);
// Writes the text
@@ -427,7 +427,7 @@ DECLARE_CUSTOM_FUNCTION(SendFullscreenMsgStart)(CORO_PARAM, uint32 nMsg, uint32
// Forces the text to disappear in time
_ctx->text.forceTime();
- // Colour
+ // Color
_ctx->text.setColor(255, 255, 255);
// Write the text
@@ -1511,7 +1511,7 @@ DECLARE_CUSTOM_FUNCTION(CharSendMessage)(CORO_PARAM, uint32 nChar, uint32 dwMess
// Alignment
_ctx->text->setAlignType(RMText::HCENTER, RMText::VBOTTOM);
- // Colour
+ // Color
_ctx->text->setColor(GLOBALS._character[nChar]._r, GLOBALS._character[nChar]._g, GLOBALS._character[nChar]._b);
// Write the text
@@ -1690,7 +1690,7 @@ DECLARE_CUSTOM_FUNCTION(MCharSendMessage)(CORO_PARAM, uint32 nChar, uint32 dwMes
_ctx->parm = (GLOBALS._mCharacter[nChar]._curGroup * 10) + _vm->_randomSource.getRandomNumber(
GLOBALS._mCharacter[nChar]._numTalks[GLOBALS._mCharacter[nChar]._curGroup] - 1) + 1;
- // Try to run the custom function to initialise the speech
+ // Try to run the custom function to initialize the speech
if (GLOBALS._mCharacter[nChar]._item) {
_ctx->h = mpalQueryDoAction(30, GLOBALS._mCharacter[nChar]._item->mpalCode(), _ctx->parm);
if (_ctx->h != CORO_INVALID_PID_VALUE) {
@@ -1724,7 +1724,7 @@ DECLARE_CUSTOM_FUNCTION(MCharSendMessage)(CORO_PARAM, uint32 nChar, uint32 dwMes
// Alignment
_ctx->text->setAlignType(RMText::HCENTER, RMText::VBOTTOM);
- // Colour
+ // Color
_ctx->text->setColor(GLOBALS._mCharacter[nChar]._r, GLOBALS._mCharacter[nChar]._g, GLOBALS._mCharacter[nChar]._b);
// Write the text
@@ -1874,7 +1874,7 @@ DECLARE_CUSTOM_FUNCTION(SendDialogMessage)(CORO_PARAM, uint32 nPers, uint32 nMsg
if (GLOBALS._mCharacter[nPers]._numTexts != 0 && GLOBALS._mCharacter[nPers]._bInTexts) {
GLOBALS._mCharacter[nPers]._numTexts--;
} else {
- // Try to run the custom function to initialise the speech
+ // Try to run the custom function to initialize the speech
_ctx->h = mpalQueryDoAction(30, GLOBALS._mCharacter[nPers]._item->mpalCode(), _ctx->parm);
if (_ctx->h != CORO_INVALID_PID_VALUE)
CORO_INVOKE_2(CoroScheduler.waitForSingleObject, _ctx->h, CORO_INFINITE);