[Scummvm-cvs-logs] SF.net SVN: scummvm:[50964] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Jul 17 20:41:39 CEST 2010


Revision: 50964
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50964&view=rev
Author:   fingolfin
Date:     2010-07-17 18:41:38 +0000 (Sat, 17 Jul 2010)

Log Message:
-----------
Remove PalmOS port

Modified Paths:
--------------
    scummvm/trunk/AUTHORS
    scummvm/trunk/NEWS
    scummvm/trunk/README
    scummvm/trunk/backends/events/default/default-events.cpp
    scummvm/trunk/backends/module.mk
    scummvm/trunk/base/commandLine.cpp
    scummvm/trunk/base/plugins.cpp
    scummvm/trunk/common/hashmap.h
    scummvm/trunk/common/scummsys.h
    scummvm/trunk/common/textconsole.cpp
    scummvm/trunk/engines/cruise/cruise.cpp
    scummvm/trunk/engines/cruise/vars.cpp
    scummvm/trunk/engines/cruise/vars.h
    scummvm/trunk/engines/queen/resource.cpp
    scummvm/trunk/engines/sword1/memman.h
    scummvm/trunk/engines/sword2/resman.h
    scummvm/trunk/graphics/video/mpeg_player.h
    scummvm/trunk/gui/ListWidget.cpp
    scummvm/trunk/gui/console.cpp
    scummvm/trunk/gui/credits.h
    scummvm/trunk/sound/rate_arm_asm.s
    scummvm/trunk/sound/softsynth/opl/mame.cpp
    scummvm/trunk/tools/convbdf.c
    scummvm/trunk/tools/credits.pl

Removed Paths:
-------------
    scummvm/trunk/backends/fs/palmos/palmos-fs-factory.cpp
    scummvm/trunk/backends/fs/palmos/palmos-fs-factory.h
    scummvm/trunk/backends/fs/palmos/palmos-fs.cpp
    scummvm/trunk/backends/midi/ypa1.cpp
    scummvm/trunk/backends/midi/zodiac.cpp
    scummvm/trunk/backends/platform/PalmOS/Rsc/Resource.Frk/Starter.rsrc
    scummvm/trunk/backends/platform/PalmOS/Rsc/Starter.rsrc
    scummvm/trunk/backends/platform/PalmOS/Rsc/StarterRsc.h
    scummvm/trunk/backends/platform/PalmOS/Rsc/batLow.bmp
    scummvm/trunk/backends/platform/PalmOS/Rsc/keyAlt.bmp
    scummvm/trunk/backends/platform/PalmOS/Rsc/keyCommand.bmp
    scummvm/trunk/backends/platform/PalmOS/Rsc/keyCtrl.bmp
    scummvm/trunk/backends/platform/PalmOS/Rsc/modules.rcp
    scummvm/trunk/backends/platform/PalmOS/Rsc/modulesrsc.h
    scummvm/trunk/backends/platform/PalmOS/Rsc/numpad.bmp
    scummvm/trunk/backends/platform/PalmOS/Src/args.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/args.h
    scummvm/trunk/backends/platform/PalmOS/Src/base_event.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/base_gfx.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/base_mouse.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_68k.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_68k.h
    scummvm/trunk/backends/platform/PalmOS/Src/be_base.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_base.h
    scummvm/trunk/backends/platform/PalmOS/Src/be_os5.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_os5.h
    scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.h
    scummvm/trunk/backends/platform/PalmOS/Src/be_zodiac.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/be_zodiac.h
    scummvm/trunk/backends/platform/PalmOS/Src/cd_aeroplayer.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/cd_aeroplayer.h
    scummvm/trunk/backends/platform/PalmOS/Src/cd_default.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/cd_default.h
    scummvm/trunk/backends/platform/PalmOS/Src/cd_msa.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/cd_msa.h
    scummvm/trunk/backends/platform/PalmOS/Src/cd_pockettunes.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/cd_pockettunes.h
    scummvm/trunk/backends/platform/PalmOS/Src/cdaudio.h
    scummvm/trunk/backends/platform/PalmOS/Src/extend.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/features.h
    scummvm/trunk/backends/platform/PalmOS/Src/globals.h
    scummvm/trunk/backends/platform/PalmOS/Src/i_zodiac.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/i_zodiac.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_golcd.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_golcd.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_mathlib.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_mathlib.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_pa1lib.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_pa1lib.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_palmos.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_palmos.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_sony.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_sony.h
    scummvm/trunk/backends/platform/PalmOS/Src/init_stuffs.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/init_stuffs.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/app.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formCards.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formCards.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formEditGame.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formEditGame.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formMisc.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formSelect.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formSkins.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formUtil.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formUtil.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/forminfo.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formmain.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formmusic.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/forms.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formtabs.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/forms/formtabs.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/games.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/launch.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/skin.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/skin.h
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/start.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/launcher/start.h
    scummvm/trunk/backends/platform/PalmOS/Src/modules.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/modules.h
    scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/native/oscalls.h
    scummvm/trunk/backends/platform/PalmOS/Src/native/pace.h
    scummvm/trunk/backends/platform/PalmOS/Src/native/pnoARM.c
    scummvm/trunk/backends/platform/PalmOS/Src/native/pnoStartup.c
    scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacARM.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/native/zodiacStartup.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_event.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_gfx.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_mouse.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_overlay.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_renderer.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5_sound.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/os5ex_sound.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/palmdefs.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/compile.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_agi.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_agos.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_cine.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_common.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_cruise.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_drascula.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_gob.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_kyra.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_lure.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_m4.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_made.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_parallaction.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_queen.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_saga.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_scumm.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_sky.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_sword1.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_sword2.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/native_touche.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/prefix_frontend.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/prefix_os5.h
    scummvm/trunk/backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h
    scummvm/trunk/backends/platform/PalmOS/Src/rumble.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/rumble.h
    scummvm/trunk/backends/platform/PalmOS/Src/snd_pa1.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/stuffs.h
    scummvm/trunk/backends/platform/PalmOS/Src/vibrate.h
    scummvm/trunk/backends/platform/PalmOS/Src/zodiac_event.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/zodiac_gfx.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/zodiac_mouse.cpp
    scummvm/trunk/backends/platform/PalmOS/Src/zodiac_overlay.cpp
    scummvm/trunk/backends/platform/PalmOS/arm.bat
    scummvm/trunk/backends/platform/PalmOS/scummvm.mcp

Modified: scummvm/trunk/AUTHORS
===================================================================
--- scummvm/trunk/AUTHORS	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/AUTHORS	2010-07-17 18:41:38 UTC (rev 50964)
@@ -190,9 +190,6 @@
     Nintendo DS:
        Neil Millstone
 
-    PalmOS:
-       Chris Apers
-
     PocketPC / WinCE:
        Nicolas Bacca         - (retired)
        Kostas Nakos
@@ -256,6 +253,7 @@
 
   Retired Team Members
   --------------------
+     Chris Apers           - Former PalmOS porter
      Ralph Brorsen         - Help with GUI implementation
      Jamieson Christian    - iMUSE, MIDI, all things musical
      Felix Jakschitsch     - Zak256 reverse engineering

Modified: scummvm/trunk/NEWS
===================================================================
--- scummvm/trunk/NEWS	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/NEWS	2010-07-17 18:41:38 UTC (rev 50964)
@@ -6,6 +6,7 @@
    - Added Android port.
 
  General:
+   - Removed the outdated PalmOS port.
    - Switched to the "fast" DOSBox OPL emulator.
    - Fixed a crash in the rjp1 player code affecting the FOTAQ Amiga version.
    - Added support for more original media layouts.

Modified: scummvm/trunk/README
===================================================================
--- scummvm/trunk/README	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/README	2010-07-17 18:41:38 UTC (rev 50964)
@@ -859,17 +859,13 @@
         Nintendo DS
         Nintendo Wii
         OS/2
-        PalmOS
         PlayStation 2
         PlayStation Portable
         Symbian
 
 The Dreamcast port does not support The Curse of Monkey Island, nor The
-Dig. The PalmOS port does not support The Curse of Monkey Island,
-Beneath a Steel Sky, nor either Simon the Sorcerer 1 or 2. The Dig will
-only work on some Palm devices (those with a large dynamic heap). The
-Nintendo DS port does not support Full Throttle, The Dig, or The Curse
-of Monkey Island.
+Dig. The Nintendo DS port does not support Full Throttle, The Dig, or
+The Curse of Monkey Island.
 For more platform specific limitations, please refer to our Wiki:
   http://wiki.scummvm.org/index.php/Platforms
 

Modified: scummvm/trunk/backends/events/default/default-events.cpp
===================================================================
--- scummvm/trunk/backends/events/default/default-events.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/events/default/default-events.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -95,13 +95,11 @@
 		case Common::EVENT_KEYDOWN:
 			_modifierState = event.kbd.flags;
 			// init continuous event stream
-			// not done on PalmOS because keyboard is emulated and keyup is not generated
-#if !defined(PALMOS_MODE)
 			_currentKeyDown.ascii = event.kbd.ascii;
 			_currentKeyDown.keycode = event.kbd.keycode;
 			_currentKeyDown.flags = event.kbd.flags;
 			_keyRepeatTime = time + kKeyRepeatInitialDelay;
