[Scummvm-cvs-logs] CVS: residual lua.cpp,1.67,1.68
Jonathan Gray
khalek at users.sourceforge.net
Fri Jun 4 13:58:02 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: residual lua.cpp,1.66,1.67
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.162,2.163 resource.cpp,1.206,1.207 scumm.cpp,1.32,1.33 vars.cpp,1.80,1.81
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29251
Modified Files:
lua.cpp
Log Message:
add stub for GetDiskFreeSpace which is used to check for free space when creating save games
Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- lua.cpp 4 Jun 2004 19:08:16 -0000 1.67
+++ lua.cpp 4 Jun 2004 20:57:17 -0000 1.68
@@ -1169,6 +1169,11 @@
lua_pushnumber(0);
}
+static void GetDiskFreeSpace() {
+ // amount of free space in MB, used for creating saves
+ lua_pushnumber(50);
+}
+
// Objectstate functions
static void NewObjectState() {
enum ObjectPosition {
@@ -1417,7 +1422,7 @@
"DrawLine",
"pause_scripts",
"unpause_scripts",
- "print_stack",
+ "print_stack"
};
// Entries in the system table
@@ -1681,6 +1686,7 @@
{ "GetSpeechMode", GetSpeechMode },
{ "SetSpeechMode", SetSpeechMode },
{ "GetTextCharPosition", GetTextCharPosition },
+ { "GetDiskFreeSpace", GetDiskFreeSpace },
{ "Is3DHardwareEnabled", Is3DHardwareEnabled }
};
- Previous message: [Scummvm-cvs-logs] CVS: residual lua.cpp,1.66,1.67
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.162,2.163 resource.cpp,1.206,1.207 scumm.cpp,1.32,1.33 vars.cpp,1.80,1.81
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list