aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian/UIQ2
diff options
context:
space:
mode:
authorMax Horn2006-07-06 21:44:48 +0000
committerMax Horn2006-07-06 21:44:48 +0000
commit1d8d9f5510dc5f574e926bd6fadb9d20337daede (patch)
tree5cdcf6c8a233159776be9d90f3f39885222f65eb /backends/platform/symbian/UIQ2
parent9269ebe9f5a281f452594f1e8108e31c88a398fb (diff)
downloadscummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.tar.gz
scummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.tar.bz2
scummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.zip
Moving remaining platform/backends code, as previously threatened
svn-id: r23380
Diffstat (limited to 'backends/platform/symbian/UIQ2')
-rw-r--r--backends/platform/symbian/UIQ2/BLD.INF.in11
-rw-r--r--backends/platform/symbian/UIQ2/ScummVM.rss46
-rw-r--r--backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in106
-rw-r--r--backends/platform/symbian/UIQ2/Vibration.sisbin0 -> 2175 bytes
-rw-r--r--backends/platform/symbian/UIQ2/chkstk.objbin0 -> 329 bytes
-rw-r--r--backends/platform/symbian/UIQ2/lldiv.objbin0 -> 418 bytes
-rw-r--r--backends/platform/symbian/UIQ2/llmul.objbin0 -> 300 bytes
-rw-r--r--backends/platform/symbian/UIQ2/llshl.objbin0 -> 280 bytes
-rw-r--r--backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg26
-rw-r--r--backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg31
10 files changed, 220 insertions, 0 deletions
diff --git a/backends/platform/symbian/UIQ2/BLD.INF.in b/backends/platform/symbian/UIQ2/BLD.INF.in
new file mode 100644
index 0000000000..b607446a64
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/BLD.INF.in
@@ -0,0 +1,11 @@
+PRJ_PLATFORMS
+WINS ARMI // ARM4 THUMB
+
+PRJ_MMPFILES
+//START_AUTO_PROJECTS//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_PROJECTS//
+
+.\ScummVM_UIQ2.mmp
diff --git a/backends/platform/symbian/UIQ2/ScummVM.rss b/backends/platform/symbian/UIQ2/ScummVM.rss
new file mode 100644
index 0000000000..a55fabfc51
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/ScummVM.rss
@@ -0,0 +1,46 @@
+/* ScummVM - Scumm Interpreter
+ * 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-2006 The ScummVM project
+ *
+ * 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$
+ */
+
+// ScummVM.RSS
+
+NAME SCUM
+
+// Include definitions of resource STRUCTS used by this
+// resource script
+#include <eikon.rh>
+#include "..\src\Scummvm.hrh"
+// Include the standard Eikon resource ids
+#include <eikon.rsg>
+
+
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+RESOURCE TBUF16 { buf=""; }
+
+RESOURCE EIK_APP_INFO
+ {
+ }
+
diff --git a/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in b/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in
new file mode 100644
index 0000000000..9b2e432b19
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in
@@ -0,0 +1,106 @@
+/* ScummVM - Scumm Interpreter
+ * 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-2006 The ScummVM project
+ *
+ * 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.
+ *
+ */
+
+//
+// EPOC UIQ MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET SCUMMVM.APP
+TARGETPATH system\apps\ScummVM
+TARGETTYPE app
+
+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
+
+RESOURCE ScummVM.rss
+EPOCSTACKSIZE 0x80008000 // this enables ECompXL app compression
+AIF ScummVm.Aif ..\res\ ScummVmAif.rss c16 ScummL.bmp ScummLM.bmp ScummS.bmp ScummSM.bmp
+UID 0x100039ce 0x101f9b57
+
+MACRO UIQ
+MACRO EPOC_AS_APP
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** Static Libraries
+
+STATICLIBRARY esdl.lib
+
+#if !defined(WINS)
+STATICLIBRARY egcc.lib // for __fixunsdfsi
+#endif
+
+// *** Include paths
+
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\engines
+USERINCLUDE ..\..\..\backends\fs ..\src ..\..\..\backends\sdl ..\..\..\sound
+
+SYSTEMINCLUDE \epoc32\include\ESDL
+SYSTEMINCLUDE \epoc32\include\ZLIB // before \epoc32\include because symbian already has older version
+SYSTEMINCLUDE \epoc32\include\libc
+SYSTEMINCLUDE \epoc32\include
+SYSTEMINCLUDE ..\src // for portdefs.h
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\base
+
+//START_AUTO_OBJECTS_BASE_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_BASE_//
+
+SOURCEPATH ..\..\..\
+
+// backend EPOC/SDL/ESDL specific includes
+SOURCE backends\sdl\events.cpp
+SOURCE backends\sdl\graphics.cpp
+SOURCE backends\sdl\sdl.cpp
+SOURCE backends\fs\symbian\symbian-fs.cpp
+SOURCE backends\symbian\src\SymbianOS.cpp
+SOURCE backends\symbian\src\SymbianActions.cpp
+SOURCE backends\symbian\src\ScummApp.cpp
+
+SOURCE gui\Key.cpp
+SOURCE gui\KeysDialog.cpp
+SOURCE gui\Actions.cpp
+
+// *** Dynamic Libraries
+
+LIBRARY cone.lib eikcore.lib
+LIBRARY euser.lib apparc.lib fbscli.lib
+LIBRARY estlib.lib apgrfx.lib
+LIBRARY gdi.lib hal.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+LIBRARY qikctl.lib bafl.lib
+
+START WINS
+WIN32_LIBRARY lldiv.obj llmul.obj llshl.obj
+END
+
diff --git a/backends/platform/symbian/UIQ2/Vibration.sis b/backends/platform/symbian/UIQ2/Vibration.sis
new file mode 100644
index 0000000000..7cd9d33f15
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/Vibration.sis
Binary files differ
diff --git a/backends/platform/symbian/UIQ2/chkstk.obj b/backends/platform/symbian/UIQ2/chkstk.obj
new file mode 100644
index 0000000000..1df42b21c3
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/chkstk.obj
Binary files differ
diff --git a/backends/platform/symbian/UIQ2/lldiv.obj b/backends/platform/symbian/UIQ2/lldiv.obj
new file mode 100644
index 0000000000..60d7c98660
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/lldiv.obj
Binary files differ
diff --git a/backends/platform/symbian/UIQ2/llmul.obj b/backends/platform/symbian/UIQ2/llmul.obj
new file mode 100644
index 0000000000..c6416030a3
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/llmul.obj
Binary files differ
diff --git a/backends/platform/symbian/UIQ2/llshl.obj b/backends/platform/symbian/UIQ2/llshl.obj
new file mode 100644
index 0000000000..30c5749d83
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/llshl.obj
Binary files differ
diff --git a/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg
new file mode 100644
index 0000000000..2ebf7580f9
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg
@@ -0,0 +1,26 @@
+;;;
+;;; ScummVM .PKG file for .SIS gegeration
+;;;
+
+; Languages
+;&EN
+
+; UID is the app's UID
+#{"ScummVM UIQ2"},(0x101f9b57),0,80,3
+
+; Platform type
+(0x101F617B), 2, 0, 0, {"UIQ20ProductID"}
+
+; Application, AIF & Resource file
+"\epoc32\release\armi\urel\ScummVM.app"-"!:\system\apps\ScummVM\ScummVM.app"
+"\epoc32\data\z\system\apps\ScummVM\ScummVM.aif"-"!:\system\apps\ScummVM\ScummVM.aif"
+"\epoc32\data\z\system\apps\ScummVM\ScummVM.rsc"-"!:\system\apps\ScummVM\ScummVM.rsc"
+
+; Config/log files: 'empty' will automagically be removed on uninstall
+""-"!:\system\apps\ScummVM\scummvm.ini",FILENULL
+""-"!:\system\apps\ScummVM\scummvm.stdout.txt",FILENULL
+""-"!:\system\apps\ScummVM\scummvm.stderr.txt",FILENULL
+""-"!:\system\apps\ScummVM\sdl.ini",FILENULL
+
+; This install layout will let you upgrade to newer versions wihout loss of scummvm.ini.
+; It will remove the config file, std***.txt files & dirs on uninstall. \ No newline at end of file
diff --git a/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg
new file mode 100644
index 0000000000..a07149b702
--- /dev/null
+++ b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg
@@ -0,0 +1,31 @@
+;;;
+;;; ScummVM .PKG file for .SIS gegeration
+;;;
+
+; Languages
+;&EN
+
+; UID is the app's UID
+#{"ScummVM SE"},(0x101f9b57),0,80,3
+
+; Platform type
+(0x101F617B), 2, 0, 0, {"UIQ20ProductID"}
+
+; Application, AIF & Resource file
+"\epoc32\release\armi\urel\ScummVM.app"-"!:\system\apps\ScummVM\ScummVM.app"
+"\epoc32\data\z\system\apps\ScummVM\ScummVM.aif"-"!:\system\apps\ScummVM\ScummVM.aif"
+"\epoc32\data\z\system\apps\ScummVM\ScummVM.rsc"-"!:\system\apps\ScummVM\ScummVM.rsc"
+
+; Config/log files: 'empty' will automagically be removed on uninstall
+""-"!:\system\apps\ScummVM\scummvm.ini",FILENULL
+""-"!:\system\apps\ScummVM\scummvm.stdout.txt",FILENULL
+""-"!:\system\apps\ScummVM\scummvm.stderr.txt",FILENULL
+""-"!:\system\apps\ScummVM\sdl.ini",FILENULL
+
+; This install layout will let you upgrade to newer versions wihout loss of scummvm.ini.
+; It will remove the config file, std***.txt files & dirs on uninstall.
+
+; add extra Vibration lib for P800, will be ignored during all other installs
+IF MachineUID = 0x101F408B
+@"Vibration.sis", (0x101F94A3)
+ENDIF \ No newline at end of file