-#endif
+
 			// Global Main Menu
 			if (event.kbd.hasFlags(Common::KBD_CTRL) && event.kbd.keycode == Common::KEYCODE_F5) {
 				if (g_engine && !g_engine->isPaused()) {

Deleted: scummvm/trunk/backends/fs/palmos/palmos-fs-factory.cpp
===================================================================
--- scummvm/trunk/backends/fs/palmos/palmos-fs-factory.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/fs/palmos/palmos-fs-factory.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,42 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- */
-
-#if defined(PALMOS_MODE)
-#include "backends/fs/palmos/palmos-fs-factory.h"
-#include "backends/fs/palmos/palmos-fs.cpp"
-
-DECLARE_SINGLETON(PalmOSFilesystemFactory)
-
-AbstractFSNode *PalmOSFilesystemFactory::makeRootFileNode() const {
-	return new PalmOSFilesystemNode();
-}
-
-AbstractFSNode *PalmOSFilesystemFactory::makeCurrentDirectoryFileNode() const {
-	return new PalmOSFilesystemNode();
-}
-
-AbstractFSNode *PalmOSFilesystemFactory::makeFileNodePath(const Common::String &path) const {
-	return new PalmOSFilesystemNode(path);
-}
-#endif

Deleted: scummvm/trunk/backends/fs/palmos/palmos-fs-factory.h
===================================================================
--- scummvm/trunk/backends/fs/palmos/palmos-fs-factory.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/fs/palmos/palmos-fs-factory.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,49 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- */
-
-#ifndef PALMOS_FILESYSTEM_FACTORY_H
-#define PALMOS_FILESYSTEM_FACTORY_H
-
-#include "common/singleton.h"
-#include "backends/fs/fs-factory.h"
-
-/**
- * Creates PalmOSFilesystemNode objects.
- *
- * Parts of this class are documented in the base interface class, FilesystemFactory.
- */
-class PalmOSFilesystemFactory : public FilesystemFactory, public Common::Singleton<PalmOSFilesystemFactory> {
-public:
-	virtual AbstractFSNode *makeRootFileNode() const;
-	virtual AbstractFSNode *makeCurrentDirectoryFileNode() const;
-	virtual AbstractFSNode *makeFileNodePath(const Common::String &path) const;
-
-protected:
-	PalmOSFilesystemFactory() {};
-
-private:
-	friend class Common::Singleton<SingletonBaseType>;
-};
-
-#endif /*PALMOS_FILESYSTEM_FACTORY_H*/

Deleted: scummvm/trunk/backends/fs/palmos/palmos-fs.cpp
===================================================================
--- scummvm/trunk/backends/fs/palmos/palmos-fs.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/fs/palmos/palmos-fs.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,212 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- */
-
-#if defined(PALMOS_MODE)
-
-#include "PalmVersion.h"
-#include "globals.h"
-
-#include "backends/fs/abstract-fs.h"
-#include "backends/fs/stdiostream.h"
-
-/**
- * Implementation of the ScummVM file system API based on PalmOS VFS API.
- *
- * Parts of this class are documented in the base interface class, AbstractFSNode.
- */
-class PalmOSFilesystemNode : public AbstractFSNode {
-protected:
-	Common::String _displayName;
-	Common::String _path;
-	bool _isDirectory;
-	bool _isValid;
-	bool _isPseudoRoot;	// TODO: get rid of this
-
-public:
-	/**
-	 * Creates a PalmOSFilesystemNode with the root node as path.
-	 */
-	PalmOSFilesystemNode();
-
-	/**
-	 * Creates a PalmOSFilesystemNode for a given path.
-	 *
-	 * @param path Common::String with the path the new node should point to.
-	 */
-	PalmOSFilesystemNode(const Common::String &p);
-
-	virtual bool exists() const { return _isValid; }
-	virtual Common::String getDisplayName() const { return _displayName; }
-	virtual Common::String getName() const { return _displayName; }
-	virtual Common::String getPath() const { return _path; }
-	virtual bool isDirectory() const { return _isDirectory; }
-	virtual bool isReadable() const { return true; }	//FIXME: this is just a stub
-	virtual bool isWritable() const { return true; }	//FIXME: this is just a stub
-
-	virtual AbstractFSNode *getChild(const Common::String &n) const;
-	virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const;
-	virtual AbstractFSNode *getParent() const;
-
-	virtual Common::SeekableReadStream *createReadStream();
-	virtual Common::WriteStream *createWriteStream();
-
-private:
-	/**
-	 * Adds a single PalmOSFilesystemNode to a given list.
-	 * This method is used by getChildren() to populate the directory entries list.
-	 *
-	 * @param list List to put the file entry node in.
-	 * @param mode Mode to use while adding the file entry to the list.
-	 * @param base Common::String with the directory being listed.
-	 * @param find_data Describes a file that the FindFirstFile, FindFirstFileEx, or FindNextFile functions find.
-	 */
-	static void addFile(AbstractFSList &list, ListMode mode, const Char *base, FileInfoType* find_data);
-};
-
-void PalmOSFilesystemNode::addFile(AbstractFSList &list, ListMode mode, const char *base, FileInfoType* find_data) {
-	PalmOSFilesystemNode entry;
-	bool isDir;
-
-	isDir = (find_data->attributes & vfsFileAttrDirectory);
-
-	if ((!isDir && mode == Common::FSNode::kListDirectoriesOnly) ||
-		(isDir && mode == Common::FSNode::kListFilesOnly))
-		return;
-
-	entry._isDirectory = isDir;
-	entry._displayName = find_data->nameP;
-	entry._path = base;
-	entry._path += find_data->nameP;
-
-	if (entry._isDirectory)
-		entry._path += "/";
-
-	entry._isValid = true;
-	entry._isPseudoRoot = false;
-
-	list.push_back(new PalmOSFilesystemNode(entry));
-}
-
-PalmOSFilesystemNode::PalmOSFilesystemNode() {
-	_isDirectory = true;
-	_displayName = "Root";
-	_isValid = true;
-	_path = "/";
-	_isPseudoRoot = false;
-}
-
-PalmOSFilesystemNode::PalmOSFilesystemNode(const Common::String &p) {
-	assert(p.size() > 0);
-
-	_path = p;
-	_displayName = lastPathComponent(_path, '/');
-
-	UInt32 attr;
-	FileRef handle;
-	Err error = VFSFileOpen(gVars->VFS.volRefNum, _path.c_str(), vfsModeRead, &handle);
-	if (!error) {
-		error = VFSFileGetAttributes(handle, &attr);
-		VFSFileClose(handle);
-	}
-
-	if (error) {
-		_isValid = false;
-		_isDirectory = false;
-
-	} else {
-		_isValid = true;
-		_isDirectory = (attr & vfsFileAttrDirectory);
-	}
-
-	_isPseudoRoot = false;
-}
-
-AbstractFSNode *PalmOSFilesystemNode::getChild(const Common::String &n) const {
-	// FIXME: Pretty lame implementation! We do no error checking to speak
-	// of, do not check if this is a special node, etc.
-	assert(_isDirectory);
-
-	Common::String newPath(_path);
-	if (_path.lastChar() != '/')
-		newPath += '/';
-	newPath += n;
-
-	return new PalmOSFilesystemNode(newPath);
-}
-
-bool PalmOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, bool hidden) const {
-	assert(_isDirectory);
-
-	//TODO: honor the hidden flag
-
-	Err error;
-	Char nameP[256];
-	FileInfoType desc;
-	FileRef handle;
-	UInt32 dirIterator = expIteratorStart;
-
-	desc.nameP = nameP;
-	desc.nameBufLen = 256;
-
-	error = VFSFileOpen(gVars->VFS.volRefNum, _path.c_str(), vfsModeRead, &handle);
-	if (error)
-		return false;
-
-	while (dirIterator != expIteratorStop) {
-		error = VFSDirEntryEnumerate(handle, &dirIterator, &desc);
-		if (!error)
-			addFile(myList, mode, _path.c_str(), &desc);
-	}
-
-	VFSFileClose(handle);
-	return true;
-}
-
-AbstractFSNode *PalmOSFilesystemNode::getParent() const {
-	PalmOSFilesystemNode *p = 0;
-
-	if (!_isPseudoRoot) {
-		const char *start = _path.c_str();
-		const char *end = lastPathComponent(_path, '/');
-
-		p = new PalmOSFilesystemNode();
-		p->_path = Common::String(start, end - start);
-		p->_isValid = true;
-		p->_isDirectory = true;
-		p->_displayName = lastPathComponent(p->_path, '/');
-		p->_isPseudoRoot =(p->_path == "/");
-	}
-
-	return p;
-}
-
-Common::SeekableReadStream *PalmOSFilesystemNode::createReadStream() {
-	return StdioStream::makeFromPath(getPath().c_str(), false);
-}
-
-Common::WriteStream *PalmOSFilesystemNode::createWriteStream() {
-	return StdioStream::makeFromPath(getPath().c_str(), true);
-}
-
-#endif // PALMOS_MODE

Deleted: scummvm/trunk/backends/midi/ypa1.cpp
===================================================================
--- scummvm/trunk/backends/midi/ypa1.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/midi/ypa1.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,141 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- */
-
-#include "common/util.h"
-#include "sound/musicplugin.h"
-#include "sound/mpu401.h"
-
-#include "Pa1Lib.h"
-
-class MidiDriver_YamahaPa1:public MidiDriver_MPU401 {
-public:
-	MidiDriver_YamahaPa1();
-	int open();
-	void close();
-	void send(uint32 b);
-
-private:
-	UInt8 _midiHandle;
-	Boolean _isOpen;
- };
-
-MidiDriver_YamahaPa1::MidiDriver_YamahaPa1() {
-	_isOpen = false;
-	_midiHandle = 0;
-}
-
-int MidiDriver_YamahaPa1::open() {
-	if (!(_isOpen = Pa1Lib_midiOpen(NULL, &_midiHandle)))
-		return MERR_DEVICE_NOT_AVAILABLE;
-
-	return 0;
-}
-
-void MidiDriver_YamahaPa1::close() {
-	if (_isOpen) {
-		_isOpen = false;
-		MidiDriver_MPU401::close();
-		for (UInt8 channel = 0; channel < 16; channel++) {
-			Pa1Lib_midiControlChange(_midiHandle, channel, 120,0); // all sound off
-			Pa1Lib_midiControlChange(_midiHandle, channel, 121,0); // reset all controller
-			Pa1Lib_midiControlChange(_midiHandle, channel, 123, 0); // all notes off
-		}
-		Pa1Lib_midiClose(_midiHandle);
-	}
-}
-
-void MidiDriver_YamahaPa1::send(uint32 b) {
-	if (!_isOpen)
-		return;
-
-	UInt8 midiCmd[4];
-	UInt8 chanID,mdCmd;
-
-	midiCmd[3] = (b & 0xFF000000) >> 24;
-	midiCmd[2] = (b & 0x00FF0000) >> 16;
-	midiCmd[1] = (b & 0x0000FF00) >> 8;
-	midiCmd[0] = (b & 0x000000FF);
-
-	chanID = (midiCmd[0] & 0x0F) ;
-	mdCmd = midiCmd[0] & 0xF0;
-
-	switch (mdCmd) {
-		case 0x80:	// note off
-			Pa1Lib_midiNoteOff(_midiHandle, chanID, midiCmd[1], 0);
-			break;
-
-		case 0x90:	// note on
-			Pa1Lib_midiNoteOn(_midiHandle, chanID, midiCmd[1], midiCmd[2]);
-			break;
-
-		case 0xB0:	// control change
-			Pa1Lib_midiControlChange(_midiHandle, chanID, midiCmd[1], midiCmd[2]);
-			break;
-
-		case 0xC0:	// progam change
-			Pa1Lib_midiProgramChange(_midiHandle, chanID, midiCmd[1]);
-			break;
-
-		case 0xE0:	// pitchBend
-			Pa1Lib_midiPitchBend(_midiHandle, chanID, (short)(midiCmd[1] | (midiCmd[2] << 8)));
-			break;
-	}
-}
-
-
-// Plugin interface
-
-class YamahaPa1MusicPlugin : public MusicPluginObject {
-public:
-	const char *getName() const {
-		return "Yamaha Pa1";
-	}
-
-	const char *getId() const {
-		return "ypa1";
-	}
-
-	MusicDevices getDevices() const;
-	Common::Error createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle = 0) const;
-};
-
-MusicDevices YamahaPa1MusicPlugin::getDevices() const {
-	MusicDevices devices;
-	// TODO: Return a different music type depending on the configuration
-	// TODO: List the available devices
-	devices.push_back(MusicDevice(this, "", MT_GM));
-	return devices;
-}
-
-Common::Error YamahaPa1MusicPlugin::createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle) const {
-	*mididriver = new MidiDriver_YamahaPa1();
-
-	return Common::kNoError;
-}
-
-//#if PLUGIN_ENABLED_DYNAMIC(YPA1)
-	//REGISTER_PLUGIN_DYNAMIC(YPA1, PLUGIN_TYPE_MUSIC, YamahaPa1MusicPlugin);
-//#else
-	REGISTER_PLUGIN_STATIC(YPA1, PLUGIN_TYPE_MUSIC, YamahaPa1MusicPlugin);
-//#endif

