[Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp32.cpp,1.15,1.16 gp32.h,1.14,1.15
Max Horn
fingolfin at users.sourceforge.net
Tue Feb 24 14:55:18 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/gp32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12241/backends/gp32
Modified Files:
gp32.cpp gp32.h
Log Message:
the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
Index: gp32.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- gp32.cpp 7 Nov 2003 02:48:53 -0000 1.15
+++ gp32.cpp 24 Feb 2004 22:39:36 -0000 1.16
@@ -56,7 +56,7 @@
// Set the size of the video bitmap.
// Typically, 320x200
-void OSystem_GP32::init_size(uint w, uint h) {
+void OSystem_GP32::initSize(uint w, uint h) {
// Avoid redundant res changes
if ((int)w == _screenWidth && (int)h == _screenHeight)
return;
@@ -976,11 +976,11 @@
// Set the function to be invoked whenever samples need to be generated
// Format is the sample type format.
// Only 16-bit signed mode is needed for simon & scumm
-bool OSystem_GP32::set_sound_proc(SoundProc proc, void *param, SoundFormat format) {
+bool OSystem_GP32::setSoundCallback(SoundProc proc, void *param) {
return false;
}
-void OSystem_GP32::clear_sound_proc() {
+void OSystem_GP32::clearSoundCallback() {
//_sound_proc = NULL;
//_sound_proc_param = NULL;
}
Index: gp32.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- gp32.h 27 Sep 2003 16:54:09 -0000 1.14
+++ gp32.h 24 Feb 2004 22:39:36 -0000 1.15
@@ -39,7 +39,7 @@
// Set the size of the video bitmap.
// Typically, 320x200
- void init_size(uint w, uint h);
+ void initSize(uint w, uint h);
int16 get_height() { return _screenHeight; }
int16 get_width() { return _screenWidth; }
@@ -80,8 +80,8 @@
// Set the function to be invoked whenever samples need to be generated
// Format is the sample type format.
// Only 16-bit signed mode is needed for simon & scumm
- bool set_sound_proc(SoundProc proc, void *param, SoundFormat format);
- void clear_sound_proc();
+ bool setSoundCallback(SoundProc proc, void *param);
+ void clearSoundCallback();
// Get or set a property
uint32 property(int param, Property *value);
More information about the Scummvm-git-logs
mailing list