[Scummvm-cvs-logs] CVS: scummvm/wince screen.cpp,1.3,1.4
Nicolas Bacca
arisme at users.sourceforge.net
Mon May 13 23:51:02 CEST 2002
Update of /cvsroot/scummvm/scummvm/wince
In directory usw-pr-cvs1:/tmp/cvs-serv3868
Modified Files:
screen.cpp
Log Message:
(untested) support for 320x240 Zak screen resolution
Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/wince/screen.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- screen.cpp 14 Mar 2002 21:56:24 -0000 1.3
+++ screen.cpp 14 May 2002 06:50:38 -0000 1.4
@@ -1,1131 +1,1142 @@
-#ifdef _WIN32_WCE
-
-// TODO : toolbar for paletted devices
-
-/* (C) 2001 Vasyl Tsvirkunov */
-/* Added PocketATARI additional support code for paletted/mono devices */
-
-#include <windows.h>
-#include <Aygshell.h>
-#include "gx.h"
-#include "screen.h"
[...2241 lines suppressed...]
+ {
+ case 0: /* portrait */
+ *px = *px*4/3;
+ break;
+ case 1: /* landscape left */
+ x = 320 - *py;
+ y = *px;
+ *px = x;
+ *py = y;
+ break;
+ case 2: /* landscape right */
+ x = *py;
+ y = 240 - *px;
+ *px = x;
+ *py = y;
+ break;
+ }
+}
+
#endif
More information about the Scummvm-git-logs
mailing list