[Scummvm-cvs-logs] CVS: scummvm/backends/wince pocketpc.cpp,1.4,1.5
Nicolas Bacca
arisme at users.sourceforge.net
Tue Oct 22 16:01:03 CEST 2002
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory usw-pr-cvs1:/tmp/cvs-serv13547
Modified Files:
pocketpc.cpp
Log Message:
DLLs loaded at runtime, new launcher, overlay, new hardware key management and other fixes
Index: pocketpc.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/pocketpc.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- pocketpc.cpp 26 Sep 2002 12:29:10 -0000 1.4
+++ pocketpc.cpp 22 Oct 2002 23:00:13 -0000 1.5
@@ -25,7 +25,7 @@
#include "scumm.h"
#include "debug.h"
#include "screen.h"
-#include "gui.h"
+#include "gui/newgui.h"
#include "sound/mididrv.h"
#include "gameDetector.h"
#include "simon/simon.h"
@@ -47,20 +47,292 @@
#include "SDL_timer.h"
#include "SDL_thread.h"
[...1448 lines suppressed...]
+ for (i=0; i<h; i++) {
+ memcpy(dest + (x * sizeof(int16)), buf, w * 2);
+ dest += 320 * sizeof(int16);
+ buf += pitch;
+ }
+}
+
+void OSystem_WINCE3::move_screen(int dx, int dy, int height) {
+ // FIXME : to be implemented
+}
+
+/* NECESSARY operators redefinition */
+
+void *operator new(size_t size) {
+ return calloc(size, 1);
+}
+
+void operator delete(void *ptr) {
+ free(ptr);
+}
More information about the Scummvm-git-logs
mailing list