Deleted: scummvm/trunk/backends/midi/zodiac.cpp
===================================================================
--- scummvm/trunk/backends/midi/zodiac.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/midi/zodiac.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,161 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- */
-
-#include "common/util.h"
-#include "sound/musicplugin.h"
-#include "sound/mpu401.h"
-
-#ifndef DISABLE_TAPWAVE
-
-#include <tapwave.h>
-
-
-class MidiDriver_Zodiac:public MidiDriver_MPU401 {
-public:
-	MidiDriver_Zodiac();
-	int open();
-	void close();
-	void send(uint32 b);
-	void sysEx(const byte *msg, uint16 length);
-
-private:
-	TwMidiHandle _midiHandle;
-	Boolean _isOpen;
-	Int32 _oldVol;
- };
-
-MidiDriver_Zodiac::MidiDriver_Zodiac() {
-	_isOpen = false;
-	_midiHandle = 0;
-}
-
-int MidiDriver_Zodiac::open() {
-	Err e;
-
-	if (e = TwMidiOpen(&_midiHandle))
-		return MERR_DEVICE_NOT_AVAILABLE;
-
-	TwMidiGetMasterVolume(&_oldVol);
-	TwMidiSetMasterVolume(twMidiMaxVolume); // TODO : set volume based on gVars
-
-	_isOpen = true;
-	return 0;
-}
-
-void MidiDriver_Zodiac::close() {
-	if (_isOpen) {
-		_isOpen = false;
-		MidiDriver_MPU401::close();
-
-		TwMidiSetMasterVolume(_oldVol);
-		TwMidiClose(_midiHandle);
-	}
-}
-
-void MidiDriver_Zodiac::send(uint32 b) {
-	if (!_isOpen)
-		return;
-
-	UInt8 midiCmd[4];
-	UInt8 chanID,mdCmd;
-
-	midiCmd[3] = (b & 0xFF000000) >> 24;
-	midiCmd[2] = (b & 0x00FF0000) >> 16;
-	midiCmd[1] = (b & 0x0000FF00) >> 8;
-	midiCmd[0] = (b & 0x000000FF);
-
-	chanID = (midiCmd[0] & 0x0F) ;
-	mdCmd = midiCmd[0] & 0xF0;
-
-	switch (mdCmd) {
-		case 0x80:	// note off
-			TwMidiNoteOff(_midiHandle, chanID, midiCmd[1], 0);
-			break;
-
-		case 0x90:	// note on
-			TwMidiNoteOn(_midiHandle, chanID, midiCmd[1], midiCmd[2]);
-			break;
-
-		case 0xB0:	// control change
-			TwMidiControlChange(_midiHandle, chanID, midiCmd[1], midiCmd[2]);
-			break;
-
-		case 0xC0:	// progam change
-			TwMidiProgramChange(_midiHandle, chanID, midiCmd[1]);
-			break;
-
-		case 0xE0:	// pitchBend
-			TwMidiPitchBend(_midiHandle, chanID, (short)(midiCmd[1] | (midiCmd[2] << 8)));
-			break;
-	}
-}
-
-void MidiDriver_Zodiac::sysEx(const byte *msg, uint16 length) {
-	unsigned char buf[266];
-
-	buf[0] = 0xF0;
-	memcpy(buf + 1, msg, length);
-	buf[length + 1] = 0xF7;
-
-	TwMidiSysEx(_midiHandle, 0, (byte *)buf, length + 2);
-}
-
-
-// Plugin interface
-
-class ZodiacMusicPlugin : public MusicPluginObject {
-public:
-	const char *getName() const {
-		return "Tapwave Zodiac";
-	}
-
-	const char *getId() const {
-		return "zodiac";
-	}
-
-	MusicDevices getDevices() const;
-	Common::Error createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle = 0) const;
-};
-
-MusicDevices ZodiacMusicPlugin::getDevices() const {
-	MusicDevices devices;
-	// TODO: Return a different music type depending on the configuration
-	// TODO: List the available devices
-	devices.push_back(MusicDevice(this, "", MT_GM));
-	return devices;
-}
-
-Common::Error ZodiacMusicPlugin::createInstance(MidiDriver **mididriver, MidiDriver::DeviceHandle) const {
-	*mididriver = new MidiDriver_Zodiac();
-
-	return Common::kNoError;
-}
-
-//#if PLUGIN_ENABLED_DYNAMIC(ZODIAC)
-	//REGISTER_PLUGIN_DYNAMIC(ZODIAC, PLUGIN_TYPE_MUSIC, ZodiacMusicPlugin);
-//#else
-	REGISTER_PLUGIN_STATIC(ZODIAC, PLUGIN_TYPE_MUSIC, ZodiacMusicPlugin);
-//#endif
-
-#endif

Modified: scummvm/trunk/backends/module.mk
===================================================================
--- scummvm/trunk/backends/module.mk	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/module.mk	2010-07-17 18:41:38 UTC (rev 50964)
@@ -7,7 +7,6 @@
 	fs/stdiostream.o \
 	fs/amigaos4/amigaos4-fs-factory.o \
 	fs/ds/ds-fs-factory.o \
