Commit Graph

28238 Commits

Author SHA1 Message Date
Johannes Schickel
95074af35c Fixed crash when returning to launcher from a 640x480 game running with a non 1x scaler.
svn-id: r35686
2009-01-02 22:10:00 +00:00
Johannes Schickel
a33a5d0f14 Fixed the way how screen changes are tracked. This should fix a crash when doing an RTL from COMI when a 3x scaler is enabled.
svn-id: r35685
2009-01-02 21:52:32 +00:00
Johannes Schickel
1d2c446395 - Moved theme listing code from GuiManager to ThemeEngine
- Only show builtin theme in theme list if GUI_ENABLE_BUILTIN_THEME is defined
- Introduced _themeFile to ThemeEngine again and changed _themeId to store the basename of the theme

svn-id: r35684
2009-01-02 21:24:13 +00:00
Filippos Karapetis
105d218912 Disable the SAGA 2 sub engine by default (it's WIP)
svn-id: r35683
2009-01-02 20:42:36 +00:00
Johannes Schickel
f9fa6e2c4b - Changed description for --list-themes to be consistent with descriptions of other --list commands
- Updated description for --platform option

svn-id: r35682
2009-01-02 20:36:51 +00:00
Johannes Schickel
6fd559b4f6 - Fixed --gui-theme command line description
- Added --list-themes command line command to list available GUI themes

svn-id: r35681
2009-01-02 20:21:21 +00:00
Johannes Schickel
1b0f945471 - Added support selection of themes via a basename again (This should fix bugs #2473213 "GUI: Theme selection oddities and regressions" and #2219605 "GUI: theme detection")
- Changed default value to "scummmodern" instead of "scummmodern.zip" for "gui_theme"
- Moved theme listing code from ThemeBrowser to GuiManager

svn-id: r35680
2009-01-02 20:03:45 +00:00
Filippos Karapetis
90d762c261 Wrapped more engine-specific code around appropriate ifdefs
svn-id: r35679
2009-01-02 19:10:51 +00:00
Filippos Karapetis
7c629b5f6a Wrapped SAGA 2 game entries around appropriate defines
svn-id: r35678
2009-01-02 18:44:15 +00:00
Eugene Sandulenko
007c39a84d Let compiled subengines be visible in About dialog.
svn-id: r35677
2009-01-02 18:20:15 +00:00
Eugene Sandulenko
8467dc7361 More configure code for additional SAGA engine features.
svn-id: r35676
2009-01-02 18:01:19 +00:00
Andre Heider
18e67a8ed7 disable buffering for newlib's poor fread() implementation
svn-id: r35675
2009-01-02 18:00:12 +00:00
Andre Heider
c1c206a455 mutex fix, we actally want recursive locks
svn-id: r35674
2009-01-02 17:58:54 +00:00
Filippos Karapetis
0633c1b1bb Added changes to configure, which I forgot to do in my previous commit
svn-id: r35673
2009-01-02 17:08:04 +00:00
Filippos Karapetis
d5b6996c45 - Split the IHNM script functions into a different file
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)

svn-id: r35672
2009-01-02 16:52:38 +00:00
Filippos Karapetis
a09a7678f4 Updated the MSVC project files for commit #35668
svn-id: r35671
2009-01-02 14:09:21 +00:00
Filippos Karapetis
32f73fd34c Rewrote the SAGA script system to use an opcode table, like in other engines
svn-id: r35670
2009-01-02 13:59:34 +00:00
Travis Howell
b8fe877fa8 Add German, Italian and Spanish VGA versions of Cruise for a Corpse.
svn-id: r35669
2009-01-02 09:53:11 +00:00
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Johannes Schickel
4ec7876972 Reverted the handling of mouse move events, now the slider widget should be highlighted correctly again.
svn-id: r35667
2009-01-02 03:03:06 +00:00
Johannes Schickel
1b41a49fc5 Modified the way button highlights are processed when a widget is in dragging mode. This allows for example unhighlighting of a button when the user clicked on it but moved the mouse away.
svn-id: r35666
2009-01-02 02:48:06 +00:00
Max Horn
8260944260 GUI: Redraw screen ASAP if the theme was changed
svn-id: r35665
2009-01-02 01:36:38 +00:00
Eugene Sandulenko
8dfa9a70f2 Fix bugs #1940871: "AGI: Fan(Beyond Titanic 2) - Lockup" and #1874918:
"AGI GR: Text wrapping broken on long strings in the mines" by replacing our
text wrap routine with one based on GBAGI.
Also made debug messages more clear.

svn-id: r35664
2009-01-02 01:34:53 +00:00
Max Horn
903f52cff8 GUI: Create the _themeArchive once and then keep it; also do not reload theme bitmaps needlessly
svn-id: r35663
2009-01-02 01:32:40 +00:00
Johannes Schickel
e7bf64744b Got rid of GuiManager::clearDragWidget instead handle it via a new widget flag WIDGET_IGNORE_DRAG.
svn-id: r35662
2009-01-02 01:31:46 +00:00
Max Horn
e6b9a3e476 GUI: Fix the recent regression where starting games directly (bypassing the launcher) would result in a black screen; also reinit the theme (which each time causes the full XML data to be parsed) less often
svn-id: r35661
2009-01-02 01:23:17 +00:00
Max Horn
063cff91d5 Prevent the 'Confirm exit' dialog from being invoked recursively
svn-id: r35660
2009-01-02 01:21:38 +00:00
Johannes Schickel
655a1cb227 Oops. (stupid c&p bug)
svn-id: r35659
2009-01-02 00:52:01 +00:00
Johannes Schickel
15784edb08 Cleanup.
svn-id: r35658
2009-01-02 00:50:53 +00:00
Johannes Schickel
71001f23c4 Cleanup.
svn-id: r35657
2009-01-01 23:54:09 +00:00
Jordi Vilalta Prat
7122248c72 Use the proper samples file name for 11h
svn-id: r35656
2009-01-01 22:49:44 +00:00
Torbjörn Andersson
685f1f985f Fixed a typo in a comment, plus some slight re-wording.
svn-id: r35655
2009-01-01 22:15:21 +00:00
Max Horn
3851bda05f cleanup
svn-id: r35654
2009-01-01 21:52:15 +00:00
Max Horn
97e9b28c8a Revamping the handling of GUI themes a bit:
* Moved the code which handles fallback to the built-in theme from ThemeEngine to GuiManager
* Changed ThemeEngine::init() to only init&load the theme; no more messing with the overlay
* Commented to a somewhat obscure line in the GuiManager event loop (taking eriktorbjorn's original commit message for that change as comment text)
* Cleaned up the way the Dialog constructor ensures that the current Theme is correctly setup
* Got rid of varios members of ThemeEngine
* Changed ThemeEngine members _screen and _backBuffer from Surface pointers to just plain Surfaces
* Changed ThemeEngine::loadFontFromArchive to use _themeArchive instead of creating an Archive from scratch
* Renamed ThemeEngine::getThemeFileName() to getThemeId() (and some associated tweaks)
* Lots of further cleanup and tweaks

svn-id: r35653
2009-01-01 21:41:55 +00:00
Max Horn
9752882f8b Fingolfin says: If an #ifdef __SYMBIAN32__ is needed here, the Symbian folks should add it. In the meantime, this FIXME comment serves no purpose :)
svn-id: r35652
2009-01-01 21:32:30 +00:00
Max Horn
6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +00:00
Max Horn
c62efbcab3 Added two FIXMEs to global options dialog, related to theme selection
svn-id: r35650
2009-01-01 17:02:45 +00:00
Filippos Karapetis
41dce61a30 Simplified sound resource loading
svn-id: r35649
2009-01-01 16:02:43 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Jordi Vilalta Prat
05d3633eb3 Restore the text background of pop-up widgets to fix the glitch on classic theme when changing the option with the mouse wheel
svn-id: r35647
2009-01-01 08:14:43 +00:00
Travis Howell
9d80f21031 Add Italian Amiga AGA version of Simon the Sorcerer 1.
svn-id: r35646
2009-01-01 07:21:16 +00:00
Filippos Karapetis
220af87112 Proper fix for non-interactive ITE demos (the previous one was affecting sprites for other games)
svn-id: r35645
2008-12-31 22:11:20 +00:00
Filippos Karapetis
94548ed27c Several fixes and cleanup for sound resource loading. Sound information for sound types that are detected automatically is read from the files themselves
svn-id: r35644
2008-12-31 22:10:09 +00:00
Torbjörn Andersson
e9693874cd Added punctuation to the error dialog I added before.
svn-id: r35643
2008-12-31 21:14:09 +00:00
Matthew Hoops
1033468dac Change link to the svn change log to viewvc's change log. The old one hadn't been updated since December of last year.
svn-id: r35642
2008-12-31 20:41:58 +00:00
Sven Hesse
3cc1c03dd6 Added the French Mac version of Lost in Time, as supplied by koalet in bug report #2479034
svn-id: r35641
2008-12-31 17:18:23 +00:00
Torbjörn Andersson
29a4403a21 Display an error message if the cutscene cannot be found. (Afterwards, ScummVM
will trigger an assertion and die, so this is still far from ideal...)

svn-id: r35640
2008-12-31 16:06:55 +00:00
Torbjörn Andersson
890808fa4b Rewrote to get rid of "condition is always false" warning.
svn-id: r35639
2008-12-31 15:23:08 +00:00
Max Horn
569636eb54 Removed Graphics::ImageMan. Nothing uses it
svn-id: r35638
2008-12-31 15:11:39 +00:00
Filippos Karapetis
c7a2121add Added possible FIXMEs
svn-id: r35637
2008-12-31 15:09:32 +00:00