1607 Commits

Author SHA1 Message Date
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Eugene Sandulenko
eb92554db9 Fix bug #2791868: "GUI: Glitch when closing menu after hovering on option"
svn-id: r40702
2009-05-18 21:02:52 +00:00
Johannes Schickel
049618ce15 Fix all occurrences of AdLib spelling:
- credits
- options dialog

svn-id: r40538
2009-05-13 21:15:12 +00:00
Eugene Sandulenko
923d26d9fb Enable Audio options for a game when OPL driver is overridden.
svn-id: r40532
2009-05-13 21:02:03 +00:00
Johannes Schickel
68c7aa7ff1 Fix invalid pop up widget selection, when no "opl_driver" setting is present.
svn-id: r40506
2009-05-12 19:36:09 +00:00
Johannes Schickel
4f0768b909 - Add support for selecting the OPL emulator being used (config entry: "opl_driver")
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes

svn-id: r40496
2009-05-12 18:42:44 +00:00
Eugene Sandulenko
938db170f3 Sync with STXes
svn-id: r40494
2009-05-12 17:48:58 +00:00
Willem Jan Palenstijn
3b9f21be80 Use lowercase form for quickselect in ListWidget.
This matches POSIX strcasecmp and MSVC stricmp behaviour.

svn-id: r40467
2009-05-11 20:53:28 +00:00
Max Horn
95a4b26efe Turned fixed-size lists of debugger/console commands and variables into more flexible data structures
svn-id: r40458
2009-05-11 18:02:27 +00:00
Eugene Sandulenko
665e472ef0 Keymapper:
- Introduced new OSystem method getHardwareKeySet() with default implementation
- Moved global keymap creation to base/main.cpp
- Moved GUI keymap creation to gui/GuiManager.cpp
- Added various safeguard checks to various keymapper methods

Now it is really possible to add keymapper to all backends.

svn-id: r40439
2009-05-10 22:05:04 +00:00
Eugene Sandulenko
87fdc5d544 Original GSoC'08 keymapper now works.
Plans:
  - Make remap dialog less ugly
  - Port dialog to other resolutions and classic theme
  - Stop polluting config namespaces with keymap
  - Improve automapper
  - Add support to the engines and backends

svn-id: r40404
2009-05-09 22:36:57 +00:00
Eugene Sandulenko
bb03043b16 More debug info in the error messages when GUI layout is wrong.
svn-id: r40371
2009-05-07 20:56:33 +00:00
Eugene Sandulenko
8c60930aaa Part of patch #2738575: "GSOC09: Upd copyright add about line, fix MSVC warnings"
svn-id: r39995
2009-04-18 21:18:23 +00:00
Eugene Sandulenko
e246c0d94f Patch #2761396: "Typo fixes to README and comments"
svn-id: r39993
2009-04-18 21:12:32 +00:00
Vicent Marti
8fe3735f69 Fixed bug #2706939 (Enabled button not drawn correctly) and other similar cases.
Fixed background shading weirdness when opening many dialogs on top of each other.
Fixed some modal dialogs not redrawing properly when closed.

