Vicent Marti
103a4f6681
Added support for image loading/blitting.
...
Added support for loading theme files.
(Make sure to grab the sample theme "scummodern.zip" from the gui/themes/ directory to try it out)
Misc fixes.
svn-id: r33718
2008-08-09 18:34:16 +00:00
Vicent Marti
dab1fa0942
Resolution-dependence in XML files.
...
G1X scaler GUI now loads. Added layout for the launcher menu.
MILESTONE: All core GUI dialogs/widgets working on G2x/G3x
MILESTONE: Completely removed old Evaluator/Parser.
Improved layout expanding again.
Improved XML parser.
Several bugfixes.
svn-id: r33704
2008-08-08 18:30:16 +00:00
Vicent Marti
21989844a9
Game Options menu parsing.
...
Added support for importing layouts inside other layouts.
Misc bugfixes.
svn-id: r33676
2008-08-07 10:53:33 +00:00
Christopher Page
8bcc4619ec
Added a check to make sure there is an active engine available when trying to load a game from the launcher
...
svn-id: r33652
2008-08-06 01:48:46 +00:00
Vicent Marti
eb3d163439
Look, the launcher is rendered with the new layout parser.
...
svn-id: r33641
2008-08-05 16:23:17 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Max Horn
01c50cfe1d
Proper fix for bug #2035390 : Check for ConfigManager::kApplicationDomain, and also forbid targets starting with an underscore
...
svn-id: r33562
2008-08-03 08:05:19 +00:00
Eugene Sandulenko
da2720d498
Fix bug #2035390 : "GUI: setting game id to "scummvm" messes up list"
...
svn-id: r33554
2008-08-02 23:05:38 +00:00
Christopher Page
1fe2700dab
Added support for Savestates to be loaded from the launcher
...
svn-id: r33461
2008-07-30 21:48:45 +00:00
Max Horn
df6e8e8889
Added convenience accessor method GameDescriptor::preferredtarget
...
svn-id: r33414
2008-07-29 16:16:15 +00:00
Christopher Page
7009aae893
Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear
...
svn-id: r32719
2008-06-16 18:47:32 +00:00
Max Horn
42427f9a4e
Modified mass detector to not re-add already configured games (that is, if there is an existing entry with identical path, gameid, platform, language, then do not add a new one)
...
svn-id: r32664
2008-06-11 06:22:02 +00:00
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
Max Horn
76116f36dd
*Loads* of Common::String related optimizations. Woa, *tons* of methods were copying strings needlessly
...
svn-id: r22873
2006-06-03 13:33:39 +00:00
Eugene Sandulenko
b6a56e0795
- Split global audio tab into audio and volume
...
- More logical order in game options tab
svn-id: r22774
2006-05-30 17:35:57 +00:00
Eugene Sandulenko
5bbe44cd50
Fix bug #1496582 "GUI: Default graphics mode not committing".
...
svn-id: r22763
2006-05-30 01:41:49 +00:00
Johannes Schickel
1d72b954c7
Introduces special switch for GraphicsWidget for use of theme transparency again.
...
svn-id: r22746
2006-05-29 14:55:43 +00:00
Johannes Schickel
0a557cf2a4
- changes transparency parameter of Theme::drawSurface to alpha parameter.
...
- adds possibility to draw GraphicsWidgets with alpha values.
svn-id: r22738
2006-05-29 14:00:00 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +00:00
Max Horn
dad44b45d3
Removed Base::setTarget, and some minor cleanup & tweaks
...
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
5d5c02d66c
Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
...
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
6321cfc874
Turned the last remaining few GameDetector methods into static methods
...
svn-id: r22344
2006-05-04 22:52:18 +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
Won Star
95c134c9a8
Fix compile with DISABLE_FANCY_THEME.
...
svn-id: r22060
2006-04-20 12:25:25 +00:00
Johannes Schickel
30787714d3
Started to prepare the gui for runtime resolution switches.
...
(some little things could be missing yet though)
svn-id: r22017
2006-04-19 01:05:28 +00:00
Johannes Schickel
955b53fb88
Fixes bug with wrong colors in the logo after a screen change. (this time it works!)
...
svn-id: r21984
2006-04-17 18:50:33 +00:00
Johannes Schickel
b99632831f
This should fix wrong colors of the scummvm logo in the new theme after screen change.
...
svn-id: r21953
2006-04-16 20:33:52 +00:00
Max Horn
555a568e59
Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
...
svn-id: r21943
2006-04-16 13:58:11 +00:00
Max Horn
9f93e5bb81
Renamed various container isEmpty() methods to empty() to match STL conventions
...
svn-id: r21472
2006-03-28 09:42:54 +00:00
Max Horn
08ad918af6
Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
...
svn-id: r21426
2006-03-24 14:15:45 +00:00
Eugene Sandulenko
819033b649
o Move built-in evaluator constants to AssocArray to speed it up
...
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file
svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
60793c0e64
Positioned logo properly, added different version number rendering and
...
got rid of antialiasing artifacts
svn-id: r21270
2006-03-14 03:08:14 +00:00
Eugene Sandulenko
c9970b78b5
Rearrange launcher.
...
Logo is still shown weirdly.
svn-id: r21268
2006-03-14 02:19:38 +00:00
Eugene Sandulenko
8a5f44d797
Converted last dialogs to new scheme. Now it seems to be everything. Please,
...
test throghoutly.
svn-id: r21157
2006-03-09 05:18:00 +00:00
Max Horn
e53e0e5885
- Removed the code from the launcher that adds language/platform to the
...
game descriptions. Doing this now is the responsibility of the engines.
- Adapted the SCUMM engine to add lang/platform to the desc string if
necessary. Other engines still have to be adapted (but many do not seem to
need this at all, since they either are lang/platform agnostic, or already
include this information in their MD5 tables).
svn-id: r21154
2006-03-09 03:09:21 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
fc84c7fc1d
o More widgets fot alternative constructors
...
o Cleanup of launcher dialog
o Implemented useWithPrefix keyword
svn-id: r21131
2006-03-07 19:02:42 +00:00
Eugene Sandulenko
018c93b14a
More work on customizable GUI.
...
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
2006-03-07 05:39:52 +00:00
Max Horn
db5bd6e17e
EditGameDialog only needs the game description, not the full GameSettings -> changing constructor accordingly
...
svn-id: r20750
2006-02-18 11:12:08 +00:00
Max Horn
b34e207dbb
Change CVS keywords to SVN keywords
...
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
5fda0cc6f1
- Fixes a bug that the debugger crashed while opening
...
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog
svn-id: r20276
2006-01-28 23:03:39 +00:00
Travis Howell
cb5d7b8029
Always save gameid.
...
svn-id: r20260
2006-01-28 00:22:02 +00:00
Johannes Schickel
5051b080a2
- adds the new gui renderer also a new implementation for the classic gui
...
- adds a ImageMan and ImageDec class for loading and managing image files
- adds a loader for zip files which is used by the new theme and the image manager
- changes the widgets to use the new gui code
- changes the scumm dialogs to use the new gui code
- fixes a #include problem in the sky debugger with the new gui code
To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.
Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.
svn-id: r20227
2006-01-27 15:43:23 +00:00
Max Horn
0b39c0ea9f
Fix various incorrect usages of the word 'target' instead of 'gameid'; change the ambigiuous 'GameSettings::name' to 'GameSettings::gameid'
...
svn-id: r20115
2006-01-21 13:01:20 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Torbjörn Andersson
990ad8f210
I forgot there were path buttons in this file. They, too, need to be wider
...
to avoid truncating the text in the smaller version of the GUI.
svn-id: r18702
2005-08-18 15:21:58 +00:00
Gregory Montoir
42d4032b59
committed patch #1255847 , thanks Simon Sawatzki.
...
svn-id: r18653
2005-08-10 18:30:55 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
41f69db19f
Cleanup.
...
svn-id: r18324
2005-06-03 12:33:03 +00:00
Torbjörn Andersson
801db4a515
Added big editable text widget, and removed some cruft. I think this means
...
that all our widgets are able to scale themselves now, but I could be
mistaken.
svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
81453854ee
Big version of the popup widget. It could use a bit more polish, though...
...
svn-id: r18185
2005-05-19 17:03:31 +00:00
Torbjörn Andersson
7d0d766988
More scaling work. It's still more about infrastructure than layout: I want
...
to give each widget the opportunity to scale itself.
There's a slight regression this time, though: In the small version of the
GUI, some of the buttons (e.g. "SoundFont") have their text truncated. Not
good.
svn-id: r18182
2005-05-19 13:10:57 +00:00
Torbjörn Andersson
4aac7819d1
Some more scaling work. Parts of the options dialogs scale themselves. Some
...
of them better than others.
svn-id: r18165
2005-05-18 14:11:53 +00:00
Torbjörn Andersson
ef8e42473a
Made use of addCheckbox(). I had to add an alternative form of the function
...
because most checkboxes are on tabs. (We'll probably need a similar form of
addButton() as well.)
svn-id: r18161
2005-05-18 10:12:20 +00:00
Torbjörn Andersson
4ecb6d650f
Added "big" version of the Tab widget, and made use of it.
...
svn-id: r18134
2005-05-17 06:19:42 +00:00
Torbjörn Andersson
6bcfb6ed97
Fixed the SoundFont button's behaviour in the Edit Game dialog.
...
svn-id: r18125
2005-05-16 06:33:33 +00:00
Max Horn
2935434504
Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
...
svn-id: r18123
2005-05-16 00:38:30 +00:00
Max Horn
c9290b68ff
Made the launcher dialog scale itself
...
svn-id: r18122
2005-05-16 00:26:23 +00:00
Max Horn
1f3ce23da8
GameDetector isn't actually used here
...
svn-id: r17757
2005-04-22 21:20:22 +00:00
Max Horn
aea451f092
Reunify DirBrowserDialog and FileBrowserDialog; implemented file browser mode for OSX, too; fixed some memory leaks in the launcher
...
svn-id: r17639
2005-04-16 17:55:09 +00:00
Eugene Sandulenko
bdbd56406c
Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
...
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot.
svn-id: r17571
2005-04-13 00:11:49 +00:00
Torbjörn Andersson
13dc149ded
Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
...
changes. There are a few things that could use a bit more work, and I've
only tested it on my Linux box. I have verified that ScummVM still compiles
when it's disabled, though, so it shouldn't break anything too badly.
svn-id: r17512
2005-04-10 14:33:44 +00:00
Max Horn
b43a53f74d
Move more text editing code into class EditableWidget; ListWidget now has all the editing capabilities of EditTextWidget
...
svn-id: r16694
2005-01-29 18:04:34 +00:00
Max Horn
04fc9fe6e7
Started to merge the text editing code in ListWidget and EditTextWidget
...
svn-id: r16692
2005-01-29 16:30:51 +00:00
Max Horn
41b914e773
After adding a new game, select the new entry
...
svn-id: r16434
2005-01-05 01:42:52 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
9581bd5691
Fix for bug #1091801 (ALL: Possible to create corrupt config file)
...
svn-id: r16379
2004-12-30 12:54:04 +00:00
Max Horn
81b6e9e1e6
Get rid of the useless & troublesome master_volume
...
svn-id: r16328
2004-12-25 23:43:05 +00:00
Eugene Sandulenko
509f1b040f
Fix warning
...
svn-id: r16325
2004-12-25 23:19:42 +00:00
Max Horn
02c0a25c31
Partial fix for bug #1091189 : restore the selection after editing the games list in the launcher
...
svn-id: r16324
2004-12-25 22:26:28 +00:00
Max Horn
4a0c1b86f7
Make ESC key work in the launcher
...
svn-id: r16323
2004-12-25 22:13:44 +00:00
Robert Göffringmann
0d7ab01640
Pass subdirectories to gamedetector functions
...
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
5d9b35510d
Changed the FilesystemNode implementation to make it easier to use (client code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-)
...
svn-id: r15848
2004-11-20 21:35:49 +00:00
Max Horn
ee3158cb8c
Patch #896096 (Restoring last selected game selection) with some personal modifications
...
svn-id: r15372
2004-10-01 21:12:18 +00:00
Max Horn
a956d5ece6
Ignore case when sorting entries in the launcher
...
svn-id: r14756
2004-08-26 00:27:51 +00:00
Max Horn
ee70457667
Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
...
svn-id: r14557
2004-08-11 21:49:58 +00:00
Max Horn
580870e9ba
Fix label width; properly distinguish between a global default extrapath/savepath, and a target specific one
...
svn-id: r14343
2004-07-26 18:11:55 +00:00
James Brown
06dc6a2c4e
Backport C&P bug from local tree
...
svn-id: r14143
2004-07-01 10:24:42 +00:00
James Brown
d611b4bf1f
Add 'Path' tab to launcher, w/ selection for Game, Data and a new 'Extra' path.
...
Extrapath is used for pointing to additional game resources - for example, running BS 1 or 2 directly from original CDs, Extrapath would point to the cutscene packs.
svn-id: r14125
2004-06-29 14:23:39 +00:00
Torbjörn Andersson
349f63ebfc
Changed "voice_volume" to "speech_volume" for consistency with the Broken
...
Sword games. (The digial iMUSE code still calls it voice volume, though.)
svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
f141ad488b
added voice group volume to scumm engine for imuse digital and implemeted volume groups control
...
svn-id: r13468
2004-04-05 18:24:36 +00:00
Max Horn
997ccc6c05
fix memory leak
...
svn-id: r13381
2004-03-25 21:31:03 +00:00
Max Horn
4a15a80eb3
Fix for bug #917532 (GUI: BrowserDialog return value)
...
svn-id: r13320
2004-03-17 00:07:43 +00:00
Max Horn
deb96003a2
Aaargh, didn't mean to commit this...
...
svn-id: r13296
2004-03-15 02:28:47 +00:00
Max Horn
782dabbcd3
...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
...
svn-id: r13295
2004-03-15 02:21:04 +00:00
Paweł Kołodziejski
bbc9d84e29
fixed compilation
...
svn-id: r12789
2004-02-09 07:52:21 +00:00
Max Horn
1141ff1ac2
Modified version of patch #892795 (Let scumvm -v show supported libs)
...
svn-id: r12780
2004-02-09 01:27:27 +00:00
Max Horn
be73a85297
Make use of the MD5-based game detection in the launcher
...
svn-id: r12766
2004-02-07 17:12:10 +00:00
Max Horn
f59eb3b219
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
...
svn-id: r12722
2004-02-05 00:19:57 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
24fcd71e84
cleanup for language/platform functions
...
svn-id: r12034
2003-12-30 19:07:55 +00:00
Max Horn
f19f73eb50
Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
...
svn-id: r11811
2003-12-21 15:29:52 +00:00
Max Horn
35b62c294d
removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
...
svn-id: r11603
2003-12-13 00:20:01 +00:00
Max Horn
54aa33310d
reuse SaveLoadChooser in main dialog -> this means the SaveLoadChooser remembers the scroll position -> improved user experience
...
svn-id: r11415
2003-11-28 21:56:14 +00:00
Max Horn
f40d0433bf
return/enter key in the launcher now starts the selected target
...
svn-id: r11347
2003-11-18 23:47:08 +00:00
Max Horn
22c22d1e81
added namespace GUI
...
svn-id: r11255
2003-11-10 23:40:48 +00:00
Paweł Kołodziejski
14b7d027a2
cleanup whitespaces
...
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
a93c9f49ba
added checkboxes to the 'Edit Game...' dialog which let the user determine whether to override global settings or not; besides other things, this fixes bug #837599 (Default volume is 0 for newly added games)
...
svn-id: r11196
2003-11-07 16:01:51 +00:00
Max Horn
29d79d8197
make savepath settings persistent
...
svn-id: r11158
2003-11-05 22:06:07 +00:00
Max Horn
297ddb370b
refactored common code into a new class OptionsDialog; various fixes and cleanup to the launcher/option dialogs
...
svn-id: r11152
2003-11-05 12:25:42 +00:00
Max Horn
c207fe6a95
added multi_midi/native_mt32 settings (we *really* need to come up with a good way to share code between GlobalOptionsDialog and EditGameDialog)
...
svn-id: r11145
2003-11-05 01:22:19 +00:00
Max Horn
4cff7c8b97
save fullscreen/aspect ratio settings; fix midi driver selection (driver was set immediately when you choose it from popup; this made it impossible to 'Cancel' the change)
...
svn-id: r11144
2003-11-05 01:15:10 +00:00
Max Horn
25f2aafd7a
added language/platform popup
...
svn-id: r11143
2003-11-05 00:59:03 +00:00
Max Horn
ee253d4c90
modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
...
svn-id: r11136
2003-11-04 22:00:36 +00:00
Max Horn
597ddcfa17
Added some more dummy checkboxes, functionality to be added
...
svn-id: r11135
2003-11-04 21:17:33 +00:00
Max Horn
76e4cbe2cb
fix item positions
...
svn-id: r11122
2003-11-03 23:42:53 +00:00
James Brown
0ece8aab8b
Default to first tab
...
svn-id: r11087
2003-11-03 06:19:43 +00:00
James Brown
a331a298a2
Fiddling with new tab widget
...
svn-id: r11086
2003-11-03 05:27:53 +00:00
Max Horn
af71b2f309
use TabWidget for GlobalOptionsDialog
...
svn-id: r11073
2003-11-03 00:24:04 +00:00
Max Horn
af19319a24
added initial TabWidget stub (if you want to try it, I added some testing code to launcher.cpp which you just have to un-#if). This is not yet finished, obviously, but enough to 'get the idea', I hope
...
svn-id: r11062
2003-11-02 19:11:03 +00:00
Max Horn
5c387a67ae
ask before removing a game config
...
svn-id: r11050
2003-11-02 11:32:18 +00:00
Max Horn
b27a871f87
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
...
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
31f64369ff
merged detectGames() into LauncherDialog::handleCommand()
...
svn-id: r11043
2003-11-01 23:45:39 +00:00
Max Horn
17597164b9
amiga checkbox is obsolete (will be replaced by a platform popup
...
svn-id: r11038
2003-11-01 22:18:17 +00:00
Max Horn
53db0a8a07
cleanup: removed version/id from GameSettings
...
svn-id: r10995
2003-10-28 17:07:25 +00:00
Max Horn
df7cda84d3
findGame is static class method now
...
svn-id: r10864
2003-10-17 15:54:17 +00:00
Max Horn
116dbee1fc
factored out the game detection code into the Plugin class; this is the first step towards allowing more powerful, plugin specific detection code; also, moved the Plugin GameSettings APIs to a slightly higher level
...
svn-id: r10858
2003-10-17 12:18:58 +00:00
Max Horn
1e56fb8191
cleanup
...
svn-id: r10839
2003-10-16 23:16:16 +00:00
Max Horn
36fd7ec445
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
...
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
80c6401b9d
fix for bug #821502 (GUI: Launcher crashes with unexisting targets)
...
svn-id: r10738
2003-10-11 21:15:57 +00:00
Max Horn
6e09d35090
turned PluginManager into a proper singleton
...
svn-id: r10688
2003-10-08 22:10:59 +00:00
Max Horn
d177364715
new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
...
svn-id: r10687
2003-10-08 21:59:23 +00:00
Max Horn
fd2c041d79
Make use of new List iterator
...
svn-id: r10609
2003-10-05 14:03:07 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
769f5c2919
added About dialog to launcher
...
svn-id: r10107
2003-09-08 18:09:32 +00:00
Max Horn
940200f173
got rid of version_settings
...
svn-id: r10101
2003-09-08 17:25:44 +00:00
Max Horn
bac8a0da5b
added a FIXME comment
...
svn-id: r10093
2003-09-08 16:10:05 +00:00
Max Horn
f23a34c9e5
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
...
svn-id: r10092
2003-09-08 15:38:34 +00:00
Travis Howell
be0d723e7f
Change Amiga palette option to Amiga version
...
svn-id: r9800
2003-08-20 14:01:39 +00:00
Travis Howell
bf1c300c36
Show Amiga option only for scumm games
...
svn-id: r9643
2003-08-12 02:08:21 +00:00
Max Horn
b05e7de7bb
replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
...
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jonathan Gray
4cd1927ee0
remove scumm.h dependency
...
svn-id: r8498
2003-06-15 02:02:36 +00:00
Max Horn
101df28e0b
moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
...
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
5f5b0e6c7e
use _version
...
svn-id: r8370
2003-06-07 00:01:18 +00:00
Max Horn
59bff559d1
PalmOS changes: allow 8 bit GUI mode
...
svn-id: r7226
2003-04-30 13:57:57 +00:00
Jonathan Gray
dffb21e78a
update launcher for recent changes
...
svn-id: r7191
2003-04-29 04:27:08 +00:00
Max Horn
023d84a6a3
added some meat to the global options dialog (no prefs are stored yet, though)
...
svn-id: r6862
2003-03-25 15:32:36 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
1ff9749b87
and more cleanup .... Last
...
svn-id: r6721
2003-03-06 19:52:54 +00:00
Max Horn
189c5405b0
don't show amiga checkbox for simon games
...
svn-id: r6031
2002-12-20 22:41:03 +00:00
Max Horn
7f46dc6690
cleanup
...
svn-id: r5947
2002-12-14 01:49:19 +00:00
Max Horn
2af8f20344
added a dummy global options dialog; PopUpWidget tweaks
...
svn-id: r5919
2002-12-12 23:22:48 +00:00
Max Horn
57d8bb978f
added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
...
svn-id: r5914
2002-12-12 12:07:46 +00:00
Max Horn
7098159101
fixed launcher buttons again
...
svn-id: r5770
2002-12-01 12:47:13 +00:00
Max Horn
2450640218
fix for bug #646218 (Start button in launcher was not getting disabled)
...
svn-id: r5766
2002-12-01 02:04:55 +00:00