Commit Graph
214 Commits
Author SHA1 Message Date
Max Horn 2bb39e591f Moved the engine plugin code to engines/metaengine.h; added/clarified/corrected various Doxygen comments for the plugin system
svn-id: r32083
2008-05-13 10:41:32 +00:00
Jordi Vilalta Prat 2c9968fe80 - Added an engine plugin manager and moved engine specific functionality into it
- base/plugins.* reorganization

svn-id: r32045
2008-05-12 00:26:29 +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 6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +00:00
Filippos Karapetis d2d49e224b Implemented FR #1754616 - "GUI: Add option to delete games using the "Del" Key"
svn-id: r28131
2007-07-17 21:59:44 +00:00
David Corrales 9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +00:00
Neil Millstone e2495f1d21 Fix for launcher detecting DS configuration section in config file as a game
svn-id: r27874
2007-07-02 22:48:39 +00:00
Max Horn 2243197f50 Changed GUI system to use Common::KeyState state
svn-id: r27786
2007-06-30 12:26:59 +00:00
Eugene Sandulenko bebaccbe65 Patches #1743201: "GUI: Reworked modern theme"
svn-id: r27744
2007-06-27 09:53:22 +00:00
Eugene Sandulenko 3165e380c5 Patch #1743196: "GUI: Remove trailing spaces in some strings"
svn-id: r27741
2007-06-27 09:28:09 +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 a5c2c06a97 If we failed to compute any description for a game target, create a dummy description (this ensures that the entry is at least displayed)
svn-id: r27419
2007-06-15 16:32:14 +00:00
Eugene Sandulenko 2982a6ebb3 Fix bugs #1709323: "GUI: Button overlapping" and #1677997: "GUI: Switching
options dialog between 1x and 2x" by introducing Volume tab to all resolutions

svn-id: r27345
2007-06-11 07:57:39 +00:00
Eugene Sandulenko 7f7abe8706 Revert commits:
r27175: Added partial workaround for bug #1677997
r27311: Extended the fix for bug #1677997 to also cover the global options dialog; also made the code a bit more flexible
r27312: Oops, fix crash when opening globals options dialog

svn-id: r27344
2007-06-11 07:35:52 +00:00
Max Horn 3c359449ad Oops, fix crash when opening globals options dialog
svn-id: r27312
2007-06-10 14:23:26 +00:00
Max Horn 85893e457d Extended the fix for bug #1677997 to also cover the global options dialog; also made the code a bit more flexible
svn-id: r27311
2007-06-10 13:56:10 +00:00
Max Horn c7169a36ff Added partial workaround for bug #1677997
svn-id: r27175
2007-06-07 17:55:39 +00:00
Max Horn 4ecce505db Added a FIXME/TODO regarding the volume override control in the 'Edit Game' options dialog
svn-id: r27174
2007-06-07 17:36:47 +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
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 cfe7ecd6d9 Don't track the modifier state, use the eventmanager instead (this also fixes bug #1657322, GUI: 'Mass Add' button text does not revert after mass add)
svn-id: r26174
2007-03-17 16:05:16 +00:00
Max Horn a73c6c3670 Added new file gui/object.cpp (collecting GuiObject methods in there), and renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted)
svn-id: r26147
2007-03-16 20:47:41 +00:00
Torbjörn Andersson d7e9510265 Updated the conditions for the "override" checkboxes. Most of it is probably
only noticeable if you edit the config file manually, but the volume settings
should definitely affect the Audio override if there is no separate Volume tab.

