[Scummvm-cvs-logs] CVS: scummvm/bs2 console.cpp,1.2,1.3

Jonathan Gray khalek at users.sourceforge.net
Sun Jul 27 22:31:20 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2
In directory sc8-pr-cvs1:/tmp/cvs-serv32059

Modified Files:
	console.cpp 
Log Message:
it would be nice if people would update functions when adding qualifiers to prototypes

Index: console.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/console.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- console.cpp	28 Jul 2003 03:12:49 -0000	1.2
+++ console.cpp	28 Jul 2003 05:30:42 -0000	1.3
@@ -328,7 +328,7 @@
 //-----------------------------------------------------------------------------------------------------------------------
 //-----------------------------------------------------------------------------------------------------------------------
 //-----------------------------------------------------------------------------------------------------------------------
-void	Print_to_console(char *format,...)	//Tony13Aug96
+void	Print_to_console(const char *format,...)	//Tony13Aug96
 {
 //print a NULL terminated string of ascii to the next console line
 //we can assume that the user has just entered a command by pressing return - which means we're on a clean line
@@ -345,7 +345,7 @@
 
 }
 //-----------------------------------------------------------------------------------------------------------------------
-void	Temp_print_to_console(char *format,...)	//Tony13Aug96
+void	Temp_print_to_console(const char *format,...)	//Tony13Aug96
 {
 //print a NULL terminated string of ascii to the next console line
 //we can assume that the user has just entered a command by pressing return - which means we're on a clean line
@@ -1002,7 +1002,7 @@
 
 
 //-----------------------------------------------------------------------------------------------------------------------
-void Con_fatal_error(char *format,...)	//Tony17Oct96
+void Con_fatal_error(const char *format,...)	//Tony17Oct96
 {
 //use this to alert the user of a major problem from which we cannot allow the game to continue
 //while in console mode the user will still be ble to use the console commands - which may be useful
@@ -1332,8 +1332,8 @@
 
 #else // not debug
 
-void	Print_to_console(char *format,...) {};
-void	Temp_print_to_console(char *format,...) {};
+void	Print_to_console(const char *format,...) {};
+void	Temp_print_to_console(const char *format,...) {};
 void	Clear_console_line(void) {};
 void	Scroll_console(void) {};
 void	Init_console(void) {};





More information about the Scummvm-git-logs mailing list