[Scummvm-cvs-logs] CVS: residual lua.cpp,1.92,1.93
Pawel Kolodziejski
aquadran at users.sourceforge.net
Mon Jan 3 00:19:05 CET 2005
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26307
Modified Files:
lua.cpp
Log Message:
added 3 funcs
Index: lua.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/lua.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- lua.cpp 2 Jan 2005 20:26:51 -0000 1.92
+++ lua.cpp 3 Jan 2005 08:18:45 -0000 1.93
@@ -1389,6 +1389,23 @@
// in residual all keys are handled/enabled
}
+static void LightMgrSetChange() {
+ // that seems only used when some control panel is opened
+}
+
+static void SetAmbientLight() {
+ int type = check_int(1);
+ if (type != 0)
+ warning("SetAmbientLight() Set ambient light to %d", type);
+ else
+ ;// 0 - seems turn off ambient light
+}
+
+static void EngineDisplay() {
+ bool mode = check_int(1) != 0;
+ // it enable/disable updating display
+}
+
// Stub function for builtin functions not yet implemented
static void stubWarning(char *funcName) {
@@ -1476,12 +1493,10 @@
STUB_FUNC(ForceRefresh)
STUB_FUNC(RenderModeUser)
STUB_FUNC(SetGamma)
-STUB_FUNC(LightMgrSetChange)
STUB_FUNC(LightMgrStartup)
STUB_FUNC(SetLightIntensity)
STUB_FUNC(SetLightPosition)
STUB_FUNC(TurnLightOn)
-STUB_FUNC(SetAmbientLight)
STUB_FUNC(GetAngleBetweenVectors)
STUB_FUNC(TurnActorTo)
STUB_FUNC(PointActorAt)
@@ -1523,7 +1538,6 @@
STUB_FUNC(SetActorScale)
STUB_FUNC(SetActorColormap)
STUB_FUNC(SearchForFileOrSwapCDs)
-STUB_FUNC(EngineDisplay)
STUB_FUNC(SetOffscreenTextPos)
STUB_FUNC(SetEmergencyFont)
STUB_FUNC(GetTranslationMode)
More information about the Scummvm-git-logs
mailing list