aboutsummaryrefslogtreecommitdiff
path: root/sky/intro.cpp
diff options
context:
space:
mode:
authorJoost Peters2003-03-07 14:52:24 +0000
committerJoost Peters2003-03-07 14:52:24 +0000
commite7cb6ddb2e27610c5cca5fd9cfe3156a227555e4 (patch)
treed5b9644b47bd7a5f12ead00a6d37a2945c4f99ea /sky/intro.cpp
parent7b9eba22642ee23ebf4df2f12214e191edfd5707 (diff)
downloadscummvm-rg350-e7cb6ddb2e27610c5cca5fd9cfe3156a227555e4.tar.gz
scummvm-rg350-e7cb6ddb2e27610c5cca5fd9cfe3156a227555e4.tar.bz2
scummvm-rg350-e7cb6ddb2e27610c5cca5fd9cfe3156a227555e4.zip
Some cleanup, now follows the ScummVM coding guidelines more closely, also added initialiseGrids()
svn-id: r6741
Diffstat (limited to 'sky/intro.cpp')
-rw-r--r--sky/intro.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp
index 872f86452e..04761bf45b 100644
--- a/sky/intro.cpp
+++ b/sky/intro.cpp
@@ -216,25 +216,25 @@ uint32 anim6b_commands[] =
uint32 *command_pointer = (uint32 *)zero_commands;
-void SkyState::init_virgin()
-{
- _temp_pal = (uint8 *)load_file(60111, NULL);
- if (_temp_pal != NULL)
- set_palette(_temp_pal);
+void SkyState::initVirgin() {
+
+ _tempPal = (uint8 *)loadFile(60111, NULL);
+ if (_tempPal != NULL)
+ setPalette(_tempPal);
- _work_screen = (uint8 *)load_file(60110, NULL);
+ _workScreen = (uint8 *)loadFile(60110, NULL);
- if (_work_screen != NULL)
- show_screen();
+ if (_workScreen != NULL)
+ showScreen();
// free the memory that was malloc'ed indirectly via load_file
- free(_work_screen);
- free(_temp_pal);
+ free(_workScreen);
+ free(_tempPal);
}
-void SkyState::show_screen(void)
-{
- _system->copy_rect(_work_screen, 320, 0, 0, 320, 200);
+void SkyState::showScreen(void) {
+
+ _system->copy_rect(_workScreen, 320, 0, 0, 320, 200);
_system->update_screen();
}