[Scummvm-cvs-logs] CVS: scummvm/backends/null null.cpp,1.10,1.11

Max Horn fingolfin at users.sourceforge.net
Tue Feb 24 14:55:16 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/null
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12241/backends/null

Modified Files:
	null.cpp 
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: null.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/null/null.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- null.cpp	6 Jan 2004 12:45:27 -0000	1.10
+++ null.cpp	24 Feb 2004 22:39:36 -0000	1.11
@@ -30,7 +30,7 @@
 class OSystem_NULL : public OSystem {
 public:
 	void set_palette(const byte *colors, uint start, uint num) {}
-	void init_size(uint w, uint h);
+	void initSize(uint w, uint h);
 	void copy_rect(const byte *buf, int pitch, int x, int y, int w, int h) {}
 	void move_screen(int dx, int dy) {}
 	void update_screen() {}
@@ -41,7 +41,7 @@
 	uint32 get_msecs();
 	void delay_msecs(uint msecs);
 	bool poll_event(Event *event) { return false; }
-	bool set_sound_proc(SoundProc proc, void *param, SoundFormat format) {}
+	bool setSoundCallback(SoundProc proc, void *param) {}
 	void quit() { exit(1); }
 	uint32 property(int param, Property *value) { return 0; }
 	static OSystem *create(int gfx_mode, bool full_screen);
@@ -52,7 +52,7 @@
 	uint32 get_ticks();
 };
 
-void OSystem_NULL::init_size(uint w, uint h, byte sound) {
+void OSystem_NULL::initSize(uint w, uint h, byte sound) {
 	msec_start = get_ticks();
 }
 





More information about the Scummvm-git-logs mailing list