Commit Graph

185 Commits

Author SHA1 Message Date
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