aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/screen.cpp')
-rw-r--r--engines/sword2/screen.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/sword2/screen.cpp b/engines/sword2/screen.cpp
index cae719c1d4..0cb951fdfc 100644
--- a/engines/sword2/screen.cpp
+++ b/engines/sword2/screen.cpp
@@ -61,11 +61,11 @@ Screen::Screen(Sword2Engine *vm, int16 width, int16 height) {
_dirtyGrid = (byte *)calloc(_gridWide, _gridDeep);
if (!_dirtyGrid)
- error("Could not initialise dirty grid");
+ error("Could not initialize dirty grid");
_buffer = (byte *)malloc(width * height);
if (!_buffer)
- error("Could not initialise display");
+ error("Could not initialize display");
for (int i = 0; i < ARRAYSIZE(_blockSurfaces); i++)
_blockSurfaces[i] = NULL;
@@ -1225,11 +1225,11 @@ void Screen::rollCredits() {
void Screen::splashScreen() {
byte *bgfile = _vm->_resman->openResource(2950);
- initialiseBackgroundLayer(NULL);
- initialiseBackgroundLayer(NULL);
- initialiseBackgroundLayer(_vm->fetchBackgroundLayer(bgfile));
- initialiseBackgroundLayer(NULL);
- initialiseBackgroundLayer(NULL);
+ initializeBackgroundLayer(NULL);
+ initializeBackgroundLayer(NULL);
+ initializeBackgroundLayer(_vm->fetchBackgroundLayer(bgfile));
+ initializeBackgroundLayer(NULL);
+ initializeBackgroundLayer(NULL);
_vm->fetchPalette(bgfile, _palette);
setPalette(0, 256, _palette, RDPAL_FADE);