From 2c7f6a9d1dd5e2a9a145304fc7ca2fe2acfd7200 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 19 Feb 2014 21:41:26 +0100 Subject: CGE: Some British to American english --- engines/cge/cge.cpp | 4 ++-- engines/cge/vga13h.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp index 8d8c4e4aba..e8ab3c262b 100644 --- a/engines/cge/cge.cpp +++ b/engines/cge/cge.cpp @@ -73,7 +73,7 @@ void CGEEngine::initSceneValues() { void CGEEngine::init() { debugC(1, kCGEDebugEngine, "CGEEngine::setup()"); - // Initialise fields + // Initialize fields _lastFrame = 0; _lastTick = 0; _hero = NULL; @@ -87,7 +87,7 @@ void CGEEngine::init() { // Create debugger console _console = new CGEConsole(this); - // Initialise engine objects + // Initialize engine objects _font = new Font(this, "CGE"); _text = new Text(this, "CGE"); _talk = NULL; diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index 27b5d9a9bf..d5e1be5122 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -761,7 +761,7 @@ void Vga::setColors(Dac *tab, int lum) { if (_mono) { destP = _newColors; for (int idx = 0; idx < kPalCount; idx++, destP++) { - // Form a greyscalce colour from 30% R, 59% G, 11% B + // Form a greyscalce color from 30% R, 59% G, 11% B uint8 intensity = (((int)destP->_r * 77) + ((int)destP->_g * 151) + ((int)destP->_b * 28)) >> 8; destP->_r = intensity; destP->_g = intensity; -- cgit v1.2.3