aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorLars Persson2005-06-21 22:08:21 +0000
committerLars Persson2005-06-21 22:08:21 +0000
commit1c69696a9a8878971c4fa925b074498dab757857 (patch)
treed8f4f2cfea1a3e01bb7f5f5c58fb812d8029ca96 /gui
parent4564f0d3bf0d40f5a2ca125df0682969adc8431c (diff)
downloadscummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.gz
scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.bz2
scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.zip
Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
Diffstat (limited to 'gui')
-rw-r--r--gui/console.cpp2
-rw-r--r--gui/credits.h6
-rw-r--r--gui/newgui.cpp5
3 files changed, 13 insertions, 0 deletions
diff --git a/gui/console.cpp b/gui/console.cpp
index 03163fb7ca..34dd303a31 100644
--- a/gui/console.cpp
+++ b/gui/console.cpp
@@ -542,6 +542,8 @@ int ConsoleDialog::vprintf(const char *format, va_list argptr) {
#if defined(WIN32)
int count = _vsnprintf(buf, sizeof(buf), format, argptr);
+#elif defined(__SYMBIAN32__)
+ int count = vsprintf(buf, format, argptr);
#else
int count = vsnprintf(buf, sizeof(buf), format, argptr);
#endif
diff --git a/gui/credits.h b/gui/credits.h
index 305b589dfa..51e7a17726 100644
--- a/gui/credits.h
+++ b/gui/credits.h
@@ -40,6 +40,8 @@ static const char *credits[] = {
"\\L\\c2"" MT-32 emulator",
"\\L\\c0"" Jochen Hoenicke",
"\\L\\c2"" Speaker & PCjr sound support, Adlib work",
+"\\L\\c0"" Jurgen Braam",
+"\\L\\c2"" Port: EPOC/SymbianOS maintainer",
"\\L\\c0""",
"\\C\\c1""Retired Team Members:",
"\\L\\c0"" Ralph Brorsen",
@@ -105,6 +107,10 @@ static const char *credits[] = {
"\\L\\c2"" SDL-based OpenGL renderer",
"\\L\\c0"" Tim ???",
"\\L\\c2"" Initial MI1 CD music support",
+"\\L\\c0"" Andreas Karlsson",
+"\\L\\c2"" Port: EPOC/SymbianOS, ESDL",
+"\\L\\c0"" Lars Persson",
+"\\L\\c2"" Port: EPOC/SymbianOS, Audio System, Alignment fixes, ESDL",
"\\L\\c0""",
"\\L\\c0""And to all the contributors, users, and beta testers we've missed. Thanks!",
"\\L\\c0""",
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index fcaa45c819..5b8ab36ffc 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -48,6 +48,11 @@ enum {
kKeyRepeatSustainDelay = 100
};
+#if defined(__SYMBIAN32__) // Testing: could be removed? Just making sure that an CVS update doesn't break my code :P
+#define USE_AUTO_SCALING false
+#else
+#define USE_AUTO_SCALING false
+#endif
// Constructor
NewGui::NewGui() : _needRedraw(false),