svn-id: r26066
2007-03-10 18:25:37 +00:00
Max Horn 0219b46e9d Simplified addGameToConf and at the same time made it more powerful: Copy all key/value pairs returned by the detector to the new config file domain
svn-id: r25701
2007-02-18 18:39:46 +00:00
Max Horn da67fb9de4 Redraw the launcher after doing a mass add
svn-id: r25699
2007-02-18 18:36:21 +00:00
Max Horn 94507bb44d Improved 'Mass Detector': Now displays a dialog which displays the scan progress to the user, and can be cancelled (the whole thing still needs to be polished)
svn-id: r25697
2007-02-18 18:23:52 +00:00
Eugene Sandulenko dae00f1a4a Disable clear soundfont path button when path is not selected.
svn-id: r25568
2007-02-13 21:41:49 +00:00
Max Horn 986ff06af9 Fix for bug #1656870 (GUI: MassAdd: One Has to click twice to confirm)
svn-id: r25491
2007-02-11 14:25:46 +00:00
Eugene Sandulenko 0d01bdd799 Make Add Button caption react to Shift key.
svn-id: r25373
2007-02-04 02:36:23 +00:00
Eugene Sandulenko adcfd2cc5f Now AdvancedDetector could use single ID per engine. Also it can suggest
more complex game IDs with platform and language specified.

AGI engine benefits most from that.
Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID.

svn-id: r25269
2007-01-29 23:25:51 +00:00
Max Horn aae330b4c1 Pass objects by (const) ref instead of value; only set game description in the config file if one has been specified
svn-id: r25243
2007-01-28 10:38:23 +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
Torbjörn Andersson d6e67af247 Fixed excessive indentation and removed leftover printf.
svn-id: r24749
2006-11-19 22:32:35 +00:00
Eugene Sandulenko 4f32bdba6c Patch #1595705: "Select last game when removing the last game of the list"
svn-id: r24707
2006-11-13 16:29:14 +00:00
Johannes Schickel 77e40457a8 - Fix crash if theme_logo.visible is set to true in a classic theme config file
svn-id: r24513
2006-10-25 21:49:33 +00:00
Johannes Schickel 6e16df7891 - renamed GUI::ThemeNew to GUI::ThemeModern
- renamed ThemeNew.cpp to ThemeModern.cpp

svn-id: r24512
2006-10-25 21:20:31 +00:00
Max Horn d01420c344 Add a somewhat hackish, uber-sekrit mass-add-game-feature (shift-click 'Add...' button to use at your own risk)
svn-id: r24085
2006-10-02 22:28:02 +00:00
Max Horn 4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Eugene Sandulenko 965cfe4008 Fix bug #1562795: "Bug with auto-generated game IDs"
svn-id: r23960
2006-09-21 11:42:44 +00:00
Max Horn 1a10cacfb9 Renamed handleScreenChanged() -> reflowLayout() in the GUI code
svn-id: r23662
2006-08-04 13:55:53 +00:00
Torbjörn Andersson 9ab0c1d915 Clear the active domain when (re)opening the launcher dialog. This fixes bug
#1523050.

svn-id: r23571
2006-07-22 21:23:49 +00:00
Torbjörn Andersson 6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +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 49af7d44c2 Applied patches from bug report #1276480, "GUI: Accented characters". This
changes quite a lot of things in the font renderer and the convbdf tools, so
there may be regressions, but we want this feature for 0.9.0.

svn-id: r23208
2006-06-20 22:50:27 +00:00
Eugene Sandulenko 6f844ae420 - Make tabs narrower so they all fit on screen. Now navigation buttons
appear only on PSP resolution
- Combined Audio/Volume tab in game options for consistency.

svn-id: r23130
2006-06-15 13:18:28 +00:00
Eugene Sandulenko bc74af60a6 - Consistent order of tabs between global and game options
- Consistent order of paths on paths tab in global and game options

svn-id: r23118
2006-06-15 02:30:05 +00:00
Eugene Sandulenko 9b2e92b686 Patch from bugreport #1503715: "Quit should clear domain"
svn-id: r23036
2006-06-11 21:41:04 +00:00
Torbjörn Andersson 0be035e470 Re-calculate the label width for EditGameDialog's language and platform pop-ups
when the screen changes.

svn-id: r23034
2006-06-11 21:26:43 +00:00
Torbjörn Andersson 3e72e5c9e0 Re-align the launcher version string when the screen changes. It could be
argued that the widget should do this automagically, but in most cases they
should probably keep the same alignment at all resolutions, so this is the
exception that (dis)proves the rule.

svn-id: r22906
2006-06-03 22:00:20 +00:00