[Scummvm-cvs-logs] SF.net SVN: scummvm:[54588] scummvm/trunk/backends/platform/symbian

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Mon Nov 29 20:44:22 CET 2010


Revision: 54588
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54588&view=rev
Author:   anotherguest
Date:     2010-11-29 19:44:22 +0000 (Mon, 29 Nov 2010)

Log Message:
-----------
SYMBIAN : Updated so it builds with latest structures and add support to last express

Modified Paths:
--------------
    scummvm/trunk/backends/platform/symbian/AdaptAllMMPs.pl
    scummvm/trunk/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl
    scummvm/trunk/backends/platform/symbian/mmp/scummvm_base.mmp.in
    scummvm/trunk/backends/platform/symbian/src/SymbianMain.cpp
    scummvm/trunk/backends/platform/symbian/src/portdefs.h

Added Paths:
-----------
    scummvm/trunk/backends/platform/symbian/mmp/scummvm_lastexpress.mmp.in

Modified: scummvm/trunk/backends/platform/symbian/AdaptAllMMPs.pl
===================================================================
--- scummvm/trunk/backends/platform/symbian/AdaptAllMMPs.pl	2010-11-29 19:28:19 UTC (rev 54587)
+++ scummvm/trunk/backends/platform/symbian/AdaptAllMMPs.pl	2010-11-29 19:44:22 UTC (rev 54588)
@@ -35,6 +35,7 @@
 	"mmp/scummvm_mohawk.mmp",
 	"mmp/scummvm_hugo.mmp",
 	"mmp/scummvm_toon.mmp",
+	"mmp/scummvm_lastexpress.mmp",
 	# Target Platform Project Files
 	"S60/ScummVM_S60.mmp",
 	"S60v3/ScummVM_S60v3.mmp",
@@ -140,6 +141,7 @@
 ParseModule("_mohawk"   ,"mohawk",	\@section_empty);
 ParseModule("_hugo"     ,"hugo",	\@section_empty);
 ParseModule("_toon"     ,"toon",	\@section_empty);
+ParseModule("_lastexpress","lastexpress",	\@section_empty);
 print "
 =======================================================================================
 Done. Enjoy :P

