aboutsummaryrefslogtreecommitdiff
path: root/backends/epoc/SymbianActions.cpp
diff options
context:
space:
mode:
authorLars Persson2005-09-30 11:57:37 +0000
committerLars Persson2005-09-30 11:57:37 +0000
commit09c3f9862d57a216f4fa25fbe47447ce10638e82 (patch)
tree0d78f3636e559b5e7ea0b2b1781e9fd3d54ec7ae /backends/epoc/SymbianActions.cpp
parent2cb741281f104e8781e172c3b2f75d1f88008797 (diff)
downloadscummvm-rg350-09c3f9862d57a216f4fa25fbe47447ce10638e82.tar.gz
scummvm-rg350-09c3f9862d57a216f4fa25fbe47447ce10638e82.tar.bz2
scummvm-rg350-09c3f9862d57a216f4fa25fbe47447ce10638e82.zip
Updated symbian actions and build scripts. Run updateMMPs to updated all MMPS based on the base mmp
svn-id: r18904
Diffstat (limited to 'backends/epoc/SymbianActions.cpp')
-rw-r--r--backends/epoc/SymbianActions.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/backends/epoc/SymbianActions.cpp b/backends/epoc/SymbianActions.cpp
index 2d347f0c5b..5c76dc9da2 100644
--- a/backends/epoc/SymbianActions.cpp
+++ b/backends/epoc/SymbianActions.cpp
@@ -35,10 +35,10 @@ namespace GUI {
// SumthinWicked says: we either split our Actions like WinCE did with Pocket/Smartphone
// or we put them in this file separated by #ifdefs, this one is up to you, AnotherGuest :)
-
-const Common::String actionNames[] = {
- "Up",
- "Down",
+
+const Common::String actionNames[] = {
+ "Up",
+ "Down",
"Left",
"Right",
"Left Click",
@@ -48,8 +48,8 @@ const Common::String actionNames[] = {
"Zone",
"FT Cheat",
"Swap character",
- "Skip text",
- "Pause",
+ "Skip text",
+ "Pause",
"Quit"
};
@@ -58,7 +58,7 @@ static const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, 0x11a, 0x11b, SDLK
#elif defined (S60)
const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, 0, 0, '*', '#', '0',0,0,0,0,0};
#else
-const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, 0x11a, 0x11b, SDLK_MENU, VK_ESCAPE, '9', 0,0,0,0};
+const int ACTIONS_DEFAULT[ACTION_LAST] = { 0, 0, 0, 0, 0x11a, 0x11b, SDLK_MENU, SDLK_ESCAPE, 0, 0,0,0,0,0};
#endif
// creator function according to Factory Pattern
void SymbianActions::init(GameDetector &detector) {
@@ -96,7 +96,7 @@ SymbianActions::SymbianActions(GameDetector &detector) :
void SymbianActions::initInstanceMain(OSystem *mainSystem) {
Actions::initInstanceMain(mainSystem);
-
+
// Mouse Up
_action_enabled[ACTION_UP] = true;
@@ -125,7 +125,7 @@ void SymbianActions::initInstanceGame() {
bool is_sky = (_detector->_targetName == "sky");
bool is_queen = (_detector->_targetName == "queen");
bool is_gob = (strncmp(_detector->_targetName.c_str(), "gob", 3) == 0);
-
+
Actions::initInstanceGame();
// See if a right click mapping could be needed
@@ -134,7 +134,7 @@ void SymbianActions::initInstanceGame() {
// Initialize keys for different actions
// Save
- if (is_simon || is_gob)
+ if (is_simon || is_gob)
_action_enabled[ACTION_SAVE] = false;
else
if (is_queen) {
@@ -144,7 +144,7 @@ void SymbianActions::initInstanceGame() {
else
if (is_sky) {
_action_enabled[ACTION_SAVE] = true;
- _key_action[ACTION_SAVE].setAscii(63);
+ _key_action[ACTION_SAVE].setAscii(63);
}
else {
_action_enabled[ACTION_SAVE] = true;