[Scummvm-cvs-logs] CVS: scummvm/sky/music adlibchannel.cpp,1.13,1.14 adlibchannel.h,1.7,1.8 adlibmusic.cpp,1.16,1.17 adlibmusic.h,1.7,1.8 gmchannel.cpp,1.13,1.14 gmchannel.h,1.7,1.8 gmmusic.cpp,1.15,1.16 gmmusic.h,1.8,1.9 mt32music.cpp,1.15,1.16 mt32music.h,1.6,1.7 musicbase.cpp,1.16,1.17 musicbase.h,1.11,1.12
Max Horn
fingolfin at users.sourceforge.net
Fri Jan 2 18:01:56 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky/compacts 0compact.h,1.9,1.10 101comp.h,1.7,1.8 102comp.h,1.7,1.8 10comp.h,1.9,1.10 11comp.h,1.8,1.9 12comp.h,1.8,1.9 13comp.h,1.9,1.10 14comp.h,1.9,1.10 15comp.h,1.8,1.9 16comp.h,1.8,1.9 17comp.h,1.9,1.10 18comp.h,1.8,1.9 19comp.h,1.8,1.9 1compact.h,1.7,1.8 20comp.h,1.8,1.9 21comp.h,1.9,1.10 22comp.h,1.9,1.10 23comp.h,1.8,1.9 24comp.h,1.8,1.9 25comp.h,1.8,1.9 26comp.h,1.8,1.9 27comp.h,1.10,1.11 28comp.h,1.8,1.9 29comp.h,1.8,1.9 2compact.h,1.10,1.11 30comp.h,1.10,1.11 31comp.h,1.10,1.11 32comp.h,1.10,1.11 33comp.h,1.10,1.11 34comp.h,1.9,1.10 36comp.h,1.10,1.11 37comp.h,1.10,1.11 38comp.h,1.10,1.11 39comp.h,1.9,1.10 3compact.h,1.10,1.11 40comp.h,1.9,1.10 41comp.h,1.9,1.10 42comp.h,1.8,1.9 44comp.h,1.9,1.10 45comp.h,1.9,1.10 46comp.h,1.9,1.10 47comp.h,1.9,1.10 48comp.h,1.9,1.10 4compact.h,1.11,1.12 5compact.h,1.10,1.11 65comp.h,1.8,1.9 66comp.h,1.8,1.9 67comp.h,1.9,1.10 68comp.h,1.9,1.10 69comp.h,1.8,1.9 70comp.h,1.8,1.9 71comp.h,1.9,1.10 72comp.h,1.10,1.11 73comp.h,1.11,1.12 74comp.h,1.9,1.10 75comp.h,1.10,1.11 76comp.h,1.9,1.10 77comp.h,1.9,1.10 78comp.h,1.9,1.10 79comp.h,1.9,1.10 80comp.h,1.8,1.9 81comp.h,1.7,1.8 82comp.h,1.7,1.8 85comp.h,1.6,1.7 90comp.h,1.10,1.11 91comp.h,1.9,1.10 92comp.h,1.9,1.10 93comp.h,1.9,1.10 94comp.h,1.9,1.10 95comp.h,1.9,1.10 96comp.h,1.9,1.10 9compact.h,1.8,1.9 linc_gen.h,1.7,1.8 lincmenu.h,1.8,1.9 objects.h,1.8,1.9 savedata.cpp,1.7,1.8 z_compac.h,1.10,1.11
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.22,1.23 autoroute.h,1.8,1.9 compact.cpp,1.23,1.24 compact.h,1.10,1.11 control.cpp,1.61,1.62 control.h,1.28,1.29 debug.cpp,1.7,1.8 debug.h,1.2,1.3 disk.cpp,1.52,1.53 disk.h,1.12,1.13 grid.cpp,1.13,1.14 grid.h,1.5,1.6 hufftext.cpp,1.3,1.4 intro.cpp,1.42,1.43 intro.h,1.2,1.3 logic.cpp,1.139,1.140 logic.h,1.34,1.35 mouse.cpp,1.27,1.28 mouse.h,1.21,1.22 rnc_deco.cpp,1.16,1.17 rnc_deco.h,1.3,1.4 screen.cpp,1.53,1.54 screen.h,1.16,1.17 sky.cpp,1.135,1.136 sky.h,1.55,1.56 skydefs.h,1.26,1.27 sound.cpp,1.43,1.44 sound.h,1.22,1.23 struc.h,1.12,1.13 talks.h,1.2,1.3 text.cpp,1.57,1.58 text.h,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky/music
In directory sc8-pr-cvs1:/tmp/cvs-serv11909/music
Modified Files:
adlibchannel.cpp adlibchannel.h adlibmusic.cpp adlibmusic.h
gmchannel.cpp gmchannel.h gmmusic.cpp gmmusic.h mt32music.cpp
mt32music.h musicbase.cpp musicbase.h
Log Message:
Introduce namespace 'Sky'
Index: adlibchannel.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/adlibchannel.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- adlibchannel.cpp 8 Nov 2003 20:27:27 -0000 1.13
+++ adlibchannel.cpp 3 Jan 2004 01:58:58 -0000 1.14
@@ -24,6 +24,8 @@
#include "sky/music/adlibchannel.h"
#include "sky/sky.h"
+namespace Sky {
+
SkyAdlibChannel::SkyAdlibChannel(FM_OPL *opl, uint8 *pMusicData, uint16 startOfData) {
_opl = opl;
_musicData = pMusicData;
@@ -337,3 +339,5 @@
_channelData.startOfData = _channelData.eventDataPtr;
}
+
+} // End of namespace Sky
Index: adlibchannel.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/adlibchannel.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- adlibchannel.h 5 Oct 2003 20:21:20 -0000 1.7
+++ adlibchannel.h 3 Jan 2004 01:58:58 -0000 1.8
@@ -25,6 +25,8 @@
#include "sky/music/musicbase.h"
#include "sound/fmopl.h"
+namespace Sky {
+
typedef struct {
uint8 ad_Op1, ad_Op2;
uint8 sr_Op1, sr_Op2;
@@ -97,5 +99,7 @@
void com90_setStartOfData(void); // 12
//void com90_do_two_Lodsb(void); // 13
};
+
+} // End of namespace Sky
#endif //ADLIBCHANNEL_H
Index: adlibmusic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/adlibmusic.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- adlibmusic.cpp 19 Dec 2003 01:08:30 -0000 1.16
+++ adlibmusic.cpp 3 Jan 2004 01:58:58 -0000 1.17
@@ -24,6 +24,8 @@
#include "sound/mixer.h"
#include "sky/sky.h"
+namespace Sky {
+
void SkyAdlibMusic::passMixerFunc(void *param, int16 *buf, uint len) {
((SkyAdlibMusic*)param)->premixerCall(buf, len);
@@ -130,3 +132,5 @@
}
_allowedCommands = 0xD;
}
+
+} // End of namespace Sky
Index: adlibmusic.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/adlibmusic.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- adlibmusic.h 5 Oct 2003 20:21:20 -0000 1.7
+++ adlibmusic.h 3 Jan 2004 01:58:58 -0000 1.8
@@ -27,6 +27,8 @@
class SoundMixer;
+namespace Sky {
+
class SkyAdlibMusic : public SkyMusicBase {
public:
SkyAdlibMusic(SoundMixer *pMixer, SkyDisk *pSkyDisk, OSystem *system);
@@ -44,5 +46,7 @@
void premixerCall(int16 *buf, uint len);
static void passMixerFunc(void *param, int16 *buf, uint len);
};
+
+} // End of namespace Sky
#endif //ADLIBMUSIC_H
Index: gmchannel.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/gmchannel.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- gmchannel.cpp 7 Nov 2003 02:22:02 -0000 1.13
+++ gmchannel.cpp 3 Jan 2004 01:58:58 -0000 1.14
@@ -23,6 +23,8 @@
#include "common/util.h"
#include "sound/mididrv.h"
+namespace Sky {
+
SkyGmChannel::SkyGmChannel(uint8 *pMusicData, uint16 startOfData, MidiDriver *pMidiDrv, byte *pInstMap, uint8 *veloTab) {
_musicData = pMusicData;
@@ -203,3 +205,5 @@
_channelData.eventDataPtr += 2;
_midiDrv->send((0xB0 | _channelData.midiChannelNumber) | (conNum << 8) | (conDat << 16));
}
+
+} // End of namespace Sky
Index: gmchannel.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/gmchannel.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gmchannel.h 5 Oct 2003 20:21:20 -0000 1.7
+++ gmchannel.h 3 Jan 2004 01:58:58 -0000 1.8
@@ -26,6 +26,8 @@
class MidiDriver;
+namespace Sky {
+
typedef struct {
uint16 eventDataPtr;
int32 nextEventTime;
@@ -73,5 +75,7 @@
void com90_setStartOfData(void); // 12
void com90_getChannelControl(void); // 13
};
+
+} // End of namespace Sky
#endif //SKYGMCHANNEL_H
Index: gmmusic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/gmmusic.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- gmmusic.cpp 8 Nov 2003 20:27:27 -0000 1.15
+++ gmmusic.cpp 3 Jan 2004 01:58:58 -0000 1.16
@@ -25,6 +25,8 @@
#include "common/util.h"
#include "sound/mididrv.h"
+namespace Sky {
+
void SkyGmMusic::passTimerFunc(void *param) {
((SkyGmMusic*)param)->timerCall();
@@ -130,3 +132,4 @@
0x7C, 0x7C, 0x7D, 0x7D, 0x7E, 0x7E, 0x7F, 0x7F
};
+} // End of namespace Sky
Index: gmmusic.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/gmmusic.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- gmmusic.h 5 Oct 2003 20:21:20 -0000 1.8
+++ gmmusic.h 3 Jan 2004 01:58:58 -0000 1.9
@@ -26,6 +26,8 @@
class MidiDriver;
+namespace Sky {
+
class SkyGmMusic : public SkyMusicBase {
public:
SkyGmMusic(MidiDriver *pMidiDrv, SkyDisk *pSkyDisk, OSystem *system);
@@ -45,5 +47,7 @@
virtual void setupChannels(uint8 *channelData);
virtual void startDriver(void);
};
+
+} // End of namespace Sky
#endif //GMMUSIC_H
Index: mt32music.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/mt32music.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- mt32music.cpp 8 Nov 2003 20:27:27 -0000 1.15
+++ mt32music.cpp 3 Jan 2004 01:58:58 -0000 1.16
@@ -24,6 +24,8 @@
#include "common/util.h"
#include "sound/mididrv.h"
+namespace Sky {
+
void SkyMT32Music::passTimerFunc(void *param) {
((SkyMT32Music*)param)->timerCall();
@@ -164,3 +166,5 @@
while (processPatchSysEx(sysExData))
sysExData += 5;
}
+
+} // End of namespace Sky
Index: mt32music.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/mt32music.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mt32music.h 5 Oct 2003 20:21:20 -0000 1.6
+++ mt32music.h 3 Jan 2004 01:58:58 -0000 1.7
@@ -26,6 +26,8 @@
class MidiDriver;
+namespace Sky {
+
class SkyMT32Music : public SkyMusicBase {
public:
SkyMT32Music(MidiDriver *pMidiDrv, SkyDisk *pSkyDisk, OSystem *system);
@@ -45,5 +47,7 @@
virtual void setupChannels(uint8 *channelData);
virtual void startDriver(void);
};
+
+} // End of namespace Sky
#endif //MT32MUSIC_H
Index: musicbase.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/musicbase.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- musicbase.cpp 8 Nov 2003 20:27:27 -0000 1.16
+++ musicbase.cpp 3 Jan 2004 01:58:58 -0000 1.17
@@ -23,6 +23,8 @@
#include "sky/disk.h"
#include "common/util.h"
+namespace Sky {
+
SkyMusicBase::SkyMusicBase(SkyDisk *pSkyDisk, OSystem *system) {
_musicData = NULL;
@@ -182,3 +184,5 @@
_system->unlock_mutex(_mutex);
_aktTime &= 0xFFFF;
}
+
+} // End of namespace Sky
Index: musicbase.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/music/musicbase.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- musicbase.h 5 Oct 2003 20:21:20 -0000 1.11
+++ musicbase.h 3 Jan 2004 01:58:58 -0000 1.12
@@ -26,9 +26,12 @@
#include "common/scummsys.h"
#include "common/system.h"
-class SkyDisk;
class OSystem;
+namespace Sky {
+
+class SkyDisk;
+
#define FILES_PER_SECTION 4
typedef struct {
@@ -90,5 +93,7 @@
void stopMusic(); // 7
void setFMVolume(uint16 param); // 13
};
+
+} // End of namespace Sky
#endif //MUSICBASE_H
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky/compacts 0compact.h,1.9,1.10 101comp.h,1.7,1.8 102comp.h,1.7,1.8 10comp.h,1.9,1.10 11comp.h,1.8,1.9 12comp.h,1.8,1.9 13comp.h,1.9,1.10 14comp.h,1.9,1.10 15comp.h,1.8,1.9 16comp.h,1.8,1.9 17comp.h,1.9,1.10 18comp.h,1.8,1.9 19comp.h,1.8,1.9 1compact.h,1.7,1.8 20comp.h,1.8,1.9 21comp.h,1.9,1.10 22comp.h,1.9,1.10 23comp.h,1.8,1.9 24comp.h,1.8,1.9 25comp.h,1.8,1.9 26comp.h,1.8,1.9 27comp.h,1.10,1.11 28comp.h,1.8,1.9 29comp.h,1.8,1.9 2compact.h,1.10,1.11 30comp.h,1.10,1.11 31comp.h,1.10,1.11 32comp.h,1.10,1.11 33comp.h,1.10,1.11 34comp.h,1.9,1.10 36comp.h,1.10,1.11 37comp.h,1.10,1.11 38comp.h,1.10,1.11 39comp.h,1.9,1.10 3compact.h,1.10,1.11 40comp.h,1.9,1.10 41comp.h,1.9,1.10 42comp.h,1.8,1.9 44comp.h,1.9,1.10 45comp.h,1.9,1.10 46comp.h,1.9,1.10 47comp.h,1.9,1.10 48comp.h,1.9,1.10 4compact.h,1.11,1.12 5compact.h,1.10,1.11 65comp.h,1.8,1.9 66comp.h,1.8,1.9 67comp.h,1.9,1.10 68comp.h,1.9,1.10 69comp.h,1.8,1.9 70comp.h,1.8,1.9 71comp.h,1.9,1.10 72comp.h,1.10,1.11 73comp.h,1.11,1.12 74comp.h,1.9,1.10 75comp.h,1.10,1.11 76comp.h,1.9,1.10 77comp.h,1.9,1.10 78comp.h,1.9,1.10 79comp.h,1.9,1.10 80comp.h,1.8,1.9 81comp.h,1.7,1.8 82comp.h,1.7,1.8 85comp.h,1.6,1.7 90comp.h,1.10,1.11 91comp.h,1.9,1.10 92comp.h,1.9,1.10 93comp.h,1.9,1.10 94comp.h,1.9,1.10 95comp.h,1.9,1.10 96comp.h,1.9,1.10 9compact.h,1.8,1.9 linc_gen.h,1.7,1.8 lincmenu.h,1.8,1.9 objects.h,1.8,1.9 savedata.cpp,1.7,1.8 z_compac.h,1.10,1.11
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.22,1.23 autoroute.h,1.8,1.9 compact.cpp,1.23,1.24 compact.h,1.10,1.11 control.cpp,1.61,1.62 control.h,1.28,1.29 debug.cpp,1.7,1.8 debug.h,1.2,1.3 disk.cpp,1.52,1.53 disk.h,1.12,1.13 grid.cpp,1.13,1.14 grid.h,1.5,1.6 hufftext.cpp,1.3,1.4 intro.cpp,1.42,1.43 intro.h,1.2,1.3 logic.cpp,1.139,1.140 logic.h,1.34,1.35 mouse.cpp,1.27,1.28 mouse.h,1.21,1.22 rnc_deco.cpp,1.16,1.17 rnc_deco.h,1.3,1.4 screen.cpp,1.53,1.54 screen.h,1.16,1.17 sky.cpp,1.135,1.136 sky.h,1.55,1.56 skydefs.h,1.26,1.27 sound.cpp,1.43,1.44 sound.h,1.22,1.23 struc.h,1.12,1.13 talks.h,1.2,1.3 text.cpp,1.57,1.58 text.h,1.29,1.30
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list