-	fs/palmos/palmos-fs-factory.o \
 	fs/posix/posix-fs-factory.o \
 	fs/ps2/ps2-fs-factory.o \
 	fs/psp/psp-fs-factory.o \

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/Resource.Frk/Starter.rsrc
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/Starter.rsrc
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/StarterRsc.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Rsc/StarterRsc.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Rsc/StarterRsc.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,395 +0,0 @@
-#ifndef STARTERRSC_H
-#define STARTERRSC_H
-
-//	Header generated by Constructor for Palm OS (R) 1.9.1
-//
-//	Generated at 12:00:06  on samedi 25 ao\xFBt 2007
-//
-//	Generated for file: Starter.rsrc
-//
-//	THIS IS AN AUTOMATICALLY GENERATED HEADER FILE
-//	DO NOT EDIT - CHANGES MADE TO THIS FILE WILL BE LOST
-//
-//	Palm App Name:			"ScummVM"
-//
-//	Palm App Version:		"1.0"
-
-
-//	Resource: tFRM 1000
-#define MainForm                                  1000	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 160, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 1000, Default Button ID = 0)
-#define MainCardsButton                           1003	//(Left Origin = 135, Top Origin = 1, Width = 12, Height = 12, Usable = 1, Anchor Left = 1, Frame = 0, Non-bold Frame = 0, Font = Standard)
-#define MainAboutButton                           1012	//(Left Origin = 148, Top Origin = 1, Width = 12, Height = 12, Usable = 1, Anchor Left = 1, Frame = 0, Non-bold Frame = 1, Font = Standard)
-#define MainMSBitMap                              1100	//(Left Origin = 135, Top Origin = 1, Bitmap Resource ID = 1100, Usable = 0)
-#define MainMSNoneBitMap                          1110	//(Left Origin = 135, Top Origin = 1, Bitmap Resource ID = 1110, Usable = 0)
-#define MainUnnamed1010BitMap                     2000	//(Left Origin = 148, Top Origin = 1, Bitmap Resource ID = 2000, Usable = 1)
-
-//	Resource: tFRM 1200
-#define SkinsForm                                 1200	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 1203)
-#define SkinsOKButton                             1202	//(Left Origin = 5, Top Origin = 139, Width = 32, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define SkinsCancelButton                         1203	//(Left Origin = 43, Top Origin = 139, Width = 32, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define SkinsDeleteButton                         1205	//(Left Origin = 119, Top Origin = 139, Width = 32, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define SkinsBeamButton                           1206	//(Left Origin = 81, Top Origin = 139, Width = 32, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define SkinsSoundClickCheckbox                   1204	//(Left Origin = 5, Top Origin = 118, Width = 93, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define SkinsSkinList                             1201	//(Left Origin = 5, Top Origin = 17, Width = 146, Usable = 1, Font = Standard, Visible Items = 9)
-
-//	Resource: tFRM 1500
-#define CardSlotForm                              1500	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define CardSlotOkButton                          1510	//(Left Origin = 3, Top Origin = 140, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define CardSlotCancelButton                      1511	//(Left Origin = 44, Top Origin = 140, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-
-//	Resource: tFRM 2700
-#define MiscForm                                  2700	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define MiscOKButton                              2710	//(Left Origin = 5, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define MiscCancelButton                          2711	//(Left Origin = 46, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-
-//	Resource: tFRM 2000
-#define ConvertForm                               2000	//(Left Origin = 34, Top Origin = 64, Width = 91, Height = 32, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define ConvertUnnamed2001Label                   2001	//(Left Origin = 7, Top Origin = 4, Usable = 1, Font = Standard)
-#define ConvertUnnamed2002Label                   2002	//(Left Origin = 16, Top Origin = 16, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 2100
-#define BeamForm                                  2100	//(Left Origin = 2, Top Origin = 72, Width = 156, Height = 86, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define BeamSendButton                            2105	//(Left Origin = 5, Top Origin = 69, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define BeamCancelButton                          2106	//(Left Origin = 47, Top Origin = 69, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define BeamMathlibCheckbox                       2101	//(Left Origin = 4, Top Origin = 28, Width = 55, Height = 12, Usable = 1, Selected = 1, Group ID = 0, Font = Standard)
-#define BeamGamesCheckbox                         2103	//(Left Origin = 4, Top Origin = 40, Width = 86, Height = 12, Usable = 1, Selected = 1, Group ID = 0, Font = Standard)
-#define BeamSkinCheckbox                          2104	//(Left Origin = 4, Top Origin = 52, Width = 84, Height = 12, Usable = 1, Selected = 1, Group ID = 0, Font = Standard)
-#define BeamUnnamed2102Label                      2102	//(Left Origin = 4, Top Origin = 16, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 2200
-#define MusicForm                                 2200	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define MusicOKButton                             2210	//(Left Origin = 5, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define MusicCancelButton                         2211	//(Left Origin = 46, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-
-//	Resource: tFRM 2300
-#define TabMusicForm                              2300	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 120, Usable = 0, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabMusicMusicCheckbox                     2301	//(Left Origin = 4, Top Origin = 12, Width = 100, Height = 12, Usable = 1, Selected = 1, Group ID = 0, Font = Standard)
-#define TabMusicMultiMidiCheckbox                 2308	//(Left Origin = 4, Top Origin = 24, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMusicTempoField                        2302	//(Left Origin = 54, Top Origin = 36, Width = 16, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 3, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabMusicTitleLabel                        2303	//(Left Origin = 6, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabMusicUnnamed2304Label                  2304	//(Left Origin = 21, Top Origin = 48, Usable = 1, Font = Standard)
-#define TabMusicUnnamed2305Label                  2305	//(Left Origin = 16, Top Origin = 60, Usable = 1, Font = Standard)
-#define TabMusicUnnamed2306Label                  2306	//(Left Origin = 18, Top Origin = 36, Usable = 1, Font = Standard)
-#define TabMusicUnnamed2307Label                  2307	//(Left Origin = 72, Top Origin = 36, Usable = 1, Font = Standard)
-#define TabMusicUnnamed2309Label                  2309	//(Left Origin = 28, Top Origin = 72, Usable = 1, Font = Standard)
-#define TabMusicRateList                          2311	//(Left Origin = 54, Top Origin = 73, Width = 55, Usable = 0, Font = Standard, Visible Items = 3)
-#define TabMusicQualityList                       2313	//(Left Origin = 54, Top Origin = 60, Width = 60, Usable = 0, Font = Standard, Visible Items = 3)
-#define TabMusicDriverList                        2331	//(Left Origin = 54, Top Origin = 24, Width = 65, Usable = 0, Font = Standard, Visible Items = 4)
-#define TabMusicRatePopTrigger                    2310	//(Left Origin = 54, Top Origin = 72, Width = 55, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 2311)
-#define TabMusicQualityPopTrigger                 2312	//(Left Origin = 54, Top Origin = 60, Width = 50, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 2313)
-#define TabMusicDriverPopTrigger                  2330	//(Left Origin = 54, Top Origin = 48, Width = 65, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 2331)
-
-//	Resource: tFRM 2500
-#define TabAudioCDForm                            2500	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 110, Usable = 0, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabAudioCDMP3Checkbox                     2502	//(Left Origin = 4, Top Origin = 12, Width = 125, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabAudioCDLengthSecsField                 2504	//(Left Origin = 112, Top Origin = 60, Width = 16, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 3, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabAudioCDFirstTrackField                 2507	//(Left Origin = 112, Top Origin = 50, Width = 16, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 80, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabAudioCDUnnamed2501Label                2501	//(Left Origin = 6, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabAudioCDUnnamed2503Label                2503	//(Left Origin = 20, Top Origin = 60, Usable = 1, Font = Standard)
-#define TabAudioCDUnnamed2505Label                2505	//(Left Origin = 130, Top Origin = 61, Usable = 1, Font = Standard)
-#define TabAudioCDUnnamed2506Label                2506	//(Left Origin = 21, Top Origin = 48, Usable = 1, Font = Standard)
-#define TabAudioCDUnnamed2508Label                2508	//(Left Origin = 25, Top Origin = 24, Usable = 1, Font = Standard)
-#define TabAudioCDUnnamed2511Label                2511	//(Left Origin = 21, Top Origin = 36, Usable = 1, Font = Standard)
-#define TabAudioCDUnnamed2514Label                2514	//(Left Origin = 4, Top Origin = 80, Usable = 1, Font = Standard)
-#define TabAudioCDDriverList                      2510	//(Left Origin = 58, Top Origin = 24, Width = 90, Usable = 0, Font = Standard, Visible Items = 4)
-#define TabAudioCDFormatList                      2513	//(Left Origin = 58, Top Origin = 36, Width = 70, Usable = 0, Font = Standard, Visible Items = 2)
-#define TabAudioCDDriverPopTrigger                2509	//(Left Origin = 58, Top Origin = 24, Width = 90, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 2510)
-#define TabAudioCDFormatPopTrigger                2512	//(Left Origin = 58, Top Origin = 36, Width = 70, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 2513)
-
-//	Resource: tFRM 2600
-#define TabVolumeForm                             2600	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 100, Usable = 0, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabVolumeUnnamed2601Label                 2601	//(Left Origin = 29, Top Origin = 69, Usable = 1, Font = Standard)
-#define TabVolumeUnnamed2603Label                 2603	//(Left Origin = 6, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabVolumeUnnamed2606Label                 2606	//(Left Origin = 26, Top Origin = 15, Usable = 1, Font = Standard)
-#define TabVolumeUnnamed2607Label                 2607	//(Left Origin = 12, Top Origin = 30, Usable = 1, Font = Standard)
-#define TabVolumeUnnamed2608Label                 2608	//(Left Origin = 20, Top Origin = 45, Usable = 1, Font = Standard)
-#define TabVolumeUnnamed2610Label                 2610	//(Left Origin = 14, Top Origin = 84, Usable = 1, Font = Standard)
-#define TabVolumeMusicSliderControl               2602	//(Left Origin = 58, Top Origin = 12, Width = 93, Height = 15, Usable = 1, Initial Value = 0, Minimum Value = 0, Maximum Value = 255, Page Jump Amount = 1, Thumb Bitmap = 0, Background Bitmap = 0)
-#define TabVolumeSfxSliderControl                 2604	//(Left Origin = 58, Top Origin = 27, Width = 93, Height = 15, Usable = 1, Initial Value = 0, Minimum Value = 0, Maximum Value = 255, Page Jump Amount = 1, Thumb Bitmap = 0, Background Bitmap = 0)
-#define TabVolumePalmSliderControl                2605	//(Left Origin = 58, Top Origin = 66, Width = 93, Height = 15, Usable = 1, Initial Value = 0, Minimum Value = 0, Maximum Value = 100, Page Jump Amount = 1, Thumb Bitmap = 0, Background Bitmap = 0)
-#define TabVolumeSpeechSliderControl              2609	//(Left Origin = 58, Top Origin = 42, Width = 93, Height = 15, Usable = 1, Initial Value = 0, Minimum Value = 0, Maximum Value = 255, Page Jump Amount = 1, Thumb Bitmap = 0, Background Bitmap = 0)
-#define TabVolumeAudioCDSliderControl             2611	//(Left Origin = 58, Top Origin = 81, Width = 93, Height = 15, Usable = 1, Initial Value = 0, Minimum Value = 0, Maximum Value = 100, Page Jump Amount = 1, Thumb Bitmap = 0, Background Bitmap = 0)
-
-//	Resource: tFRM 2800
-#define TabMiscPalmOSForm                         2800	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 120, Usable = 0, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabMiscPalmOSVibratorCheckbox             2802	//(Left Origin = 4, Top Origin = 12, Width = 128, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSNoAutoOffCheckbox            2803	//(Left Origin = 4, Top Origin = 24, Width = 152, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSStdPaletteCheckbox           2804	//(Left Origin = 4, Top Origin = 84, Width = 146, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSLargerStackCheckbox          2805	//(Left Origin = 4, Top Origin = 36, Width = 100, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSAdvancedCheckbox             2806	//(Left Origin = 4, Top Origin = 96, Width = 100, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSArrowCheckbox                2807	//(Left Origin = 4, Top Origin = 72, Width = 150, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSExitLauncherCheckbox         2810	//(Left Origin = 4, Top Origin = 48, Width = 150, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSStylusClickCheckbox          2811	//(Left Origin = 4, Top Origin = 60, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscPalmOSTabTitlePalmLabel            2801	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 2900
-#define TabMiscScummVMForm                        2900	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 120, Usable = 0, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabMiscScummVMAutosaveCheckbox            2902	//(Left Origin = 4, Top Origin = 48, Width = 90, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscScummVMDebugCheckbox               2904	//(Left Origin = 4, Top Origin = 60, Width = 90, Height = 12, Usable = 0, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscScummVMDemoCheckbox                2905	//(Left Origin = 4, Top Origin = 12, Width = 100, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscScummVMCopyProtectionCheckbox      2906	//(Left Origin = 4, Top Origin = 24, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscScummVMAltIntroCheckbox            2908	//(Left Origin = 4, Top Origin = 36, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscScummVMDebugLevelField             2907	//(Left Origin = 101, Top Origin = 60, Width = 12, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 1, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabMiscScummVMAutosaveField               2910	//(Left Origin = 101, Top Origin = 48, Width = 20, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 4, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabMiscScummVMTabTitleScummLabel          2901	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabMiscScummVMUnnamed2903Label            2903	//(Left Origin = 97, Top Origin = 61, Usable = 1, Font = Standard)
-#define TabMiscScummVMUnnamed2909Label            2909	//(Left Origin = 97, Top Origin = 48, Usable = 1, Font = Standard)
-#define TabMiscScummVMUnnamed2911Label            2911	//(Left Origin = 123, Top Origin = 48, Usable = 1, Font = Standard)
-
-//	Resource: tFRM 3000
-#define GameEditForm                              3000	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 1411)
-#define GameEditOKButton                          3020	//(Left Origin = 5, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define GameEditCancelButton                      3021	//(Left Origin = 46, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define GameEditDeleteButton                      3023	//(Left Origin = 109, Top Origin = 139, Width = 42, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define GameEditUnnamed3022GraffitiShift          3022	//(Left Origin = 87, Top Origin = 140)
-
-//	Resource: tFRM 3100
-#define TabGameInfoForm                           3100	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 120, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabGameInfoEntryNameField                 3102	//(Left Origin = 4, Top Origin = 12, Width = 151, Height = 24, Usable = 1, Editable = 1, Underline = 1, Single Line = 0, Dynamic Size = 0, Left Justified = 1, Max Characters = 50, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 0)
-#define TabGameInfoPathField                      3104	//(Left Origin = 37, Top Origin = 38, Width = 118, Height = 24, Usable = 1, Editable = 1, Underline = 1, Single Line = 0, Dynamic Size = 0, Left Justified = 1, Max Characters = 150, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 0)
-#define TabGameInfoGameField                      3106	//(Left Origin = 37, Top Origin = 64, Width = 52, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 15, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 0)
-#define TabGameInfoUnnamed3101Label               3101	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabGameInfoUnnamed3103Label               3103	//(Left Origin = 11, Top Origin = 38, Usable = 1, Font = Standard)
-#define TabGameInfoUnnamed3105Label               3105	//(Left Origin = 6, Top Origin = 64, Usable = 1, Font = Standard)
-#define TabGameInfoUnnamed3107Label               3107	//(Left Origin = 4, Top Origin = 79, Usable = 1, Font = Standard)
-#define TabGameInfoEngineList                     3109	//(Left Origin = 37, Top Origin = 57, Width = 115, Usable = 0, Font = Standard, Visible Items = 3)
-#define TabGameInfoBrowsePushButton               3110	//(Left Origin = 11, Top Origin = 50, Width = 22, Height = 12, Usable = 1, Group ID = 0, Font = Standard)
-#define TabGameInfoEnginePopTrigger               3108	//(Left Origin = 37, Top Origin = 79, Width = 115, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3109)
-
-//	Resource: tFRM 3200
-#define TabGameDisplayForm                        3200	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 95, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabGameDisplayFilterCheckbox              3205	//(Left Origin = 4, Top Origin = 36, Width = 80, Height = 12, Usable = 1, Selected = 1, Group ID = 0, Font = Standard)
-#define TabGameDisplayFullscreenCheckbox          3206	//(Left Origin = 4, Top Origin = 60, Width = 100, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameDisplayAspectRatioCheckbox         3207	//(Left Origin = 4, Top Origin = 48, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameDisplayUnnamed3201Label            3201	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabGameDisplayUnnamed3202Label            3202	//(Left Origin = 5, Top Origin = 24, Usable = 1, Font = Standard)
-#define TabGameDisplayUnnamed3208Label            3208	//(Left Origin = 10, Top Origin = 12, Usable = 1, Font = Standard)
-#define TabGameDisplayGfxListList                 3204	//(Left Origin = 38, Top Origin = 12, Width = 75, Usable = 0, Font = Standard, Visible Items = 2)
-#define TabGameDisplayRenderList                  3210	//(Left Origin = 38, Top Origin = 24, Width = 75, Usable = 0, Font = Standard, Visible Items = 6)
-#define TabGameDisplayGfxPopupPopTrigger          3203	//(Left Origin = 38, Top Origin = 12, Width = 80, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3204)
-#define TabGameDisplayRenderPopTrigger            3209	//(Left Origin = 38, Top Origin = 24, Width = 85, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3209)
-
-//	Resource: tFRM 3300
-#define TabGameOptionsForm                        3300	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 160, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabGameOptionsLoadSlotCheckbox            3302	//(Left Origin = 4, Top Origin = 24, Width = 85, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameOptionsStartRoomCheckbox           3303	//(Left Origin = 4, Top Origin = 36, Width = 84, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameOptionsAmigaCheckbox               3306	//(Left Origin = 4, Top Origin = 48, Width = 81, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameOptionsSubtitlesCheckbox           3307	//(Left Origin = 4, Top Origin = 60, Width = 82, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameOptionsTalkSpeedCheckbox           3308	//(Left Origin = 4, Top Origin = 12, Width = 66, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabGameOptionsLoadSlotField               3304	//(Left Origin = 92, Top Origin = 24, Width = 12, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 2, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabGameOptionsStartRoomField              3305	//(Left Origin = 92, Top Origin = 36, Width = 18, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 4, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabGameOptionsTalkSpeedField              3309	//(Left Origin = 92, Top Origin = 12, Width = 18, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 3, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabGameOptionsUnnamed3301Label            3301	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabGameOptionsUnnamed3314Label            3314	//(Left Origin = 88, Top Origin = 24, Usable = 1, Font = Standard)
-#define TabGameOptionsUnnamed3315Label            3315	//(Left Origin = 88, Top Origin = 36, Usable = 1, Font = Standard)
-#define TabGameOptionsUnnamed3316Label            3316	//(Left Origin = 88, Top Origin = 12, Usable = 1, Font = Standard)
-#define TabGameOptionsUnnamed3317Label            3317	//(Left Origin = 88, Top Origin = 48, Usable = 1, Font = Standard)
-#define TabGameOptionsUnnamed3318Label            3318	//(Left Origin = 88, Top Origin = 60, Usable = 1, Font = Standard)
-#define TabGameOptionsLanguageList                3311	//(Left Origin = 92, Top Origin = 15, Width = 64, Usable = 0, Font = Standard, Visible Items = 5)
-#define TabGameOptionsPlatformList                3313	//(Left Origin = 92, Top Origin = 15, Width = 64, Usable = 0, Font = Standard, Visible Items = 4)
-#define TabGameOptionsLanguagePopTrigger          3310	//(Left Origin = 90, Top Origin = 60, Width = 65, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3311)
-#define TabGameOptionsPlatformPopTrigger          3312	//(Left Origin = 90, Top Origin = 48, Width = 65, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3313)
-
-//	Resource: tFRM 3400
-#define ImportForm                                3400	//(Left Origin = 34, Top Origin = 64, Width = 91, Height = 32, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define ImportUnnamed3401Label                    3401	//(Left Origin = 4, Top Origin = 4, Usable = 1, Font = Standard)
-#define ImportUnnamed3402Label                    3402	//(Left Origin = 16, Top Origin = 16, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 1400
-#define EngineForm                                1400	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define EngineOkButton                            1403	//(Left Origin = 4, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define EngineCancelButton                        1420	//(Left Origin = 45, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-#define EngineUnnamed1402Label                    1402	//(Left Origin = 4, Top Origin = 16, Usable = 1, Font = Bold)
-#define EngineUnnamed1404Label                    1404	//(Left Origin = 4, Top Origin = 88, Usable = 1, Font = Bold)
-#define EngineListList                            1401	//(Left Origin = 4, Top Origin = 30, Width = 148, Usable = 1, Font = Standard, Visible Items = 5)
-#define EngineSupportedList                       1405	//(Left Origin = 4, Top Origin = 102, Width = 148, Usable = 1, Font = Standard, Visible Items = 3)
-
-//	Resource: tFRM 4000
-#define InfoForm                                  4000	//(Left Origin = 2, Top Origin = 2, Width = 156, Height = 156, Usable = 1, Modal = 1, Save Behind = 1, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define InfoOKButton                              4020	//(Left Origin = 5, Top Origin = 139, Width = 36, Height = 12, Usable = 1, Anchor Left = 1, Frame = 1, Non-bold Frame = 1, Font = Standard)
-
-//	Resource: tFRM 4100
-#define TabInfoAboutForm                          4100	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 125, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabInfoAboutTabTitleAboutLabel            4101	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabInfoAboutUnnamed4103Label              4103	//(Left Origin = 23, Top Origin = 58, Usable = 1, Font = Bold)
-#define TabInfoAboutUnnamed4104Label              4104	//(Left Origin = 34, Top Origin = 70, Usable = 1, Font = Standard)
-#define TabInfoAboutUnnamed4105Label              4105	//(Left Origin = 8, Top Origin = 82, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 4200
-#define TabInfoVersionForm                        4200	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 100, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabInfoVersionTabTitleAboutLabel          4201	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabInfoVersionUnnamed4202Label            4202	//(Left Origin = 10, Top Origin = 12, Usable = 1, Font = Standard)
-#define TabInfoVersionUnnamed4203Label            4203	//(Left Origin = 24, Top Origin = 24, Usable = 1, Font = Standard)
-#define TabInfoVersionUnnamed4204Label            4204	//(Left Origin = 4, Top Origin = 42, Usable = 1, Font = Bold)
-#define TabInfoVersionUnnamed4205Label            4205	//(Left Origin = 5, Top Origin = 53, Usable = 1, Font = Standard)
-#define TabInfoVersionUnnamed4206Label            4206	//(Left Origin = 4, Top Origin = 72, Usable = 1, Font = Bold)
-#define TabInfoVersionUnnamed4207Label            4207	//(Left Origin = 4, Top Origin = 84, Usable = 1, Font = Standard)
-
-//	Resource: tFRM 4300
-#define TabInfoSystemForm                         4300	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 100, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabInfoSystemTabTitleAboutLabel           4301	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabInfoSystemUnnamed4302Label             4302	//(Left Origin = 10, Top Origin = 12, Usable = 1, Font = Standard)
-#define TabInfoSystemUnnamed4303Label             4303	//(Left Origin = 13, Top Origin = 24, Usable = 1, Font = Standard)
-#define TabInfoSystemUnnamed4304Label             4304	//(Left Origin = 5, Top Origin = 36, Usable = 1, Font = Standard)
-#define TabInfoSystemUnnamed4305Label             4305	//(Left Origin = 96, Top Origin = 0, Usable = 1, Font = Standard)
-#define TabInfoSystemUnnamed4306Label             4306	//(Left Origin = 132, Top Origin = 0, Usable = 1, Font = Standard)
-
-//	Resource: tFRM 1600
-#define TabCardConfigForm                         1600	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 110, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabCardConfigDetectCheckbox               1602	//(Left Origin = 4, Top Origin = 86, Width = 150, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardConfigCacheCheckbox                1604	//(Left Origin = 4, Top Origin = 62, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardConfigLedCheckbox                  1608	//(Left Origin = 4, Top Origin = 50, Width = 130, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardConfigCacheSizeField               1606	//(Left Origin = 68, Top Origin = 74, Width = 18, Height = 12, Usable = 1, Editable = 1, Underline = 1, Single Line = 1, Dynamic Size = 0, Left Justified = 1, Max Characters = 3, Font = Standard, Auto Shift = 0, Has Scroll Bar = 0, Numeric = 1)
-#define TabCardConfigTabTitleAboutLabel           1601	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabCardConfigUnnamed1605Label             1605	//(Left Origin = 21, Top Origin = 74, Usable = 1, Font = Standard)
-#define TabCardConfigUnnamed1607Label             1607	//(Left Origin = 88, Top Origin = 74, Usable = 1, Font = Standard)
-#define TabCardConfigSlotList                     1620	//(Left Origin = 7, Top Origin = 14, Width = 146, Usable = 1, Font = Standard, Visible Items = 3)
-
-//	Resource: tFRM 1700
-#define TabCardGameListForm                       1700	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 100, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabCardGameListMoveCheckbox               1702	//(Left Origin = 4, Top Origin = 12, Width = 143, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardGameListDeleteCheckbox             1703	//(Left Origin = 4, Top Origin = 24, Width = 142, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardGameListConfirmCheckbox            1704	//(Left Origin = 4, Top Origin = 36, Width = 152, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabCardGameListUnnamed1701Label           1701	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-
-//	Resource: tFRM 3500
-#define TabMiscExtsForm                           3500	//(Left Origin = 0, Top Origin = 0, Width = 160, Height = 80, Usable = 1, Modal = 0, Save Behind = 0, Help ID = 0, Menu Bar ID = 0, Default Button ID = 0)
-#define TabMiscExtsLightspeedCheckbox             3502	//(Left Origin = 4, Top Origin = 24, Width = 95, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscExtsGolcdCheckbox                  3505	//(Left Origin = 4, Top Origin = 12, Width = 120, Height = 12, Usable = 1, Selected = 0, Group ID = 0, Font = Standard)
-#define TabMiscExtsTabTitleMoreLabel              3501	//(Left Origin = 4, Top Origin = 0, Usable = 1, Font = Bold)
-#define TabMiscExtsNothingLabel                   3506	//(Left Origin = 4, Top Origin = 36, Usable = 0, Font = Standard)
-#define TabMiscExtsLightspeedList                 3504	//(Left Origin = 96, Top Origin = 24, Width = 50, Usable = 0, Font = Standard, Visible Items = 3)
-#define TabMiscExtsLightspeedPopTrigger           3503	//(Left Origin = 96, Top Origin = 24, Width = 60, Height = 12, Usable = 1, Anchor Left = 1, Font = Standard, List ID = 3504)
-
-
-//	Resource: Talt 1001
-#define RomIncompatibleAlert                      1001
-#define RomIncompatibleOK                         0
-
-//	Resource: Talt 1000
-#define FrmWarnAlert                              1000
-#define FrmWarnOK                                 0
-
-//	Resource: Talt 1100
-#define FrmErrorAlert                             1100
-#define FrmErrorCancel                            0
-
-//	Resource: Talt 1300
-#define FrmConfirmAlert                           1300
-#define FrmConfirmYes                             0
-#define FrmConfirmNo                              1
-
-//	Resource: Talt 1400
-#define FrmInfoAlert                              1400
-#define FrmInfoOK                                 0
-
-
-//	Resource: MBAR 1000
-#define MainFormMenuBar                           1000
-
-
-//	Resource: MENU 1000
-#define MainOptionsMenu                           1000
-#define MainOptionsMisc                           1000	//  Command Key: I
-#define MainOptionsSkins                          1001
-#define MainOptionsBeam                           1003
-#define MainOptionsAbout                          1005
-
-//	Resource: MENU 1100
-#define MainGamesMenu                             1100
-#define MainGamesNew                              1100	//  Command Key: N
-#define MainGamesEdit                             1101	//  Command Key: E
-#define MainGamesMusicSound                       1102	//  Command Key: M
-#define MainGamesDelete                           1103
-#define MainGamesMemoryCard                       1105	//  Command Key: C
-
-
-//	Resource: tSTR 9991
-#define ClieCatString                             9991	// "32779"
-
-//	Resource: tSTR 9990
-#define ClieDescString                            9990	// "Play your favorite Point'n'Click games"
-
-
-//	Resource: PICT 1001
-#define Bitmap                                    1001
-
-//	Resource: PICT 1002
-#define Bitmap2                                   1002
-
-//	Resource: PICT 1008
-#define Bitmap3                                   1008
-
-//	Resource: PICT 1011
-#define Bitmap4                                   1011
-
-//	Resource: PICT 1012
-#define Bitmap5                                   1012
-
-//	Resource: PICT 1018
-#define Bitmap6                                   1018
-
-//	Resource: PICT 2000
-#define infoBitmap                                2000
-
-//	Resource: PICT 1100
-#define msOnBitmap                                1100
-
-//	Resource: PICT 1009
-#define Bitmap7                                   1009
-
-//	Resource: PICT 1010
-#define Bitmap8                                   1010
-
-//	Resource: PICT 1110
-#define msNoneBitmap                              1110
-
-//	Resource: PICT 1020
-#define BitmapID1020Bitmap                        1020
-
-//	Resource: PICT 1019
-#define BitmapID1019Bitmap                        1019
-
-//	Resource: PICT 1200
-#define msOnD2Bitmap                              1200
-
-//	Resource: PICT 1300
-#define msNoneD2Bitmap                            1300
-
-//	Resource: PICT 2100
-#define infoD2Bitmap                              2100
-
-//	Resource: PICT 1501
-#define ScummVMlogoD1Bitmap                       1501
-
-//	Resource: PICT 1502
-#define ScummVMlogoD2Bitmap                       1502
-
-//	Resource: PICT 1000
-#define icon16bitD2Bitmap                         1000
-
-
-//	Resource: tbmf 1000
-#define Icon_infoBitmapFamily                     1000
-
-//	Resource: tbmf 1100
-#define MsOnBitmapFamily                          1100
-
-//	Resource: tbmf 2000
-#define InfoBitmapFamily                          2000
-
-//	Resource: tbmf 1110
-#define MsNoneBitmapFamily                        1110
-
-//	Resource: tbmf 1200
-#define LogoBitmapFamily                          1200
-
-
-//	Resource: taif 1000
-#define Largeicons12and8bitsAppIconFamily         1000
-
-//	Resource: taif 1001
-#define Smallicons12and8bitsAppIconFamily         1001
-
-
-#endif // STARTERRSC_H

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/batLow.bmp
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/keyAlt.bmp
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/keyCommand.bmp
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/keyCtrl.bmp
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/modules.rcp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Rsc/modules.rcp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Rsc/modules.rcp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,71 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- * Copyright (C) 2001  Ludvig Strigeus
- * Copyright (C) 2001-2010 The ScummVM project
- * Copyright (C) 2002-2006 Chris Apers - PalmOS Backend
- *
- * 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$
- *
- */
-
-BITMAP ID 3100
-BEGIN
-	BITMAP "keyCommand.bmp"	BPP 1 DENSITY 2
-END
-BITMAP ID 3101
-BEGIN
-	BITMAP "keyAlt.bmp"		BPP 1 DENSITY 2
-END
-BITMAP ID 3102
-BEGIN
-	BITMAP "keyCtrl.bmp"	BPP 1 DENSITY 2
-END
-BITMAP ID 3120
-BEGIN
-	BITMAP "batLow.bmp"		BPP 1 DENSITY 2
-END
-BITMAP ID 3130
-BEGIN
-	BITMAP "numpad.bmp"		BPP 1 DENSITY 2
-END
-
-/*
-BITMAP ID 3100 "keyCommand.bmp" DENSITY 2
-BITMAP ID 3101 "keyAlt.bmp"		DENSITY 2
-BITMAP ID 3102 "keyCtrl.bmp"	DENSITY 2
-BITMAP ID 3120 "batLow.bmp"		DENSITY 2
-BITMAP ID 3130 "numpad.bmp"		DENSITY 2
-*/
-BITMAP ID 3000 "keyCommand.bmp" DENSITY 1
-BITMAP ID 3001 "keyAlt.bmp"		DENSITY 1
-BITMAP ID 3002 "keyCtrl.bmp"	DENSITY 1
-BITMAP ID 3020 "batLow.bmp"		DENSITY 1
-BITMAP ID 3030 "numpad.bmp"		DENSITY 1
-
-ALERT ID 1200
-	DEFAULTBUTTON 0
-	ERROR
-BEGIN
-	TITLE "ScummVM Fatal Error"
-	MESSAGE "^1"
-	BUTTONS "Exit"
-END
-

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/modulesrsc.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Rsc/modulesrsc.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Rsc/modulesrsc.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,6 +0,0 @@
-#ifndef MODULESRSC_H
-#define MODULESRSC_H
-
-#define FrmFatalErrorAlert	1200
-
-#endif