svn-id: r39938
2009-04-11 17:12:17 +00:00
Max Horn
0c8ffc80fd GUI: Fixed nasty typo
svn-id: r39913
2009-04-10 14:06:21 +00:00
Max Horn
9d4c917f59 GUI: Rewrote the dirty rect handling code. Previously it was possible that the dirty rect list got clobbered by many rects containg other rects in the list. Also got rid of some obsolete params to addDirtyRect as well as the obsolete return value
svn-id: r39909
2009-04-09 17:07:38 +00:00
Max Horn
21ebc88b00 GUI: Commited fix for bug in ThemeParser::parserCallback_defaults (at least I think this is the correct fix, somebody should review this)
svn-id: r39812
2009-04-03 15:12:46 +00:00
Vicent Marti
95a8c28dd5 Fixed bug where screen wasn't automatically updated when changing theme, unless you moved the mouse.
svn-id: r39706
2009-03-27 12:04:43 +00:00
Vicent Marti
053b7b8a9b Theme selection dialog now automatically selects the currently active theme. Fixes bug #2706967.
svn-id: r39703
2009-03-26 20:24:16 +00:00
Max Horn
e5e1615280 MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int
svn-id: r39702
2009-03-26 13:52:43 +00:00
Filippos Karapetis
bd240eb60a Added myself to the MADE engine credits
svn-id: r39684
2009-03-25 10:49:52 +00:00
Henry Bush
5681531bbd Sync
svn-id: r39458
2009-03-16 21:45:21 +00:00
Johannes Schickel
77d5d3093a Fix small cursor for modern theme.
svn-id: r39426
2009-03-15 18:29:47 +00:00
Vicent Marti
9e54b1c963 Fixed bug #2619802 (Game name overwrites scroll bar).
svn-id: r39335
2009-03-11 20:39:31 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +00:00
Willem Jan Palenstijn
68490c5c1e Move Greg Frieger from Tinsel to SCI in credits as intended by r39179
svn-id: r39220
2009-03-08 12:13:10 +00:00
Max Horn
63eda8cf3c Added Greg and myself to SCI engine credis
svn-id: r39179
2009-03-07 06:57:59 +00:00
Max Lingua
188d8f4414 Removed the defined(__PLAYSTATION2__) case to re-enable extra paths for PS2.
svn-id: r39144
2009-03-06 00:28:39 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Johannes Schickel
7270c87919 Fix bug #2621207 "GUI: Debug console glitch".
svn-id: r39128
2009-03-04 12:28:23 +00:00
Max Horn
5422e81718 Make the file browser bigger in 1x mode
svn-id: r39077
2009-03-02 18:04:44 +00:00
Lars Persson
7176a61a85 Small UI updated with smaller HELP dialog to fit a 320x200 screen. The help text does not fit though.
svn-id: r38848
2009-02-24 18:51:42 +00:00
Vicent Marti
e7ee119603 Fixed regression in Options menu and disabled Save/Load buttons.
svn-id: r38524
2009-02-19 00:37:34 +00:00
Vicent Marti
ad4f3fb410 Last minute fix (enabling/disabling widgets mid-frame).
svn-id: r38520
2009-02-19 00:17:08 +00:00
Oystein Eftevaag
fc34cb3bd3 When adding games from a directory the user had no permissions to, instead of exiting with an error we'll (for normal adds) show an error message and (for mass adds) just continue in the list.
svn-id: r38448
2009-02-17 21:02:47 +00:00
Eugene Sandulenko
e5def6fbea Add SCI team to credits
svn-id: r38441
2009-02-17 19:57:29 +00:00
Willem Jan Palenstijn
26f45be083 properly (re)select game after adding/editing domain name in launcher
svn-id: r38313
2009-02-15 22:07:19 +00:00
Oystein Eftevaag
5b86801553 Merged revisions 36329, 38212, 38226and 38234 from branch-0-13-0 to trunk: iPhone backend updates
svn-id: r38240
2009-02-15 13:58:15 +00:00
Vicent Marti
fe6854d5b8 Fixed bug #2485123 (weird looking game load dialog).
svn-id: r36313
2009-02-13 20:01:50 +00:00
Max Horn
2844c22136 Fix GUI themes zip files
svn-id: r36287
2009-02-13 00:00:36 +00:00
Lars Persson
adbc453163 Fixed working Keys button in in game options dialog
Fixed key mappings dialog layout

svn-id: r36285
2009-02-12 22:05:07 +00:00
Max Horn
4942ce18f1 Patch #2553049: Remove clem's name from forum design, following his request
svn-id: r36272
2009-02-11 23:00:31 +00:00
Vicent Marti
341873c9d3 Third attemp at fixing release-critical #2472185. Also fixes regression reported in #2555710.
svn-id: r36227
2009-02-07 00:23:53 +00:00
Vicent Marti
108d4cfbd0 Reverted previous commit.
svn-id: r36226
2009-02-06 23:28:08 +00:00
Vicent Marti
30189f09d9 Removed special case when redrawing the dialog stack. Fixes bug #2555710 and several lesser graphical glitches with classic theme.
svn-id: r36225
2009-02-06 22:16:04 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
de7c89e381 Some work on the 'special debug levels' aka 'engine debug levels' code
svn-id: r36139
2009-01-30 04:42:30 +00:00
Johannes Schickel
8ff3f14e29 Fix for bug #2533091 "MAC: Cannot add games in the launcher in fullscreen mode".
svn-id: r36036
2009-01-24 16:27:52 +00:00