Skip to content

Commit

Permalink
CGE: 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 a2a222e commit 2c7f6a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions engines/cge/cge.cpp
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion engines/cge/vga13h.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2c7f6a9

Please sign in to comment.