[Scummvm-cvs-logs] CVS: residual lua.cpp,1.91,1.92
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sun Jan 2 12:27:07 CET 2005
- Previous message: [Scummvm-cvs-logs] CVS: residual costume.cpp,1.23,1.24
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.68,1.69 game.cpp,1.46,1.47 input.cpp,1.28,1.29 interface.cpp,1.47,1.48 interface.h,1.17,1.18 ite_introproc.cpp,1.43,1.44 rscfile.cpp,1.17,1.18 saga.cpp,1.77,1.78 saga.h,1.62,1.63 script.h,1.43,1.44 sfuncs.cpp,1.64,1.65
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24106
Modified Files:
lua.cpp
Log Message:
added two lua opcodes
Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- lua.cpp 2 Jan 2005 13:34:50 -0000 1.91
+++ lua.cpp 2 Jan 2005 20:26:51 -0000 1.92
@@ -1372,6 +1372,23 @@
warning("STUB: BlastText(\"%s\", x = %d, y = %d)\n", msg.c_str(), x, y);
}
+static void LockFont() {
+ lua_Object param1 = lua_getparam(1);
+ if (lua_isstring(param1)) {
+ char *fontName = lua_getstring(param1);
+ void *result = NULL;//g_resourceloader->loadFont(fontName);
+ if (result) {
+ lua_pushusertag(result, MKID('FONT'));
+ return;
+ }
+ }
+ lua_pushnil();
+}
+
+static void EnableDebugKeys() {
+ // in residual all keys are handled/enabled
+}
+
// Stub function for builtin functions not yet implemented
static void stubWarning(char *funcName) {
@@ -1485,8 +1502,6 @@
STUB_FUNC(NextSetup)
STUB_FUNC(UnLockSet)
STUB_FUNC(LockSet)
-STUB_FUNC(LockFont)
-STUB_FUNC(EnableDebugKeys)
STUB_FUNC(WorldToScreen)
STUB_FUNC(CompleteActorChore)
STUB_FUNC(SetActorRoll)
- Previous message: [Scummvm-cvs-logs] CVS: residual costume.cpp,1.23,1.24
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.68,1.69 game.cpp,1.46,1.47 input.cpp,1.28,1.29 interface.cpp,1.47,1.48 interface.h,1.17,1.18 ite_introproc.cpp,1.43,1.44 rscfile.cpp,1.17,1.18 saga.cpp,1.77,1.78 saga.h,1.62,1.63 script.h,1.43,1.44 sfuncs.cpp,1.64,1.65
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list