Deleted: scummvm/trunk/backends/platform/PalmOS/Rsc/numpad.bmp
===================================================================
(Binary files differ)

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/args.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/args.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/args.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,106 +0,0 @@
-#include <PalmOS.h>
-#include "palmdefs.h"
-#include "args.h"
-#include "pace.h"
-#include "endianutils.h"
-
-Char **ArgsInit() {
-	// first 4 bytes keep the real address of the chunk
-	MemHandle argvH = MemHandleNew(sizeof(Char *) + (MAX_ARG * sizeof(Char **) + 2));
-	// real addr
-	Char *lockP = (Char *)MemHandleLock(argvH);
-	// 4byte aligned
-	Char **argvP = (Char **)ALIGN_4BYTE(lockP);
-	// save real addr
-	argvP[0] = lockP;
-	// initial position
-	argvP++;
-
-	for (UInt8 count = 0; count < MAX_ARG; count++)
-		argvP[count] = NULL;
-
-	return argvP;
-}
-
-void ArgsAdd(Char **argvP, const Char *argP, const Char *parmP, UInt8 *countArgP) {
-	if (argP) {
-		MemHandle newArg;
-		UInt16 len2 = 0;
-		UInt16 len1 = StrLen(argP);
-
-		if (len1 > 0) {
-			if (parmP)
-				len2 = StrLen(parmP);
-
-			(*countArgP)++;
-			newArg = MemHandleNew(len1 + len2 + 1); // +1 = NULL CHAR
-			*argvP = (Char *)MemHandleLock(newArg);
-			StrCopy(*argvP, argP);
-
-			if (parmP)
-				StrCat(*argvP, parmP);
-		}
-	}
-}
-
-void ArgsFree(Char **argvP) {
-	if (!argvP)
-		return;
-
-	MemHandle oldH;
-
-	for (UInt8 count = 0; count < MAX_ARG; count++)
-		if (argvP[count]) {
-			oldH = MemPtrRecoverHandle(argvP[count]);
-			MemHandleUnlock(oldH);
-			MemHandleFree(oldH);
-		}
-
-	argvP--;
-	oldH = MemPtrRecoverHandle(argvP[0]);
-	MemHandleUnlock(oldH);
-	MemHandleFree(oldH);
-}
-
-void ArgsSetOwner(Char **argvP, UInt16 owner) {
-	if (!argvP)
-		return;
-
-	MemHandle oldH;
-
-	for (UInt8 count = 0; count < MAX_ARG; count++)
-		if (argvP[count]) {
-			oldH = MemPtrRecoverHandle(argvP[count]);
-			MemHandleSetOwner(oldH, owner);
-		}
-
-	argvP--;
-	oldH = MemPtrRecoverHandle(argvP[0]);
-	MemHandleSetOwner(oldH, owner);
-}
-
-void ArgsExportInit(Char **argvP, UInt32 countArg, Boolean arm) {
-	if (arm) {
-		for (UInt8 count = 0; count < MAX_ARG; count++)
-			if (argvP[count])
-				argvP[count] = (Char *)ByteSwap32(argvP[count]);
-	}
-
-	FtrSet(appFileCreator, ftrArgsData , (UInt32)argvP);
-	FtrSet(appFileCreator, ftrArgsCount, (UInt32)countArg);
-}
-
-void ArgsExportRelease(Boolean arm) {
-	if (arm) {
-		Char **argvP;
-		Err e = FtrGet(appFileCreator, ftrArgsData, (UInt32 *)&argvP);
-
-		if (argvP)
-			for (UInt8 count = 0; count < MAX_ARG; count++)
-				if (argvP[count])
-					argvP[count] = (Char *)ByteSwap32(argvP[count]);
-	}
-
-	FtrUnregister(appFileCreator, ftrArgsCount);
-	FtrUnregister(appFileCreator, ftrArgsData);
-}

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/args.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/args.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/args.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,44 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#ifndef ARGS_H
-#define ARGS_H
-
-#define MAX_ARG	25
-
-#define ftrArgsData		1300
-#define ftrArgsCount	1301
-#define ftrVars			1302
-#define ftrStack		1303
-
-Char **ArgsInit();
-void ArgsAdd(Char **argvP, const Char *argP, const Char *parmP, UInt8 *countArgP);
-void ArgsFree(Char **argvP);
-void ArgsSetOwner(Char **argvP, UInt16 owner);
-
-void ArgsExportInit(Char **argvP, UInt32 countArg, Boolean arm);
-void ArgsExportRelease(Boolean arm);
-
-#endif

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/base_event.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/base_event.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/base_event.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,458 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#include "be_base.h"
-#include "common/events.h"
-
-#ifdef STDLIB_TRACE_MEMORY
-#	include <stdlib.h>
-#endif
-
-#if defined(COMPILE_OS5) && defined(PALMOS_ARM)
-extern "C" void SysEventGet(EventType *eventP, Int32 timeout);
-extern "C" void SysEventAddToQueue (const EventType *eventP);
-#endif
-
-void OSystem_PalmBase::timer_handler() {
-	UInt32 msecs = getMillis();
-
-	if (_timer.active && (msecs >= _timer.nextExpiry)) {
-		_timer.duration = _timer.callback(_timer.duration);
-		_timer.nextExpiry = msecs + _timer.duration;
-	}
-}
-
-void OSystem_PalmBase::battery_handler() {
-	// check battery level every 15secs
-	if ((TimGetTicks() - _batCheckLast) > _batCheckTicks) {
-		UInt16 voltage, warnThreshold, criticalThreshold;
-		Boolean pluggedIn;
-		voltage = SysBatteryInfoV20(false, &warnThreshold, &criticalThreshold, NULL, NULL, &pluggedIn);
-
-		if (!pluggedIn) {
-			if (voltage <= warnThreshold) {
-				if (!_showBatLow) {
-					_showBatLow = true;
-					draw_osd(kDrawBatLow, _screenDest.w - 18, -16, true, 2);
-					displayMessageOnOSD("Battery low.");
-				}
-			} else {
-				if (_showBatLow) {
-					_showBatLow = false;
-					draw_osd(kDrawBatLow, _screenDest.w - 18, -16, false);
-				}
-			}
-
-			if (voltage <= criticalThreshold) {
-				::EventType event;
-				event.eType = keyDownEvent;
-				event.data.keyDown.chr = vchrPowerOff;
-				event.data.keyDown.modifiers = commandKeyMask;
-#if defined(COMPILE_OS5) && defined(PALMOS_ARM)
-				SysEventAddToQueue(&event);
-#else
-				EvtAddEventToQueue(&event);
-#endif
-			}
-		}
-
-		_batCheckLast = TimGetTicks();
-	}
-}
-
-bool OSystem_PalmBase::pollEvent(Common::Event &event) {
-	::EventType ev;
-	Boolean handled;
-	UInt32 keyCurrentState;
-	Coord x, y;
-
-	battery_handler();
-	timer_handler();
-	sound_handler();
-
-	for (;;) {
-		// check for hardkey repeat for mouse emulation
-		keyCurrentState = KeyCurrentState();
-
-		// if it was a key pressed, let the keyup event raise
-		if (_keyExtraPressed) {
-			if (gVars->arrowKeys) {
-				if (_keyExtraPressed & _keyExtra.bitLeft) {
-					if (!(keyCurrentState & _keyExtra.bitLeft)) {
-						_keyExtraPressed &= ~_keyExtra.bitLeft;
-
-						event.type = Common::EVENT_KEYUP;
-						event.kbd.keycode = Common::KEYCODE_LEFT;
-						event.kbd.ascii = event.kbd.keycode;
-						event.kbd.flags = 0;
-						return true;
-					}
-				}
-				if (_keyExtraPressed & _keyExtra.bitRight) {
-					if (!(keyCurrentState & _keyExtra.bitRight)) {
-						_keyExtraPressed &= ~_keyExtra.bitRight;
-
-						event.type = Common::EVENT_KEYUP;
-						event.kbd.keycode = Common::KEYCODE_RIGHT;
-						event.kbd.ascii = event.kbd.keycode;
-						event.kbd.flags = 0;
-						return true;
-					}
-				}
-				if (_keyExtraPressed & _keyExtra.bitUp) {
-					if (!(keyCurrentState & _keyExtra.bitUp)) {
-						_keyExtraPressed &= ~_keyExtra.bitUp;
-
-						event.type = Common::EVENT_KEYUP;
-						event.kbd.keycode = Common::KEYCODE_UP;
-						event.kbd.ascii = event.kbd.keycode;
-						event.kbd.flags = 0;
-						return true;
-					}
-				}
-				if (_keyExtraPressed & _keyExtra.bitDown) {
-					if (!(keyCurrentState & _keyExtra.bitDown)) {
-						_keyExtraPressed &= ~_keyExtra.bitDown;
-
-						event.type = Common::EVENT_KEYUP;
-						event.kbd.keycode = Common::KEYCODE_DOWN;
-						event.kbd.ascii = event.kbd.keycode;
-						event.kbd.flags = 0;
-						return true;
-					}
-				}
-			}
-
-			if (_keyExtraPressed & _keyExtra.bitActionA) {
-				if (!(keyCurrentState & _keyExtra.bitActionA)) {
-					_keyExtraPressed &= ~_keyExtra.bitActionA;
-
-					event.type = Common::EVENT_LBUTTONUP;
-					event.mouse.x = _mouseCurState.x;
-					event.mouse.y = _mouseCurState.y;
-					return true;
-				}
-			}
-
-			if (_keyExtraPressed & _keyExtra.bitActionB) {
-				if (!(keyCurrentState & _keyExtra.bitActionB)) {
-					_keyExtraPressed &= ~_keyExtra.bitActionB;
-
-					event.type = Common::EVENT_RBUTTONUP;
-					event.mouse.x = _mouseCurState.x;
-					event.mouse.y = _mouseCurState.y;
-					return true;
-				}
-			}
-
-			// no more event till up is raised
-			return false;
-		}
-
-		if (!(keyCurrentState & _keyExtraMask)) {
-			_lastKeyRepeat = 0;
-
-		} else if (getMillis() >= (_keyExtraRepeat + _keyExtraDelay)) {
-			_keyExtraRepeat = getMillis();
-
-			if (gVars->arrowKeys) {
-				if (keyCurrentState & _keyExtra.bitLeft) {
-					_keyExtraPressed |= _keyExtra.bitLeft;
-					event.kbd.keycode = Common::KEYCODE_LEFT;
-
-				} else if (keyCurrentState & _keyExtra.bitRight) {
-					_keyExtraPressed |= _keyExtra.bitRight;
-					event.kbd.keycode = Common::KEYCODE_RIGHT;
-
-				} else if (keyCurrentState & _keyExtra.bitUp) {
-					_keyExtraPressed |= _keyExtra.bitUp;
-					event.kbd.keycode = Common::KEYCODE_UP;
-
-				} else if (keyCurrentState & _keyExtra.bitDown) {
-					_keyExtraPressed |= _keyExtra.bitDown;
-					event.kbd.keycode = Common::KEYCODE_DOWN;
-				}
-
-				event.type = Common::EVENT_KEYDOWN;
-				event.kbd.ascii = event.kbd.keycode;
-				event.kbd.flags = 0;
-				return true;
-
-			} else {
-				Int8 sx = 0;
-				Int8 sy = 0;
-
-				if (keyCurrentState & _keyExtra.bitUp)
-					sy = -1;
-				else if (keyCurrentState & _keyExtra.bitDown)
-					sy = +1;
-
-				if (keyCurrentState & _keyExtra.bitLeft)
-					sx = -1;
-				else if (keyCurrentState & _keyExtra.bitRight)
-					sx = +1;
-
-				if (sx || sy) {
-					simulate_mouse(event, sx, sy, &x, &y);
-					event.type = Common::EVENT_MOUSEMOVE;
-					event.mouse.x = x;
-					event.mouse.y = y;
-					warpMouse(x, y);
-
-					return true;
-				}
-			}
-		}
-
-#if defined(COMPILE_OS5) && defined(PALMOS_ARM)
-		SysEventGet(&ev, evtNoWait);
-#else
-		EvtGetEvent(&ev, evtNoWait);
-#endif
-
-		if (ev.eType == keyUpEvent) {
-			Common::KeyCode k = Common::KEYCODE_INVALID;
-			switch (ev.data.keyUp.chr) {
-
-			// arrow keys
-			case chrUpArrow:
-				k = Common::KEYCODE_UP; break;
-			case chrDownArrow:
-				k = Common::KEYCODE_DOWN; break;
-			case chrRightArrow:
-				k = Common::KEYCODE_RIGHT; break;
-			case chrLeftArrow:
-				k = Common::KEYCODE_LEFT; break;
-			}
-
-			if (k) {
-				event.type = Common::EVENT_KEYUP;
-				event.kbd.keycode = k;
-				event.kbd.ascii = k;
-				event.kbd.flags = 0;
-				return true;
-			}
-
-		} else if (ev.eType == keyDownEvent) {
-			Common::KeyCode k = Common::KEYCODE_INVALID;
-			switch (ev.data.keyDown.chr) {
-			// ESC key
-			case vchrLaunch:
-				event.type = Common::EVENT_KEYDOWN;
-				event.kbd.keycode = Common::KEYCODE_ESCAPE;
-				event.kbd.ascii = Common::ASCII_ESCAPE;
-				event.kbd.flags = 0;
-				return true;
-
-			// F5 = menu
-			case vchrMenu:
-				event.type = Common::EVENT_KEYDOWN;
-				event.kbd.keycode = Common::KEYCODE_F5;
-				event.kbd.ascii = Common::ASCII_F5;
-				event.kbd.flags = 0;
-				return true;
-
-			// if hotsync pressed, etc...
-			case vchrHardCradle:
-			case vchrHardCradle2:
-			case vchrLowBattery:
-			case vchrFind:
-//			case vchrBrightness:	// volume control on Zodiac, let other backends disable it
-			case vchrContrast:
-				// do nothing
-				return true;
-
-			// arrow keys
-			case chrUpArrow:
-				k = Common::KEYCODE_UP; break;
-			case chrDownArrow:
-				k = Common::KEYCODE_DOWN; break;
-			case chrRightArrow:
-				k = Common::KEYCODE_RIGHT; break;
-			case chrLeftArrow:
-				k = Common::KEYCODE_LEFT; break;
-
-			// return
-			case chrLineFeed:
-			case chrCarriageReturn:
-				k = Common::KEYCODE_RETURN; break;
-
-			}
-
-			if (k) {
-				event.type = Common::EVENT_KEYDOWN;
-				event.kbd.keycode = k;
-				event.kbd.ascii = k;
-				event.kbd.flags = 0;
-				return true;
-			}
-		}
-
-		if (check_event(event, &ev))
-			return true;
-
-		// prevent crash when alarm is raised
-		handled = ((ev.eType == keyDownEvent) &&
-						(ev.data.keyDown.modifiers & commandKeyMask) &&
-						((ev.data.keyDown.chr == vchrAttnStateChanged) ||
-						(ev.data.keyDown.chr == vchrAttnUnsnooze)));
-
-		// graffiti strokes, auto-off, etc...
-		if (!handled)
-			if (SysHandleEvent(&ev))
-				continue;
-
-		switch (ev.eType) {
-		case penMoveEvent:
-			get_coordinates(&ev, x, y);
-
-			if (y > _screenHeight || y < 0 || x > _screenWidth || x < 0)
-				return false;
-
-			if (abs(y - event.mouse.y) <= 2 || abs(x - event.mouse.x) <= 2)
-				return false;
-
-			event.type = Common::EVENT_MOUSEMOVE;
-			event.mouse.x = x;
-			event.mouse.y = y;
-			warpMouse(x, y);
-			return true;
-
-		case penDownEvent:
-			get_coordinates(&ev, x, y);
-
-			// indy fight mode
-			if (_useNumPad && !_overlayVisible) {
-				char num = '1';
-				num += 9 -
-						(3 - (3 * x / _screenWidth )) -
-						(3 * (3 * y / _screenHeight));
-
-				event.type = Common::EVENT_KEYDOWN;
-				event.kbd.keycode = (Common::KeyCode)num;
-				event.kbd.ascii = num;
-				event.kbd.flags = 0;
-
-				_wasKey = true;
-				return true;
-			}
-
-			if (y > _screenHeight || y < 0 || x > _screenWidth || x < 0)
-				return false;
-
-			event.type = ((gVars->stylusClick || _overlayVisible) ? Common::EVENT_LBUTTONDOWN : Common::EVENT_MOUSEMOVE);
-			event.mouse.x = x;
-			event.mouse.y = y;
-			warpMouse(x, y);
-			return true;
-
-		case penUpEvent:
-			get_coordinates(&ev, x, y);
-
-			event.type = ((gVars->stylusClick || _overlayVisible) ? Common::EVENT_LBUTTONUP : Common::EVENT_MOUSEMOVE);
-			if (y > _screenHeight || y < 0 || x > _screenWidth || x < 0)
-				return false;
-
-			event.mouse.x = x;
-			event.mouse.y = y;
-			warpMouse(x, y);
-			return true;
-
-		case keyDownEvent:
-			if (ev.data.keyDown.chr == vchrCommand &&
-				(ev.data.keyDown.modifiers & commandKeyMask)) {
-
-				_lastKeyModifier++;
-				_lastKeyModifier %= kModifierCount;
-
-				if (_lastKeyModifier)
-					draw_osd((kDrawKeyState + _lastKeyModifier - 1), 2, _screenDest.h + 2, true);
-				else
-					draw_osd(kDrawKeyState, 2, _screenDest.h + 2, false);
-
-				return false;
-			}
-
-			char mask = 0;
-			UInt16 key = ev.data.keyDown.chr;
-
-			if (_lastKeyModifier == kModifierNone) {
-				// for keyboard mode
-				if (ev.data.keyDown.modifiers & shiftKeyMask)	mask |= Common::KBD_SHIFT;
-				if (ev.data.keyDown.modifiers & controlKeyMask)	mask |= Common::KBD_CTRL;
-				if (ev.data.keyDown.modifiers & optionKeyMask)	mask |= Common::KBD_ALT;
-				if (ev.data.keyDown.modifiers & commandKeyMask) mask |= Common::KBD_CTRL|Common::KBD_ALT;
-			} else {
-				// for grafiti mode
-				if (_lastKeyModifier == kModifierCommand)	mask = Common::KBD_CTRL|Common::KBD_ALT;
-				if (_lastKeyModifier == kModifierAlt)		mask = Common::KBD_ALT;
-				if (_lastKeyModifier == kModifierCtrl)		mask = Common::KBD_CTRL;
-			}
-
-			if (_lastKeyModifier)
-				draw_osd(kDrawKeyState, 2, _screenDest.h + 2, false);
-			_lastKeyModifier = kModifierNone;
-
-			// F1 -> F10 key
-			if  (key >= '0' && key <= '9' && mask == (Common::KBD_CTRL|Common::KBD_ALT)) {
-				key = (key == '0') ? 324 : (315 + key - '1');
-				mask = 0;
-
-#ifdef STDLIB_TRACE_MEMORY
-			// print memory
-			} else if  (key == 'm' && mask == (Common::KBD_CTRL|Common::KBD_ALT)) {
-				printf("Used memory: %d\n", __stdlib_trace_memory);
-#endif
-			// exit
-			} else if  ((key == 'z' && mask == Common::KBD_CTRL) || (mask == Common::KBD_ALT && key == 'x')) {
-				event.type = Common::EVENT_QUIT;
-				return true;
-
-			// num pad (indy fight mode)
-			} else if (key == 'n' && mask == (Common::KBD_CTRL|Common::KBD_ALT) && !_overlayVisible) {
-				_useNumPad = !_useNumPad;
-				draw_osd(kDrawFight, _screenDest.w - 34, _screenDest.h + 2, _useNumPad, 1);
-				displayMessageOnOSD(_useNumPad ? "Fight mode on." : "Fight mode off.");
-				return false;
-			}
-
-			// other keys
-			_wasKey = true;
-			event.type = Common::EVENT_KEYDOWN;
-			event.kbd.keycode = (Common::KeyCode)key;
-			event.kbd.ascii = key;
-			event.kbd.flags = mask;
-			return true;
-
-		default:
-			if (_wasKey && ev.eType != keyHoldEvent) {
-				event.type = Common::EVENT_KEYUP;
-				_wasKey = false;
-				return true;
-			}
-			return false;
-		};
-	}
-}

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/base_gfx.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/base_gfx.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/base_gfx.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,198 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#include "be_base.h"
-
-/*
- * Graphics modes
- *
- */
-
-static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
-	{"1x", "Normal", GFX_NORMAL},
-	{"wide", "Wide", GFX_WIDE},
-	{0, 0, 0}
-};
-
-int OSystem_PalmBase::getDefaultGraphicsMode() const {
-	return GFX_NORMAL;
-}
-
-const OSystem::GraphicsMode *OSystem_PalmBase::getSupportedGraphicsModes() const {
-	return int_getSupportedGraphicsModes();
-}
-
-const OSystem::GraphicsMode *OSystem_PalmBase::int_getSupportedGraphicsModes() const {
-	return s_supportedGraphicsModes;
-}
-
-int OSystem_PalmBase::getGraphicsMode() const {
-	return _mode;
-}
-
-bool OSystem_PalmBase::setGraphicsMode(int mode) {
-	switch (mode) {
-	case GFX_NORMAL:
-	case GFX_WIDE:
-		_setMode = mode;
-		break;
-
-	default:
-		warning("unknown gfx mode %d", mode);
-		_setMode = GFX_NORMAL;
-		return false;
-	}
-
-	return true;
-}
-
-/*
- * Init
- *
- */
-
-void OSystem_PalmBase::initSize(uint w, uint h, const Graphics::PixelFormat *format) {
-	_screenWidth	= w;
-	_screenHeight	= h;
-
-	_screenDest.w = _screenWidth;
-	_screenDest.h = _screenHeight;
-
-	unload_gfx_mode();
-	_mode = _setMode;
-	load_gfx_mode();
-
-	warpMouse(200, 150);
-	int_initSize(w, h);
-}
-
-/*
- * Palette
- *
- */
-void OSystem_PalmBase::setPalette(const byte *colors, uint start, uint num) {
-	RGBColorType *base = _currentPalette + start;
-
-	for (uint i = 0; i < num; i++) {
-		base[i].r = colors[0];
-		base[i].g = colors[1];
-		base[i].b = colors[2];
-
-		extras_palette(i + start, colors[0], colors[1], colors[2]);
-		colors += 4;
-	}
-
-	if (start < _paletteDirtyStart)
-		_paletteDirtyStart = start;
-
-	if (start + num > _paletteDirtyEnd)
-		_paletteDirtyEnd = start + num;
-}
-
-void OSystem_PalmBase::grabPalette(byte *colors, uint start, uint num) {
-	const RGBColorType *base = _currentPalette + start;
-
-	for (uint i = 0; i < num; ++i) {
-		colors[i * 4] = base[i].r;
-		colors[i * 4 + 1] = base[i].g;
-		colors[i * 4 + 2] = base[i].b;
-		colors[i * 4 + 3] = 0xFF;
-	}
-}
-
-/*
- * Screen
- *
- */
-
-void OSystem_PalmBase::setShakePos(int shakeOffset) {
-	_new_shake_pos = shakeOffset;
-	int_setShakePos(shakeOffset);
-}
-
-void OSystem_PalmBase::updateScreen() {
-	// Check whether the palette was changed in the meantime and update the
-	// screen surface accordingly.
-	if (_paletteDirtyEnd != 0 && _setPalette) {
-		WinSetDrawWindow(WinGetDisplayWindow());
-		WinPalette(winPaletteSet, _paletteDirtyStart, _paletteDirtyEnd - _paletteDirtyStart, _currentPalette + _paletteDirtyStart);
-		_paletteDirtyEnd = 0;
-		//_redawOSD = true;
-	}
-	if (_redawOSD) {
-		_redawOSD = false;
-		draw_osd(kDrawBatLow, _screenDest.w - 18, -16, _showBatLow, 2);
-		draw_osd(kDrawFight, _screenDest.w - 34, _screenDest.h + 2, (_useNumPad && !_overlayVisible), 1);
-	}
-	int_updateScreen();
-
-}
-
-void OSystem_PalmBase::draw_osd(UInt16 id, Int32 x, Int32 y, Boolean show, UInt8 color) {
-//return;
-
-	MemHandle hTemp = DmGetResource('abmp', id + 100);
-
-	if (hTemp) {
-		/*static const UInt32 pal[3] = {
-			(TwGfxComponentsToPackedRGB(0,255,0)),
-			(TwGfxComponentsToPackedRGB(255,255,0)),
-			(TwGfxComponentsToPackedRGB(255,0,0))
-		};*/
-
-		BitmapType *bmTemp;
-		bmTemp	= (BitmapType *)MemHandleLock(hTemp);
-
-		Coord w, h;
-		BmpGetDimensions(bmTemp, &w, &h, 0);
-
-		PointType dst = { _screenOffset.x + x, _screenOffset.y + y };
-		RectangleType r = { dst.x, dst.y, w, h };
-
-		RectangleType c;
-
-		UInt16 old = WinSetCoordinateSystem(kCoordinatesNative);
-		WinGetClip(&c);
-		WinResetClip();
-		if (show) {
-			WinSetDrawWindow(_screenH);
-			WinSetBackColor(0);
-			WinSetForeColor(120);	// pal[color]
-			WinFillRectangle(&r, 0);
-			WinSetDrawMode(winOverlay);
-			WinDrawBitmap(bmTemp, 0, 0);
-			WinSetDrawMode(winPaint);
-
-		} else {
-			WinSetBackColor(0);
-			WinFillRectangle(&r, 0);
-		}
-		WinSetClip(&c);
-		WinSetCoordinateSystem(old);
-
-		MemPtrUnlock(bmTemp);
-		DmReleaseResource(hTemp);
-	}
-}

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/base_mouse.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/base_mouse.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/base_mouse.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,101 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#include "be_base.h"
-
-void OSystem_PalmBase::warpMouse(int x, int y) {
-	if (x != _mouseCurState.x || y != _mouseCurState.y) {
-		x = x >= _screenWidth  ? _screenWidth  - 1 : x;
-		y = y >= _screenHeight ? _screenHeight - 1 : y;
-
-		_mouseCurState.x = x;
-		_mouseCurState.y = y;
-	}
-}
-
-bool OSystem_PalmBase::showMouse(bool visible) {
-	bool last = _mouseVisible;
-	_mouseVisible = visible;
-
-	return last;
-}
-
-void OSystem_PalmBase::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) {
-	if (w == 0 || h == 0)
-		return;
-
-	_mouseHotspotX = hotspotX;
-	_mouseHotspotY = hotspotY;
-
-	_mouseKeyColor = keycolor;
-
-	if (_mouseCurState.w != w || _mouseCurState.h != h) {
-		_mouseCurState.w = w;
-		_mouseCurState.h = h;
-
-		if (_mouseDataP)
-			free(_mouseDataP);
-
-		if (_mouseBackupP)
-			free(_mouseBackupP);
-
-		_mouseDataP = (byte *)malloc(w * h);
-		_mouseBackupP = (byte *)malloc(w * h * 2); // if 16bit = *2
-	}
-
-	if (!_mouseBackupP) {
-		free(_mouseDataP);
-		_mouseDataP = NULL;
-	}
-
-	if (_mouseDataP)
-		memcpy(_mouseDataP, buf, w * h);
-}
-
-void OSystem_PalmBase::simulate_mouse(Common::Event &event, Int8 iHoriz, Int8 iVert, Coord *xr, Coord *yr) {
-	Int16 x = _mouseCurState.x;
-	Int16 y = _mouseCurState.y;
-	Int16 slow, fact;
-
-	_lastKeyRepeat++;
-	fact = _screenWidth / 320;
-	fact = (fact) ? fact : 1;
-
-	if (_lastKeyRepeat > 32 * fact)
-		_lastKeyRepeat = 32 * fact;
-
-	slow = (iHoriz && iVert) ? 2 : 1;
-
-	x += iHoriz * (_lastKeyRepeat >> 2) / slow * fact;
-	y += iVert * (_lastKeyRepeat >> 2) / slow * fact;
-
-	x = (x < 0				) ? 0					: x;
-	x = (x >= _screenWidth	) ? _screenWidth - 1	: x;
-	y = (y < 0				) ? 0					: y;
-	y = (y >= _screenHeight	) ? _screenHeight - 1	: y;
-
-	*xr = x;
-	*yr = y;
-}

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/be_68k.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_68k.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_68k.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,27 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-
-/* More to come */

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/be_68k.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_68k.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_68k.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,27 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-
-/* More to come */

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/be_base.cpp
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_base.cpp	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_base.cpp	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,203 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#include "be_base.h"
-#include "common/config-file.h"
-#include "common/config-manager.h"
-#include "backends/saves/default/default-saves.h"
-#include "backends/timer/default/default-timer.h"
-#include "backends/fs/palmos/palmos-fs-factory.h"
-#include "sound/mixer_intern.h"
-
-#define DEFAULT_SAVE_PATH "/PALM/Programs/ScummVM/Saved/"
-
-
-OSystem_PalmBase::OSystem_PalmBase() {
-	_overlayVisible = false;
-
-	_current_shake_pos = 0;
-	_new_shake_pos = 0;
-
-	_paletteDirtyStart = 0;
-	_paletteDirtyEnd = 0;
-
-	_gfxLoaded = false;
-	_modeChanged = false;
-	_setMode = GFX_NORMAL;
-	_mode = _setMode;
-	_redawOSD = false;
-	_setPalette = true;
-
-	_offScreenH = NULL;
-	_screenH = NULL;
-	_offScreenP = NULL;
-	_screenP = NULL;
-	_screenPitch = gVars->screenPitch;
-
-	_wasKey = false;
-	_lastKeyModifier = kModifierNone;
-	_lastKeyRepeat = 100;
-	_useNumPad = false;
-	_showBatLow = false;
-	_batCheckTicks = SysTicksPerSecond() * 15;
-	_batCheckLast = TimGetTicks();
-
-	_saveMgr = 0;
-	_timerMgr = 0;
-	_mixerMgr = 0;
-
-	_mouseDataP = NULL;
-	_mouseBackupP = NULL;
-	_mouseVisible = false;
-	_mouseDrawn = false;
-	MemSet(&_keyExtra, sizeof(_keyExtra), 0);
-	MemSet(&_mouseCurState, sizeof(_mouseCurState), 0);
-	MemSet(&_mouseOldState, sizeof(_mouseOldState), 0);
-	MemSet(&_timer, sizeof(TimerType), 0);
-	MemSet(&_sound, sizeof(SoundType), 0);
-
-	_keyExtraRepeat = 0;
-	_keyExtraPressed = 0;
-	_keyExtraDelay = (gVars->arrowKeys) ? computeMsecs(125) : computeMsecs(25);
-}
-
-static int timer_handler(int t) {
-	DefaultTimerManager *tm = (DefaultTimerManager *)g_system->getTimerManager();
-	tm->handler();
-	return t;
-}
-
-void OSystem_PalmBase::initBackend() {
-	if (gVars->autoSave != -1)
-		ConfMan.setInt("autosave_period", gVars->autoSave);
-
-	_keyExtra.bitUp		= keyBitPageUp;
-	_keyExtra.bitDown	= keyBitPageDown;
-	_keyExtra.bitLeft	= keyBitHard2;
-	_keyExtra.bitRight	= keyBitHard3;
-
-	int_initBackend();
-	_keyExtraMask = (_keyExtra.bitUp | _keyExtra.bitDown | _keyExtra.bitLeft | _keyExtra.bitRight | _keyExtra.bitActionA | _keyExtra.bitActionB);
-
-	// Create the savefile manager, if none exists yet (we check for this to
-	// allow subclasses to provide their own).
-	if (_saveMgr == 0) {
-		_saveMgr = new DefaultSaveFileManager(DEFAULT_SAVE_PATH);
-	}
-
-	// Create and hook up the mixer, if none exists yet (we check for this to
-	// allow subclasses to provide their own).
-	if (_mixerMgr == 0) {
-		setupMixer();
-	}
-
-	// Create and hook up the timer manager, if none exists yet (we check for
-	// this to allow subclasses to provide their own).
-	if (_timerMgr == 0) {
-		_timerMgr = new DefaultTimerManager();
-		setTimerCallback(::timer_handler, 10);
-	}
-
-	OSystem::initBackend();
-}
-
-void OSystem_PalmBase::getTimeAndDate(TimeDate &td) const {
-	time_t curTime = time(0);
-	struct tm t = *localtime(&curTime);
-	td.tm_sec = t.tm_sec;
-	td.tm_min = t.tm_min;
-	td.tm_hour = t.tm_hour;
-	td.tm_mday = t.tm_mday;
-	td.tm_mon = t.tm_mon;
-	td.tm_year = t.tm_year;
-}
-
-uint32 OSystem_PalmBase::getMillis() {
-	return TimGetTicks() * 1000 / SysTicksPerSecond();
-}
-
-void OSystem_PalmBase::delayMillis(uint msecs) {
-	Int32 delay = computeMsecs(msecs);
-
-	if (delay > 0)
-		SysTaskDelay(delay);
-}
-
-void OSystem_PalmBase::setTimerCallback(TimerProc callback, int timer) {
-	if (callback != NULL) {
-		_timer.duration = timer;
-		_timer.nextExpiry = getMillis() + timer;
-		_timer.callback = callback;
-		_timer.active = true;
-	} else {
-		_timer.active = false;
-	}
-}
-
-void OSystem_PalmBase::quit() {
-	int_quit();
-	clearSoundCallback();
-	unload_gfx_mode();
-
-	if (_mouseDataP) {
-		MemPtrFree(_mouseBackupP);
-		MemPtrFree(_mouseDataP);
-	}
-
-	delete _saveMgr;
-	delete _timerMgr;
-	delete _mixerMgr;
-
-	exit(0);
-}
-
-Common::SaveFileManager *OSystem_PalmBase::getSavefileManager() {
-	return _saveMgr;
-}
-
-Audio::Mixer *OSystem_PalmBase::getMixer() {
-	return _mixerMgr;
-}
-
-Common::TimerManager *OSystem_PalmBase::getTimerManager() {
-	return _timerMgr;
-}
-
-FilesystemFactory *OSystem_PalmBase::getFilesystemFactory() {
-	return &PalmOSFilesystemFactory::instance();
-}
-
-
-#define PALMOS_CONFIG_FILE "/PALM/Programs/ScummVM/scummvm.ini"
-
-Common::SeekableReadStream *OSystem_PalmBase::createConfigReadStream() {
-	Common::FSNode file(PALMOS_CONFIG_FILE);
-	return file.createReadStream();
-}
-
-Common::WriteStream *OSystem_PalmBase::createConfigWriteStream() {
-	Common::FSNode file(PALMOS_CONFIG_FILE);
-	return file.createWriteStream();
-}

