Commit Graph

27842 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
1edc1789b1 Changed readLine_OLD() to readLine_NEW(). I guess both this and the previous
readLine() change could be more robust, but at least it should be no worse than
it was before.

svn-id: r35226
2008-12-03 21:52:51 +00:00
Filippos Karapetis
8d0ef7a05d The "sound" debug command now works correctly in DW2
svn-id: r35225
2008-12-03 21:47:31 +00:00
Torbjörn Andersson
a871e01151 Converted the credits scroller to use readLine_NEW() instead of readLine_OLD().
svn-id: r35224
2008-12-03 21:30:41 +00:00
Torbjörn Andersson
87db0af8a0 Removed unused variable.
svn-id: r35223
2008-12-03 19:20:59 +00:00
Filippos Karapetis
d8e656a217 - Added back the English V1 CD version of DW1 (with *.gra files)
- Added the US version of DW2
- Added placeholders for the Hebrew, Hungarian and Japanese versions of DW2 (not sure if they're correct)

svn-id: r35222
2008-12-03 18:54:22 +00:00
Filippos Karapetis
157e051280 Applied wjpalenstijn's patch to fix bug #2111826 - "DRASCULA: Inserting save game names lags"
svn-id: r35221
2008-12-03 17:35:37 +00:00
Filippos Karapetis
b471aab57d Make sure that savegame names are 0-terminated
svn-id: r35220
2008-12-03 16:44:46 +00:00
Jordi Vilalta Prat
b66a9d4e03 Added Groovie credits
svn-id: r35219
2008-12-03 15:04:15 +00:00
Nicola Mettifogo
1e4f2b5a90 Replaced remaining usages of readLine_OLD with readLine.
svn-id: r35218
2008-12-03 12:23:50 +00:00
Filippos Karapetis
c20292c0f1 Simplify line reading with the simpler readLine(), instead of readLine_NEW
svn-id: r35217
2008-12-03 11:51:51 +00:00