[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.164,1.165 simon.h,1.54,1.55

Pawel Kolodziejski aquadran at users.sourceforge.net
Fri Mar 7 07:39:10 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv13959/simon

Modified Files:
	simon.cpp simon.h 
Log Message:
implemented formating string error for each engine

Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- simon.cpp	7 Mar 2003 13:39:59 -0000	1.164
+++ simon.cpp	7 Mar 2003 15:38:01 -0000	1.165
@@ -214,6 +214,10 @@
 	delete [] _fcs_list;
 }
 
+void SimonState::errorString(const char *buf1, char *buf2) {
+	strcpy(buf2, buf1);
+}
+
 void palette_fadeout(uint32 *pal_values, uint num) {
 	byte *p = (byte *)pal_values;
 

Index: simon.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- simon.h	7 Mar 2003 13:39:59 -0000	1.54
+++ simon.h	7 Mar 2003 15:38:09 -0000	1.55
@@ -96,6 +96,7 @@
 struct GameSpecificSettings;
 
 class SimonState : public Engine {
+	void errorString(const char *buf_input, char *buf_output);
 public:
 	File *_mus_file;
 	uint16 *_mus_offsets;





More information about the Scummvm-git-logs mailing list