Deleted: scummvm/trunk/backends/platform/PalmOS/Src/be_base.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_base.h	2010-07-17 18:38:42 UTC (rev 50963)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_base.h	2010-07-17 18:41:38 UTC (rev 50964)
@@ -1,265 +0,0 @@
-/* ScummVM - Graphic Adventure Engine
- *
- * 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$
- *
- */
-
-#ifndef BE_BASE_H
-#define BE_BASE_H
-
-#include <time.h>
-
-#include "PalmVersion.h"
-#include "globals.h"
-
-#include "backends/base-backend.h"
-#include "common/scummsys.h"
-#include "common/events.h"
-#include "graphics/surface.h"
-#include "graphics/colormasks.h"
-
-namespace Audio {
-	class MixerImpl;
-}
-
-namespace Common {
-	class SaveFileManager;
-	class TimerManager;
-}
-
-enum {
-	GFX_NORMAL = 0,
-	GFX_WIDE,
-};
-
-// OSD key state
-enum {
-	kModifierNone = 0,
-	kModifierCommand,
-	kModifierAlt,
-	kModifierCtrl,
-	kModifierCount
-};
-
-// Mouse button event
-enum {
-	vchrMouseLeft = vchrHardKeyMax - 2,
-	vchrMouseRight = vchrHardKeyMax - 1
-};
-
-// OSD resource id
-#define kDrawKeyState	3000
-#define kDrawNumPad		3010
-#define kDrawBatLow		3020
-#define kDrawFight		3030
-
-#define computeMsecs(x) ((SysTicksPerSecond() * x) / 1000)
-
-

@@ Diff output truncated at 100000 characters. @@

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