Commit Graph

28226 Commits

Author SHA1 Message Date
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
Max Horn
167a9cb767 ThemeEngine:
* more cleanup, esp. of Doxygen comments
* completely got rid of ImageMan, instead use the same Common::Archive to load bitmaps and XML data from

svn-id: r35636
2008-12-31 15:07:30 +00:00
Max Horn
693b9df098 cleanup
svn-id: r35635
2008-12-31 15:03:17 +00:00
Filippos Karapetis
587a691b12 Proper fix: Readded the const keyword, together with the missing data type in ThemeEngine.h
svn-id: r35634
2008-12-31 14:54:30 +00:00
Filippos Karapetis
a8a4ba3a98 Prevent erroneous access of negative array indices
svn-id: r35633
2008-12-31 14:49:53 +00:00
Filippos Karapetis
9f0a401047 Removed "const" keyword from kDrawDataDefaults. MSVC complains that "'const' static/global data initialized with compiler generated default constructor fills the object with zeros", in ThemeEngine.h line 123
svn-id: r35632
2008-12-31 14:37:22 +00:00
Max Horn
be73014f67 ThemeEngine changes:
* removed lots of dead code / methods
* fixed bad Doxygen comments (they were attached to the wrong member variables)
* some cleanup

svn-id: r35631
2008-12-31 14:10:23 +00:00
Max Horn
6a2778cccc Fixed warning
svn-id: r35630
2008-12-31 13:59:00 +00:00
Max Horn
1c0fe87410 Clarified some ImageMan doxygen comments
svn-id: r35629
2008-12-31 13:43:50 +00:00
Torbjörn Andersson
6f24756a15 Fixed GCC warning.
svn-id: r35628
2008-12-31 13:05:26 +00:00
Filippos Karapetis
136390a540 Commented out part of the code that corrupts the heap for me
svn-id: r35627
2008-12-31 13:00:09 +00:00
Filippos Karapetis
cae6bdac08 Preliminary Shorten audio support for SAGA 2 games. It's still very wrong and needs further work, but it's a start
svn-id: r35626
2008-12-31 11:46:21 +00:00
Sven Hesse
82b9ace2e2 Added an entry for the French Mac version of Gob2, as supplied by koalet in bug report #2478585
svn-id: r35625
2008-12-31 11:30:40 +00:00