aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian
diff options
context:
space:
mode:
authorLars Persson2007-11-24 11:39:23 +0000
committerLars Persson2007-11-24 11:39:23 +0000
commit1a353d743037f4d36bac9b2197674dbb5147239a (patch)
tree49558697cf3e662ffb1575db99074b1aac2d9e8a /backends/platform/symbian
parenta4bbdd229256b4206828b2e1572e5eac4a6ac14f (diff)
downloadscummvm-rg350-1a353d743037f4d36bac9b2197674dbb5147239a.tar.gz
scummvm-rg350-1a353d743037f4d36bac9b2197674dbb5147239a.tar.bz2
scummvm-rg350-1a353d743037f4d36bac9b2197674dbb5147239a.zip
Support for IGOR in the build system.
svn-id: r29624
Diffstat (limited to 'backends/platform/symbian')
-rw-r--r--backends/platform/symbian/AdaptAllMMPs.pl2
-rw-r--r--backends/platform/symbian/BuildPackageUpload_LocalSettings.pl105
-rw-r--r--backends/platform/symbian/mmp/scummvm_igor.mmp.in55
-rw-r--r--backends/platform/symbian/src/SymbianActions.cpp2
4 files changed, 154 insertions, 10 deletions
diff --git a/backends/platform/symbian/AdaptAllMMPs.pl b/backends/platform/symbian/AdaptAllMMPs.pl
index 7e78ce9e41..b9640e61c1 100644
--- a/backends/platform/symbian/AdaptAllMMPs.pl
+++ b/backends/platform/symbian/AdaptAllMMPs.pl
@@ -22,6 +22,7 @@ chdir("../../../");
"mmp/scummvm_parallaction.mmp",
"mmp/scummvm_cruise.mmp",
"mmp/scummvm_drascula.mmp",
+ "mmp/scummvm_igor.mmp",
"S60/ScummVM_S60.mmp",
"S60v3/ScummVM_S60v3.mmp",
"S80/ScummVM_S80.mmp",
@@ -99,6 +100,7 @@ ParseModule("_touche", "touche", \@section_empty);
ParseModule("_parallaction","parallaction",\@section_empty);
ParseModule("_cruise", "cruise", \@section_empty);
ParseModule("_drascula","drascula", \@section_empty);
+ParseModule("_igor", "igor", \@section_empty);
print "
=======================================================================================
Done. Enjoy :P
diff --git a/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl b/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl
index 30d5bd25d8..4a632d30ef 100644
--- a/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl
+++ b/backends/platform/symbian/BuildPackageUpload_LocalSettings.pl
@@ -13,6 +13,8 @@
MACRO DISABLE_SWORD2 // LIB:scummvm_sword2.lib
MACRO DISABLE_PARALLACTION // LIB:scummvm_parallaction.lib
MACRO DISABLE_TOUCHE // LIB:scummvm_touche.lib
+ MACRO DISABLE_DRASCULA // LIB:scummvm_drascula.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
";
##
@@ -20,20 +22,25 @@
##
# this way you can use the same LocalSettings.pl file on multiple machines!
- if ($ENV{'COMPUTERNAME'} eq "MYCOMPUTER")
+ if ($ENV{'COMPUTERNAME'} eq "BRAAMBOOK")
{
# might use this string for file/dir naming in the future :)
- $Producer = "BUILDERNAME";
+ $Producer = "SumthinWicked";
$RedirectSTDERR = 0;
$HaltOnError = 1;
$SkipExistingPackages = 0;
$ReallyQuiet = 0;
# specify an optional FTP server to upload to after each Build+Package (can leave empty)
- #$FTP_Host = "ftp.myftp.net";
- #$FTP_User = "user";
- #$FTP_Pass = "pass";
- #$FTP_Dir = "directory";
+ #$FTP_Host = "wicked.student.utwente.nl";
+ #$FTP_User = "upload";
+ #$FTP_Pass = "upload";
+ #$FTP_Dir = "test_Wicked";
+
+ #$FTP_Host = "anotherguest.k0.se";
+ $FTP_User = "ag";
+ $FTP_Pass = "uiq05";
+ $FTP_Dir = "cvsbuilds";
# possible SDKs: ("UIQ2", UIQ3", "S60v1", "S60v2", "S60v3", "S80", "S90")
# Note1: the \epoc32 directory needs to be in these rootdirs
@@ -66,9 +73,74 @@
#m Files\WinSCP3\;"C:\Program Files\Common Files\Microsoft Shared\VSA\8.0\VsaEnv\";"c:\Program Files\Microsoft Visual Stu
#dio 8\VC\bin";"C:\Program Files\UltraEdit-32"
}
- elsif ($ENV{'COMPUTERNAME'} eq "OTHERCOMPUTER")
+ elsif ($ENV{'COMPUTERNAME'} eq "TSSLND0106")
{
-#see previous section
+ $Producer = "AnotherGuest";
+ $RedirectSTDERR = 1;
+ $HaltOnError = 0;
+ $SkipExistingPackages = 0;
+ $ReallyQuiet = 0;
+
+ #$FTP_Host = "anotherguest.k0.se";
+ #$FTP_User = "ag@anotherguest.k0.se";
+ #$FTP_Pass = "uiq05";
+ #$FTP_Dir = "cvsbuilds";
+
+ #$SDK_RootDirs{'UIQ2'}= "C:\\UIQ2";
+ $SDK_RootDirs{'UIQ3'}= "C:\\UIQ3";
+ #$SDK_RootDirs{'S60v1'}= "C:\\S60v1";
+ $SDK_RootDirs{'S60v2'}= "C:\\S60v2";
+ $SDK_RootDirs{'S60v3'}= "C:\\S60v3";
+ #$SDK_RootDirs{'S80'}= "C:\\S80";
+ #$SDK_RootDirs{'S90'}= "C:\\S90";
+ $ECompXL_BinDir= "C:\\ECompXL\\";
+if (0) # so we can turn them on/off easily
+ {
+# $SDK_LibraryDirs{'ALL'}{'zlib.lib'} = "C:\\S\\zlib-1.2.2\\epoc";
+# $SDK_LibraryDirs{'ALL'}{'libmad.lib'} = "C:\\S\\libmad-0.15.1b\\group";
+ $SDK_LibraryDirs{'ALL'}{'libtremor.lib'}= "C:\\tremor\\epoc";
+# $SDK_LibraryDirs{'UIQ2'}{'esdl.lib'} = $SDK_LibraryDirs{'UIQ3'}{'esdl.lib'} = "C:\\S\\ESDL\\epoc\\UIQ";
+# $SDK_LibraryDirs{'S60v1'}{'esdl.lib'} = $SDK_LibraryDirs{'S60v2'}{'esdl.lib'} = $SDK_LibraryDirs{'S60v3'}{'esdl.lib'} = "C:\\S\\ESDL\\epoc\\S60";
+# $SDK_LibraryDirs{'S80'}{'esdl.lib'} = "C:\\S\\ESDL\\epoc\\S80";
+# $SDK_LibraryDirs{'S90'}{'esdl.lib'} = "C:\\S\\ESDL\\epoc\\S90";
+ #$SDK_LibraryDirs{'ALL'}{'libmpeg2.lib'} = "C:\\S\\mpeg2dec-0.4.0\\epoc";
+ }
+ # now you can add $SDK_Variations only built on this PC here :)
+ }
+elsif ($ENV{'COMPUTERNAME'} eq "BIGMACHINE")
+ {
+ $Producer = "AnotherGuest";
+ $RedirectSTDERR = 1;
+ $HaltOnError = 0;
+ $SkipExistingPackages = 1;
+ $ReallyQuiet = 1;
+
+ #$FTP_Host = "anotherguest.k0.se";
+ #$FTP_User = "ag@anotherguest.k0.se";
+ #$FTP_Pass = "uiq05";
+ #$FTP_Dir = "cvsbuilds";
+
+ #$SDK_RootDirs{'UIQ2'}= "E:\\UIQ2";
+ $SDK_RootDirs{'UIQ3'}= "E:\\UIQ3";
+ #$SDK_RootDirs{'S60v1'}= "E:\\S60v1";
+ #$SDK_RootDirs{'S60v2'}= "E:\\S60v2";
+ $SDK_RootDirs{'S60v3'}= "E:\\S60v3";
+ #$SDK_RootDirs{'S80'}= "E:\\S80";
+ #$SDK_RootDirs{'S90'}= "E:\\S90";
+ $ECompXL_BinDir= "E:\\ECompXL\\";
+if (0) # so we can turn them on/off easily
+ {
+# $SDK_LibraryDirs{'ALL'}{'zlib.lib'} = "C:\\S\\zlib-1.2.2\\epoc";
+# $SDK_LibraryDirs{'ALL'}{'libmad.lib'} = "C:\\S\\libmad-0.15.1b\\group";
+# $SDK_LibraryDirs{'ALL'}{'libtremor.lib'}= "C:\\tremor\\epoc";
+ $SDK_LibraryDirs{'UIQ2'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\UIQ";
+ $SDK_LibraryDirs{'S60v1'}{'esdl.lib'} = $SDK_LibraryDirs{'S60v2'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\S60";
+ $SDK_LibraryDirs{'S80'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\S80";
+ $SDK_LibraryDirs{'S90'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\S90";
+ $SDK_LibraryDirs{'S60v3'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\S60\\S60V3";
+ $SDK_LibraryDirs{'UIQ3'}{'esdl.lib'} = "E:\\WICKED\\ESDL\\epoc\\UIQ\\UIQ3";
+ #$SDK_LibraryDirs{'ALL'}{'libmpeg2.lib'} = "C:\\S\\mpeg2dec-0.4.0\\epoc";
+ }
# now you can add $SDK_Variations only built on this PC here :)
}
else
@@ -128,6 +200,8 @@ if (1) # all regular combo's
//MACRO DISABLE_CINE // LIB:scummvm_cine.lib
//MACRO DISABLE_LURE // LIB:scummvm_lure.lib
//MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ //MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
+
$DefaultBottomMacros";
# now one for each ready-for-release engine
@@ -144,6 +218,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'agos'} = "$DefaultTopMacros
@@ -158,6 +233,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'sky'} = "$DefaultTopMacros
@@ -172,6 +248,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'queen'} = "$DefaultTopMacros
@@ -186,6 +263,7 @@ if (1) # all regular combo's
MACRO DISABLE_LURE // LIB:scummvm_lure.lib
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'gob'} = "$DefaultTopMacros
@@ -200,6 +278,7 @@ if (1) # all regular combo's
MACRO DISABLE_LURE // LIB:scummvm_lure.lib
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'saga'} = "$DefaultTopMacros
@@ -214,6 +293,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'kyra'} = "$DefaultTopMacros
@@ -228,6 +308,7 @@ if (1) # all regular combo's
MACRO DISABLE_LURE // LIB:scummvm_lure.lib
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
# below here you could specify weird & experimental combinations, non-ready engines
@@ -247,6 +328,7 @@ if (1) # all regular combo's
MACRO DISABLE_LURE // LIB:scummvm_lure.lib
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
# $SDK_Variations{'ALL'}{'scumm_no78he'} = "
@@ -294,6 +376,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_agi.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
# empty $SDK_Variations{''} string instead of 'ALL' = package disabled
@@ -309,6 +392,7 @@ if (1) # all regular combo's
//MACRO DISABLE_CINE // LIB:scummvm_cine.lib
MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
$SDK_Variations{'ALL'}{'test_agi'} = "$DefaultTopMacros
@@ -323,6 +407,7 @@ if (1) # all regular combo's
MACRO DISABLE_CINE // LIB:scummvm_cine.lib
//MACRO DISABLE_AGI // LIB:scummvm_agi.lib
MACRO DISABLE_CRUISE // LIB:scummvm_cruise.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
$DefaultBottomMacros";
@@ -341,7 +426,9 @@ if (1) # all regular combo's
//MACRO DISABLE_TOUCHE // LIB:scummvm_touche.lib
MACRO DISABLE_SWORD1 // LIB:scummvm_sword1.lib
MACRO DISABLE_SWORD2 // LIB:scummvm_sword2.lib
- MACRO DISABLE_PARALLACTION // LIB:scummvm_parallaction.lib
+ MACRO DISABLE_PARALLACTION // LIB:scummvm_parallaction.lib
+ MACRO DISABLE_DRASCULA // LIB:scummvm_drascula.lib
+ MACRO DISABLE_IGOR // LIB:scummvm_igor.lib
";
}
diff --git a/backends/platform/symbian/mmp/scummvm_igor.mmp.in b/backends/platform/symbian/mmp/scummvm_igor.mmp.in
new file mode 100644
index 0000000000..8ae3d400df
--- /dev/null
+++ b/backends/platform/symbian/mmp/scummvm_igor.mmp.in
@@ -0,0 +1,55 @@
+/* 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-2007 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_igor.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
+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\igor
+
+//START_AUTO_OBJECTS_IGOR_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_IGOR_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\..\engines
+USERINCLUDE ..\..\..\.. ..\..\..\..\common ..\..\..\..\gui ..\..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/platform/symbian/src/SymbianActions.cpp b/backends/platform/symbian/src/SymbianActions.cpp
index 4d554db26c..eed706abb5 100644
--- a/backends/platform/symbian/src/SymbianActions.cpp
+++ b/backends/platform/symbian/src/SymbianActions.cpp
@@ -56,7 +56,7 @@ const Common::String actionNames[] = {
};
#ifdef UIQ
-static const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, SDLK_F1, SDLK_F2, SDLK_F5, SDLK_PAGEDOWN, '9', 0, 0, SDLK_PAGEUP, 0, 0, 0, 0};
+static const int ACTIONS_DEFAULT[ACTION_LAST] = { SDLK_UP, SDLK_DOWN, SDLK_LEFT, SDLK_RIGHT, SDLK_F1, SDLK_F2, SDLK_F5, SDLK_PAGEDOWN, '9', 0, 0, SDLK_PAGEUP, 0, 0, 0, 0};
#elif defined (S60)
const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, 0, 0, '*', '#', '9', 0, 0, 0, 0, 0, 0, 0};
#elif defined (S90)