Commit Graph

27852 Commits

Author SHA1 Message Date
Nicola Mettifogo
6ecc17010d Fixed some more leaks and mismatched allocations/deallocations.
svn-id: r35277
2008-12-07 14:33:30 +00:00
Gregory Montoir
3de7a31dc1 reduced saveload code dup
svn-id: r35276
2008-12-07 14:24:46 +00:00
Gregory Montoir
e63c0ba1e2 cleanup
svn-id: r35275
2008-12-07 14:23:54 +00:00
Gregory Montoir
c3fa73a010 added dirty screen rects redraw
svn-id: r35274
2008-12-07 14:22:05 +00:00
Johannes Schickel
62d2955d9b Cleanup.
svn-id: r35273
2008-12-07 13:41:00 +00:00
Johannes Schickel
c7c074895a Prevent MIDI files from being load, when they are already loaded.
svn-id: r35272
2008-12-07 13:12:09 +00:00
Nicola Mettifogo
b557c58d3b Missing break statement caused many broken warning messages.
svn-id: r35271
2008-12-07 12:47:14 +00:00
Nicola Mettifogo
db88c544b7 Fixed assorted leaks in Parallaction.
svn-id: r35270
2008-12-07 12:41:50 +00:00
Eugene Sandulenko
00de4b2b3c Fix bug #2401150: "Compiler: No matching function (Parallaction / Amiga)"
svn-id: r35269
2008-12-07 09:21:01 +00:00
Paul Gilbert
87a0976185 Added code differences for DW1 demo to allow the first game screen to start
svn-id: r35268
2008-12-07 07:44:52 +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
Paul Gilbert
e625bd54de Implemented the Tinsel v0 WrtNonZero graphics renderer
svn-id: r35258
2008-12-06 11:36:15 +00:00
Paul Gilbert
b697026ae0 Library routine and interpreter fixes for the DW1 demo
svn-id: r35257
2008-12-06 11:35:31 +00:00
Scott Thomas
f2497e5ef7 T7G: Fix for performance issue in save/load screen when hovering savegames
svn-id: r35256
2008-12-06 11:01:44 +00:00
Nicola Mettifogo
4c377e0339 Fixed positioning of overlayed graphics (dialogues, inventory, labels) in all locations. These items are now all handled in screen coordinates which are translated automatically by the renderer.
svn-id: r35255
2008-12-06 06:17:10 +00:00
Nicola Mettifogo
3fc72c63d9 Simplified scrolling calculations.
svn-id: r35254
2008-12-06 06:13:48 +00:00
Nicola Mettifogo
7681461b16 Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues in scrollable locations are a bit messed up for the moment.
svn-id: r35253
2008-12-06 04:51:04 +00:00
Paul Gilbert
7a49843047 Beginning of support for DW1 Demo - Interpret has been changed to support opcode differences, and CallLibraryRoutine has a new mapping list of routines
svn-id: r35252
2008-12-06 02:07:30 +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
Sven Hesse
bc5f25b5a0 Evaluating kFeaturesPalette flag for VMDs. Now you can actually see something in Urban Runner (though it's far from pretty)
svn-id: r35249
2008-12-05 18:47:50 +00:00
Paul Gilbert
bfd32c9516 Bugfix for correctly leaving from looking at the Rite of AshkEnte scroll
svn-id: r35248
2008-12-05 10:18:39 +00:00
Sven Hesse
275485c983 Parsing fixes for Urban Runner
svn-id: r35247
2008-12-05 03:38:50 +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
Sven Hesse
faf8059cac This should make the US version work
svn-id: r35243
2008-12-04 19:42:42 +00:00
Sven Hesse
d01e9b6785 Correcting the language for GRB/USA
svn-id: r35242
2008-12-04 19:24:25 +00:00
Filippos Karapetis
12f4c3b9b9 Removed more test code and performed some cleanup
svn-id: r35241
2008-12-04 19:12:58 +00:00
Max Horn
b085afc451 Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
svn-id: r35240
2008-12-04 19:09:10 +00:00
Sven Hesse
5d9c8b7c47 Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
svn-id: r35239
2008-12-04 18:38:55 +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
Kari Salminen
5b74ea3d44 Fix typo.
svn-id: r35237
2008-12-04 18:14:36 +00:00
Johannes Schickel
54a8468188 Added missing include.
svn-id: r35236
2008-12-04 12:46:51 +00:00
Johannes Schickel
145fedba69 Fix for GUI compile error described in bug #2387217 "WINCE: SVN trunk compilation broken".
svn-id: r35235
2008-12-04 12:21:31 +00:00
Johannes Schickel
9b77e926db Fix for bug #2388270 "[Wii/GC] Unable to build SVN rev.35233".
svn-id: r35234
2008-12-04 11:59:30 +00:00
Nicola Mettifogo
664d696e55 Made readLineIntern() return a zero-length string when no printable text is read out of a script. This makes life easier for the parser, and also makes the introduction fully viewable.
svn-id: r35233
2008-12-04 09:33:37 +00:00
Filippos Karapetis
e64e4833b3 Some changes which will hopefully fix bug #2387217 - "WINCE: SVN trunk compilation broken".
I've done the changes based on the corresponding SDL backend functions. Please verify that everything is working correctly, as I don't have a WinCE device to test this

svn-id: r35232
2008-12-04 08:10:32 +00:00
Sven Hesse
ebf2948e9a Last Dynasty video mode switching (and removing a debug output)
svn-id: r35231
2008-12-04 00:52:12 +00:00
Sven Hesse
0e954c85b3 A few more GobOpcodes that jump to the space shooter + fudging the result to something not resulting in a non-quitable state
svn-id: r35230
2008-12-04 00:31:01 +00:00
Max Horn
abae99d645 Get rid of readLine_OLD for good
svn-id: r35229
2008-12-03 22:55:30 +00:00
Gregory Montoir
9ad879af48 reworked bud tucker demo detection
svn-id: r35228
2008-12-03 22:15:05 +00:00
Sven Hesse
353a239bdb Preliminary support for extra data and scripts in video files (urgh, this is so...vile).
Used in The Last Dynasty, which now plays a bit further (the video sequences, at least)

svn-id: r35227
2008-12-03 22:14:47 +00:00