Commit Graph
109 Commits
Author SHA1 Message Date
Torbjörn Andersson 46a5320f0d Allow quitting or returning to the launcher while cutscenes are playing.
svn-id: r34657
2008-09-27 17:47:22 +00:00
Max Horn 2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn d3642080de Moved check for shouldRTL() from engines to scummvm_main
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn 531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Christopher Page ec8dac5540 Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page dca5f7dc20 If the last savegame is deleted, reset save_slot in config man to -1
svn-id: r33918
2008-08-15 21:25:24 +00:00
Christopher Page 603f0a2f8c Fixes for Sword1 engine loading from launcher
svn-id: r33915
2008-08-15 20:49:56 +00:00
Christopher Page 9d3cdcb2da Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
svn-id: r33909
2008-08-15 18:15:14 +00:00
Christopher Page b0e0896579 Added --list-saves support for SWORD1
svn-id: r33395
2008-07-29 04:51:23 +00:00
Christopher Page 437b9ee281 More work with SWORD1 sound settings
svn-id: r33091
2008-07-17 20:08:59 +00:00
Christopher Page 41d896dc2f SWORD1 Sound settings work with the GMM
svn-id: r33090
2008-07-17 17:49:38 +00:00
Christopher Page 0175425109 Overlooked something in SWORD1, works now
svn-id: r33045
2008-07-13 22:08:58 +00:00
Christopher Page e7d7f8df95 SWORD1 works with the new GMM implementation
svn-id: r33043
2008-07-13 21:54:23 +00:00
Jordi Vilalta Prat 38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Max Horn 88bb567e18 Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
2008-02-15 17:01:35 +00:00
Jordi Vilalta Prat c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn 8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn dc979b03cf New MetaEngine class (work in progress to replace the current Engine plugin API with a more object oriented approach)
svn-id: r30726
2008-02-02 00:54:52 +00:00
Paul Gilbert 6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Eugene Sandulenko 23313cb82e Patch #1733017: "SWORD1: Possible patch for bug #1730183"
svn-id: r30124
2008-01-01 16:42:05 +00:00
Max Horn a556368c99 Update mouse coordinates onn *all* mouse events, i.e. also after click events
svn-id: r29657
2007-11-28 15:00:41 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
David Corrales 9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +00:00
Travis Howell 2e3ce7dc8e Fix FLAC support for speech in Broken Sword 1.
svn-id: r27723
2007-06-26 05:51:47 +00:00
David Corrales cacd7a28fd Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
2007-06-23 18:51:33 +00:00
Max Horn d0ee1b3c8f BS1: Make use of Common::KeySate::reset()
svn-id: r27636
2007-06-22 22:19:17 +00:00
Max Horn 1441f0d044 Converted rest of BS1 to use Common::KeyState (removing two more hacks)
svn-id: r27631
2007-06-22 22:00:46 +00:00
Torbjörn Andersson e42da8f24c Use KEYCODE constants.
svn-id: r27600
2007-06-22 09:27:13 +00:00
David Corrales 3b96c7fad5 Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.

svn-id: r27113
2007-06-05 21:02:35 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Gregory Montoir 5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Max Horn ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn 15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Eugene Sandulenko cd8a5f3a98 First phase of detection-related plugins interface improvements. Now plugins
return StringMap instead of fixed list of parameters. This adds great
flexibility.

Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.

svn-id: r25134
2007-01-20 21:27:57 +00:00
Travis Howell 0141cbd1df GF_DEMO is only required by the PC version of Broken Sword 1 demo
svn-id: r24853
2006-12-15 00:59:11 +00:00
Eugene Sandulenko 3244d20ee2 Add proper detection of BS1 Mac demo. Game crashes at attempt to play speech.
svn-id: r24851
2006-12-14 21:23:24 +00:00
Eugene Sandulenko 3e6414a55f Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemo
target was commented out until existence of the demo is confirmed.

svn-id: r24697
2006-11-12 19:05:51 +00:00
Max Horn a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Max Horn 4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Johannes Schickel 412db86dcf Using FilesystemNode::name instead of FilesystemNode::displayName in the sword1 detector code too.
svn-id: r23556
2006-07-22 14:37:52 +00:00
Max Horn d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
Torbjörn Andersson 1569d5fadc Cleanup.
svn-id: r23194
2006-06-20 18:08:03 +00:00
Max Horn d016c353c5 Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
svn-id: r22315
2006-05-03 20:43:26 +00:00
Max Horn 58c723d9f0 Use FilesystemNode, never AbstractFilesystemNode (which is for internal use only)
svn-id: r22296
2006-05-03 10:12:42 +00:00
Max Horn bf73598811 * Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
* Removed Engine_Empty (obsolete now that engines can return actual error codes)

svn-id: r22199
2006-04-29 00:27:20 +00:00
Torbjörn Andersson 8740bc0134 Fixed silly bug in --save-slot handling: Don't try to restore a savegame unless
the specified save slot is > 0. (The default value is -1, which shouldn't be
restored either.)

I thought I had fixed that already, but I guess I made a last-minute change...

svn-id: r22069
2006-04-21 10:24:22 +00:00
Torbjörn Andersson 6b034b66d8 Added support for the --save-slot option for Broken Sword 1. (Feature request
#1460977.)

svn-id: r22009
2006-04-18 18:23:57 +00:00
Torbjörn Andersson e22f1c64c5 Call updateScreen() from delay functions for smoother mouse cursor movement.
svn-id: r21996
2006-04-18 00:20:07 +00:00
Max Horn 68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00