Modified: scummvm/trunk/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl
===================================================================
--- scummvm/trunk/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl	2010-11-29 19:28:19 UTC (rev 54587)
+++ scummvm/trunk/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl	2010-11-29 19:44:22 UTC (rev 54588)
@@ -4,13 +4,13 @@
 	@WorkingEngines = qw(
 		scumm agos sky queen gob groovie saga drascula
 		kyra lure agi touche parallaction cine
-		cruise made m4 tinsel tucker sword1 sword2 draci sci teenagent mohawk hugo toon
+		cruise made m4 tinsel tucker sword1 sword2 draci sci teenagent mohawk hugo toon lastexpress
 	);
 
 	@WorkingEngines_1st = qw(
 		scumm queen groovie saga drascula
 		touche parallaction cine
-?		cruise made m4 tucker
+?		cruise made m4 tucker lastexpress
 	);
 
 	@WorkingEngines_2nd = qw(

Modified: scummvm/trunk/backends/platform/symbian/mmp/scummvm_base.mmp.in
===================================================================
--- scummvm/trunk/backends/platform/symbian/mmp/scummvm_base.mmp.in	2010-11-29 19:28:19 UTC (rev 54587)
+++ scummvm/trunk/backends/platform/symbian/mmp/scummvm_base.mmp.in	2010-11-29 19:44:22 UTC (rev 54588)
@@ -142,6 +142,7 @@
 SOURCE     backends\mixer\symbiansdl\symbiansdl-mixer.cpp
 SOURCE     backends\mutex\sdl\sdl-mutex.cpp
 SOURCE     backends\timer\sdl\sdl-timer.cpp
+SOURCE     backends\log\log.cpp
 
 // Source files for virtual keyboard
 SOURCE     backends\vkeybd\image-map.cpp
@@ -151,4 +152,5 @@
 SOURCE     backends\vkeybd\virtual-keyboard.cpp
 
 // Downscaler
-SOURCE	   graphics\scaler\downscaler.cpp
\ No newline at end of file
+SOURCE	   graphics\scaler\downscaler.cpp
+MACRO SDL_BACKEND
\ No newline at end of file

Added: scummvm/trunk/backends/platform/symbian/mmp/scummvm_lastexpress.mmp.in
===================================================================
--- scummvm/trunk/backends/platform/symbian/mmp/scummvm_lastexpress.mmp.in	                        (rev 0)
+++ scummvm/trunk/backends/platform/symbian/mmp/scummvm_lastexpress.mmp.in	2010-11-29 19:44:22 UTC (rev 54588)
@@ -0,0 +1,64 @@
+/* ScummVM - Graphic Adventure Engine
+ * Copyright (C) 2003-2005 Andreas 'Sprawl' Karlsson - Original EPOC port, ESDL
+ * Copyright (C) 2003-2005 Lars 'AnotherGuest' Persson - Original EPOC port, Audio System
+ * Copyright (C) 2005 Jurgen 'SumthinWicked' Braam - EPOC/CVS maintainer
+ * Copyright (C) 2005-2010 The ScummVM project
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+//
+// EPOC MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET          scummvm_lastexpress.lib
+TARGETTYPE      lib
+OPTION			MSVC /QIfist /Ob1 /Oy /GF // /QIfist disables use of __ftol2 to avoid linker probs with MS libc: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcrefQIfistSuppress_ftol.asp
+OPTION			GCC -Wno-multichar -Wno-reorder // don't optimize for ARM, platform way too sensitive for that :( just turn off some common warnings
+OPTION			GCCE -Wno-multichar -Wno-reorder -Wno-unused -Wno-format -fsigned-char
+ALWAYS_BUILD_AS_ARM
+
+//START_AUTO_MACROS_SLAVE//
+
+	// empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\..\engines\lastexpress
+
+//START_AUTO_OBJECTS_LASTEXPRESS_//
+
+	// empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_LASTEXPRESS_//
+
+// *** Include paths
+
+USERINCLUDE     ..\..\..\..\engines
+USERINCLUDE     ..\..\..\.. ..\..\..\..\common ..\..\..\..\gui ..\..\..\..\sound ..\src
+SYSTEMINCLUDE	\epoc32\include\ZLIB // before \epoc32\include because symbian already has older version
+SYSTEMINCLUDE   \epoc32\include \epoc32\include\libc ..\src


Property changes on: scummvm/trunk/backends/platform/symbian/mmp/scummvm_lastexpress.mmp.in
___________________________________________________________________
Added: svn:mime-type
   + text/plain
Added: svn:keywords
   + Date Rev Author URL Id
Added: svn:eol-style
   + native

Modified: scummvm/trunk/backends/platform/symbian/src/SymbianMain.cpp
===================================================================
--- scummvm/trunk/backends/platform/symbian/src/SymbianMain.cpp	2010-11-29 19:28:19 UTC (rev 54587)
+++ scummvm/trunk/backends/platform/symbian/src/SymbianMain.cpp	2010-11-29 19:44:22 UTC (rev 54588)
@@ -23,9 +23,9 @@
  *
  */
 
+#include "backends/platform/symbian/src/portdefs.h"
 #include "base/main.h"
 #include "backends/platform/symbian/src/SymbianOS.h"
-#include "backends/platform/symbian/src/portdefs.h"
 
 extern "C"
 {

Modified: scummvm/trunk/backends/platform/symbian/src/portdefs.h
===================================================================
--- scummvm/trunk/backends/platform/symbian/src/portdefs.h	2010-11-29 19:28:19 UTC (rev 54587)
+++ scummvm/trunk/backends/platform/symbian/src/portdefs.h	2010-11-29 19:44:22 UTC (rev 54588)
@@ -131,6 +131,8 @@
 void *scumm_bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
 #define bsearch	scumm_bsearch
 #define FORBIDDEN_SYMBOL_EXCEPTION_FILE
+#define FORBIDDEN_SYMBOL_EXCEPTION_fclose
+#define FORBIDDEN_SYMBOL_EXCEPTION_fopen
 
 // we cannot include SymbianOS.h everywhere, but this works too (functions code is in SymbianOS.cpp)
 namespace Symbian {


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