[Scummvm-cvs-logs] CVS: residual lua.cpp,1.63,1.64

Jonathan Gray khalek at users.sourceforge.net
Fri Apr 16 04:42:03 CEST 2004


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9690

Modified Files:
	lua.cpp 
Log Message:
add Is3DHardwareEnabled() implementation

Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- lua.cpp	16 Apr 2004 11:21:44 -0000	1.63
+++ lua.cpp	16 Apr 2004 11:41:38 -0000	1.64
@@ -451,6 +451,10 @@
 	pushbool(act->isWalking());
 }
 
+static void Is3DHardwareEnabled() {
+	pushbool(true);
+}
+
 static void IsActorResting() {
 	Actor *act = check_actor(1);
 	pushbool(!(act->isWalking() || act->isTurning()));
@@ -1616,7 +1620,8 @@
 	{ "NewObjectState", NewObjectState }, 
 	{ "FreeObjectState", FreeObjectState },
 	{ "GetSpeechMode", GetSpeechMode },
-	{ "SetSpeechMode", SetSpeechMode }
+	{ "SetSpeechMode", SetSpeechMode },
+	{ "Is3DHardwareEnabled", Is3DHardwareEnabled }
 };
 
 void register_lua() {





More information about the Scummvm-git-logs mailing list