[Scummvm-cvs-logs] CVS: scummvm/sky cd_intro.cpp,1.5,1.6 intro.cpp,1.14,1.15 sky.cpp,1.25,1.26 sky.h,1.18,1.19
Joost Peters
joostp at users.sourceforge.net
Tue Apr 29 13:14:01 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky logic.cpp,1.17,1.18 logic.h,1.8,1.9 sky.cpp,1.24,1.25
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky cd_intro.cpp,1.6,1.7 intro.cpp,1.15,1.16 sky.cpp,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv12834/sky
Modified Files:
cd_intro.cpp intro.cpp sky.cpp sky.h
Log Message:
made vars consistent
Index: cd_intro.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/cd_intro.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cd_intro.cpp 21 Apr 2003 20:58:51 -0000 1.5
+++ cd_intro.cpp 29 Apr 2003 20:12:57 -0000 1.6
@@ -190,11 +190,11 @@
#define cd_104 60097
#define cd_105 60098
-#define START_VOICE ( delay(200), _sound->playVoice(vocBuffer, loadedVocSize) )
-#define START_BG ( _sound->playBgSound(bgVocBuffer, bgVocSize) )
+#define START_VOICE ( delay(200), _skySound->playVoice(vocBuffer, loadedVocSize) )
+#define START_BG ( _skySound->playBgSound(bgVocBuffer, bgVocSize) )
#define LOAD_NEW_VOICE(num) ( free (vocBuffer), vocBuffer = _skyDisk->loadFile(num, NULL), loadedVocSize = _skyDisk->_lastLoadedFileSize )
#define LOAD_NEW_BG(num) ( free (bgVocBuffer), bgVocBuffer = _skyDisk->loadFile(num, NULL), bgVocSize = _skyDisk->_lastLoadedFileSize )
-#define WAIT_VOICE while (_sound->_voiceHandle != 0) { delay(50); }
+#define WAIT_VOICE while (_skySound->_voiceHandle != 0) { delay(50); }
#define WAIT_SEQUENCE while (_tseqFrames != 0) { delay(50); }
#define WAIT_RELATIVE(x) ( delay(20 * (x)) )
#define COPY_SCREEN ( memcpy(_workScreen, workScreen2, GAME_SCREEN_WIDTH * GAME_SCREEN_HEIGHT) )
@@ -822,7 +822,7 @@
cd2_seq_data_1 = _skyDisk->loadFile(cd_104, NULL);
WAIT_SEQUENCE; //103
- _music->startMusic(2);
+ _skyMusic->startMusic(2);
fnFadeDown(0);
COPY_SCREEN;
showScreen();
Index: intro.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/intro.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- intro.cpp 29 Apr 2003 19:52:19 -0000 1.14
+++ intro.cpp 29 Apr 2003 20:12:57 -0000 1.15
@@ -206,12 +206,12 @@
_workScreen = _skyDisk->loadFile(60112, NULL); //while virgin screen is up, load rev screen
_tempPal = _skyDisk->loadFile(60113, NULL);
- _music->loadSectionMusic(0);
+ _skyMusic->loadSectionMusic(0);
delay(3000); //keep virgin screen up for 3 seconds
if (!isCDVersion(_gameVersion))
- _music->startMusic(1);
+ _skyMusic->startMusic(1);
delay(3000); //and another 3 seconds.
fnFadeDown(0); //remove virgin screen
@@ -379,7 +379,7 @@
fnFadeDown(0);
showScreen();
- _music->startMusic(2);
+ _skyMusic->startMusic(2);
paletteFadeUp(_tempPal);
startTimerSequence(seq6aData);
Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- sky.cpp 29 Apr 2003 20:05:47 -0000 1.25
+++ sky.cpp 29 Apr 2003 20:12:58 -0000 1.26
@@ -92,7 +92,7 @@
if (!isDemo(_gameVersion) || isCDVersion(_gameVersion))
intro();
- _grid->loadGrids();
+ _skyGrid->loadGrids();
while (1) {
delay(100);
_skyLogic->engine();
@@ -104,9 +104,9 @@
//initialise_memory();
initTimer();
- _sound = new SkySound(_mixer);
+ _skySound = new SkySound(_mixer);
_skyDisk = new SkyDisk(_gameDataPath);
- _music = new SkyMusic(_mixer, _skyDisk);
+ _skyMusic = new SkyMusic(_mixer, _skyDisk);
_gameVersion = _skyDisk->determineGameVersion();
_skyText = getSkyText();
@@ -116,8 +116,8 @@
initItemList();
//initScript();
//initialiseRouter();
- _grid = new SkyGrid(_skyDisk);
- _skyLogic = new SkyLogic(_skyDisk, _grid, _skyText);
+ _skyGrid = new SkyGrid(_skyDisk);
+ _skyLogic = new SkyLogic(_skyDisk, _skyGrid, _skyText);
}
void SkyState::initItemList() {
Index: sky.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- sky.h 28 Apr 2003 14:47:38 -0000 1.18
+++ sky.h 29 Apr 2003 20:13:00 -0000 1.19
@@ -82,12 +82,12 @@
int _sdl_mouse_x, _sdl_mouse_y;
- SkySound *_sound;
+ SkySound *_skySound;
SkyDisk *_skyDisk;
SkyText *_skyText;
- SkyGrid *_grid;
+ SkyGrid *_skyGrid;
SkyLogic *_skyLogic;
- SkyMusic *_music;
+ SkyMusic *_skyMusic;
byte *_workScreen;
byte *_backScreen;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky logic.cpp,1.17,1.18 logic.h,1.8,1.9 sky.cpp,1.24,1.25
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky cd_intro.cpp,1.6,1.7 intro.cpp,1.15,1.16 sky.cpp,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list