686 Commits

Author SHA1 Message Date
Filippos Karapetis
0ffb1081fa Set full screen refresh when an animation frame or the psychic profile is shown
svn-id: r35283
2008-12-07 19:15:57 +00:00
Filippos Karapetis
78fd335a42 More dirty rectangle related changes (dirty rectangle handling is still broken)
svn-id: r35281
2008-12-07 18:49:35 +00:00
Filippos Karapetis
15dad27d79 Fixed typo
svn-id: r35279
2008-12-07 17:17:37 +00:00
Filippos Karapetis
5d1e3fd03e Some dirty rectangle related code
svn-id: r35267
2008-12-07 00:27:39 +00:00
Filippos Karapetis
c69cacfe2d Disable unused code
svn-id: r35266
2008-12-07 00:19:50 +00:00
Filippos Karapetis
4946e6584e Disabled more debug code
svn-id: r35265
2008-12-07 00:13:55 +00:00
Filippos Karapetis
065694dbb1 - Prevented direct reference to the back buffer in many cases (apart from a few, where it's modified directly)
- Added skeleton code for dirty rectangle handling (still unfinished and non-working)
- Added wrapper functions to access the back buffer, which add the appropriate dirty rectangles automatically

svn-id: r35264
2008-12-06 18:23:34 +00:00
Filippos Karapetis
5f2cd3c4a7 Cleanup
svn-id: r35263
2008-12-06 14:44:09 +00:00
Filippos Karapetis
d148d481f9 Fixed compilation when SAGA_DEBUG is defined
svn-id: r35262
2008-12-06 14:38:04 +00:00
Filippos Karapetis
668eaea68c Also remove explicit surface passing to IsoMap::draw()
svn-id: r35261
2008-12-06 14:37:09 +00:00
Filippos Karapetis
9c04b0c229 All the screen drawing functions draw to the back buffer, so there is no point in passing it everywhere
svn-id: r35260
2008-12-06 14:24:40 +00:00
Filippos Karapetis
f3a60a8c96 Cleanup
svn-id: r35259
2008-12-06 13:35:27 +00:00
Filippos Karapetis
a4923c5ba4 Removed unused variable
svn-id: r35251
2008-12-05 22:01:22 +00:00
Filippos Karapetis
72ba213b36 Removed more unneeded test code
svn-id: r35250
2008-12-05 18:56:52 +00:00
Filippos Karapetis
beb18533c3 Cleanup
svn-id: r35246
2008-12-04 21:25:44 +00:00
Filippos Karapetis
c2d095b426 Do not redraw the whole scene if an overlay is drawn above it
svn-id: r35245
2008-12-04 21:09:24 +00:00
Filippos Karapetis
12f4c3b9b9 Removed more test code and performed some cleanup
svn-id: r35241
2008-12-04 19:12:58 +00:00
Filippos Karapetis
b4cc40166e Disabled all the test functions in SAGA. They can be enabled again by defining SAGA_DEBUG to 1 in saga.h. This cuts down on the engine size a bit, for devices with little memory (e.g. the DS)
svn-id: r35238
2008-12-04 18:38:02 +00:00
Max Horn
c290bb977c Fix compiler warning
svn-id: r35215
2008-12-03 11:05:07 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Filippos Karapetis
78eeb313fe Corrected wrong extended characters provided in the translated hardcoded strings for ITE. Fixes bug #2045157 - "ITE: wrong accented characters in italian fan version"
svn-id: r35158
2008-11-23 15:03:54 +00:00
Filippos Karapetis
df694b3de1 Cleanup
svn-id: r35114
2008-11-18 17:37:01 +00:00
Johannes Schickel
2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
4294185c59 Some corrections, based on observations from bug report #2284298 - "SAGA: Compiler warnings; possibly an engine bug"
svn-id: r35058
2008-11-14 17:51:48 +00:00
Torbjörn Andersson
591d01b77f Reverted change I accidentally made to the SAGA engine when committing the SCUMM
charset changes. It may be a correct change, but it's not yet ready.

svn-id: r35057
2008-11-14 14:12:18 +00:00
Torbjörn Andersson
5e5eebf24f Committed my own patch #2278665 ("SCUMM: Font data in old SCUMM games") to get
rid of a few kilobytes of hard-coded font data. (The font data is still there,
but now we only store how the French, German, Italian and Spanish fonts differ
from the English one.)

svn-id: r35056
2008-11-14 14:03:08 +00:00
Sven Hesse
2ec6e678be Fixing compilation
svn-id: r35055
2008-11-14 13:26:23 +00:00
Filippos Karapetis
66e86283cb Cleanup and simplification of the resource loading code
svn-id: r35054
2008-11-14 12:19:10 +00:00
Filippos Karapetis
0f38e67f57 Fix for bug #2277597 - "ITE: Classic Mac alternate md5sums / Voices not detected‏"
svn-id: r35051
2008-11-13 23:21:38 +00:00
Filippos Karapetis
6ccf57d789 Fixed crash when returning to launcher from the GMM
svn-id: r35050
2008-11-13 23:19:25 +00:00
Filippos Karapetis
8e3485f158 Added better checks for the current music status in pauseEngineIntern()
svn-id: r35035
2008-11-13 09:19:42 +00:00
Torbjörn Andersson
c29dfd1f17 Fixed warning. (GCC doesn't like the variable 'isPaused' because there already is
an isPaused() function.)

svn-id: r35009
2008-11-11 20:25:44 +00:00
Filippos Karapetis
113a83c0da Implemented pauseEngineIntern() for the SAGA engine
svn-id: r35007
2008-11-11 17:34:52 +00:00
Filippos Karapetis
a859e2c1c9 Cleanup
svn-id: r34988
2008-11-10 18:51:51 +00:00
Filippos Karapetis
3ccfce260f SAGA save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34986
2008-11-10 14:11:30 +00:00
Filippos Karapetis
4e7f7064a3 Limit places where saving from the GMM is permitted
svn-id: r34984
2008-11-10 11:43:02 +00:00
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +00:00
Filippos Karapetis
57e57c49ce Saving a game from GMM is now working for the SAGA engine, though the description is not set correctly yet
svn-id: r34932
2008-11-07 19:43:01 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Max Horn
55c10e0ec6 Patch #2122869: ALL: Common load dialog
svn-id: r34883
2008-11-03 18:32:16 +00:00
Filippos Karapetis
26642748f9 Removed FIXME and reverted commit #34855, as it's now possible to add a subfolder to a non-existing folder without crashes with the change in commit #34857
svn-id: r34858
2008-10-27 11:04:36 +00:00
Filippos Karapetis
c03f0219ca Using getChild() with getChild() throws an assertion (a regression of the latest FS node changes). Commenting out this line with a FIXME so that SAGA games can work once again under Windows
svn-id: r34855
2008-10-26 18:40:59 +00:00
Filippos Karapetis
b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Filippos Karapetis
d4cb443af7 Fix crash when starting ITE, a regression from commit #34705
svn-id: r34712
2008-09-30 16:55:10 +00:00
Filippos Karapetis
45284cfad9 Fixed crash when starting IHNM, a regression from commit #34693
svn-id: r34705
2008-09-30 13:19:14 +00:00