[Scummvm-cvs-logs] SF.net SVN: scummvm: [29780] scummvm/trunk/backends/platform/PalmOS/Src/ native

chrilith at users.sourceforge.net chrilith at users.sourceforge.net
Sun Dec 9 12:09:45 CET 2007


Revision: 29780
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29780&view=rev
Author:   chrilith
Date:     2007-12-09 03:09:44 -0800 (Sun, 09 Dec 2007)

Log Message:
-----------
Added functions required by T3 to prevent screen rotation

Modified Paths:
--------------
    scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.h

Modified: scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.cpp	2007-12-09 11:08:23 UTC (rev 29779)
+++ scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.cpp	2007-12-09 11:09:44 UTC (rev 29780)
@@ -47,7 +47,25 @@
 	PACE_PIN_EXEC(pinPINSetInputAreaState, Err)
 }
 
+PACE_CLASS_WRAPPER(UInt16)
+	__68k_PINGetInputAreaState(void) {
+	PACE_PIN_EXEC_NP(pinPINGetInputAreaState, UInt16)
+}
+
 PACE_CLASS_WRAPPER(Err)
+	__68k_PINSetInputTriggerState(UInt16 state) {
+	PACE_PARAMS_INIT()
+	PACE_PARAMS_ADD16(state)
+	PACE_PARAMS_END()
+	PACE_PIN_EXEC(pinPINSetInputTriggerState, Err)
+}
+
+PACE_CLASS_WRAPPER(UInt16)
+	__68k_PINGetInputTriggerState(void) {
+	PACE_PIN_EXEC_NP(pinPINGetInputTriggerState, UInt16)
+}
+
+PACE_CLASS_WRAPPER(Err)
 	__68k_SysSetOrientation(UInt16 orientation) {
 	PACE_PARAMS_INIT()
 	PACE_PARAMS_ADD16(orientation)

Modified: scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.h	2007-12-09 11:08:23 UTC (rev 29779)
+++ scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.h	2007-12-09 11:09:44 UTC (rev 29780)
@@ -38,9 +38,16 @@
 
 Err __68k_StatShow();
 Err __68k_StatHide();
+
 Err __68k_PINSetInputAreaState(UInt16 state);
+UInt16 __68k_PINGetInputAreaState(void);
+
+Err __68k_PINSetInputTriggerState(UInt16 state);
+UInt16 __68k_PINGetInputTriggerState(void);
+
 Err __68k_SysSetOrientation(UInt16 orientation);
 UInt16 __68k_SysGetOrientation(void);
+
 Err __68k_SysSetOrientationTriggerState(UInt16 triggerState);
 UInt16 __68k_SysGetOrientationTriggerState(void);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list