Commit Graph
86814 Commits
Author SHA1 Message Date
Sven Hesse 052e83cd24 Okay, removing my implementation of AppandableAudioStream::getTotalPlayTime (I've apparently misunderstood its intent) and using Mixer::getSoundElapsedTime() instead
svn-id: r35317
2008-12-12 17:12:05 +00:00
Filippos Karapetis cbdb105d8e - Save games are now listed from oldest to newest in the GMM load dialog for tinsel games, like in other engines
- Added some disabled code for saving through the GMM (still incomplete)

svn-id: r35316
2008-12-12 15:48:38 +00:00
Sven Hesse 63ddc1ba6f Using AppandableAudioStream::getTotalPlayTime() instead of the difference between current and start time to sync audio and video
svn-id: r35315
2008-12-12 14:28:06 +00:00
Filippos Karapetis cfa939d151 - Stop passing the scene clip rectangle around for no reason
- More changes for dirty rectangle handling
- Stop adding dirty rectangles that cover the whole screen for no reason
- Dirty rectangle handling is still very buggy, so it's still disabled

svn-id: r35314
2008-12-12 14:23:02 +00:00
Sven Hesse 2efe7bede0 Clean edges around transparent areas. Noticeable in the cursors, for example
svn-id: r35313
2008-12-12 13:32:24 +00:00
Nicola Mettifogo 7e7d5c68ed Initialised variables to silence lots of valgrind's warnings.
svn-id: r35312
2008-12-12 04:52:37 +00:00
Sven Hesse fa07cfe7c6 Text now works in Urban Runner
svn-id: r35311
2008-12-12 04:31:01 +00:00
Sven Hesse 4ec3826080 Working (minus text) menu in Urban Runner
svn-id: r35310
2008-12-12 02:44:34 +00:00
Sven Hesse 19146fe032 Working cursor in Urban Runner
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse c65886a3ea Changing the Urban Runner sprite drawer to work more correctly. It does use YUV data, but I can use the ditherer there
svn-id: r35308
2008-12-11 21:57:47 +00:00
Johannes Schickel 443158fd89 Cleanup. (Removed define and checks for USE_3FLAGS/USE_4FLAGS/USE_5FLAGS)
svn-id: r35306
2008-12-11 18:38:15 +00:00
Torbjörn Andersson e26f1391fa Fixed detection of voice files.
svn-id: r35305
2008-12-11 18:09:45 +00:00
Johannes Schickel 2f1babd370 Whoops changed integer size of variables storing volume information, now volume of 256 should work as expected.
svn-id: r35303
2008-12-11 13:54:18 +00:00
Johannes Schickel 30507498b0 Midi code now allows volume values to be [0, 256] instead of [0, 255] like before, thus removed the clipping the old code used.
svn-id: r35302
2008-12-11 13:44:58 +00:00
Johannes Schickel 9a3a04f6dd Added a HACK/FIXME to prevent tinsel games from crashing, when for example the music volume is set to 256 via the launcher.
svn-id: r35301
2008-12-11 13:43:52 +00:00
Johannes Schickel 7c05e9e723 Fix for bug #2412503 "DW1: Subtitle menu not working (Multi-language version)".
svn-id: r35300
2008-12-11 13:32:50 +00:00
Sven Hesse c7fa7f888a On second thought, an octree only works if the color to look up is in the palette.
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...

svn-id: r35298
2008-12-11 03:06:43 +00:00
Kostas Nakos c7094e20df implement the newer gfx transaction interface. some issues still remain
svn-id: r35297
2008-12-10 20:46:19 +00:00
Filippos Karapetis 39871b84de Some more dirty rectangle fixes, only 2 known glitches are left
svn-id: r35296
2008-12-10 19:39:26 +00:00
Filippos Karapetis 5f4518a2ad Some more dirty rectangle fixes (some glitches still remain)
svn-id: r35294
2008-12-09 21:09:45 +00:00
Max Horn cabfbb4903 Removed some dead code, clarified comments, cleanup
svn-id: r35293
2008-12-09 19:54:01 +00:00
Max Horn c96b4f692a SCUMM: Turned two former warnings into errors -- I never got reports on this warnings, with some luck we'll never get reports on the errors, too. If we get them, I'll deal with them :)
svn-id: r35292
2008-12-09 19:53:01 +00:00
Filippos Karapetis 005c63f794 Updated the MSVN project files of the gob engine
svn-id: r35291
2008-12-09 17:36:28 +00:00
Sven Hesse 99322bf68f Experimental support for VMD frames encoded in Indeo 3 (Indeo 3 decoder closely based on the one in ffmpeg).
Since Indeo 3 uses full 24bit colors (in YUV-space), frame data is mapped to the current palette (using an octree, should be the fasted way, methinks) and dithered with the Sierra-2-4A ("Filter Light") error distribution algorithm.

svn-id: r35290
2008-12-09 14:56:33 +00:00
Sven Hesse 9a788d8bf3 Some dummy changes for Urban Runner
svn-id: r35289
2008-12-09 14:55:21 +00:00
Filippos Karapetis e27c494371 Some more dirty rectangle changes (still incomplete)
svn-id: r35288
2008-12-08 22:07:14 +00:00
Johannes Schickel 3334af5507 Removed last traces of X11 backend.
svn-id: r35287
2008-12-08 21:48:29 +00:00
Lars Persson 1eefecffa4 Quickfix for tinlib compilation error. Changed type on zOverride from type int to int32 (signed int that is) to fit the SetMoverZ function and for valid comparison of zOveride != -1.
svn-id: r35286
2008-12-08 21:11:19 +00:00
Filippos Karapetis 4c62b50921 More dirty rectangle related changes
svn-id: r35285
2008-12-08 17:48:39 +00:00
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
Gregory Montoir f8c1223832 fixed readGameStateDescription() len parameter
svn-id: r35282
2008-12-07 19:15:19 +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
Torbjörn Andersson c2424b04a5 Fixed bug #2394861 ("BASS: artifacts if skipping intro on wrong screen"). As an
added bonus, the Intro class is now freed as soon as the intro is over, rather
than at the end of the game.

svn-id: r35280
2008-12-07 17:32:25 +00:00
Filippos Karapetis 15dad27d79 Fixed typo
svn-id: r35279
2008-12-07 17:17:37 +00:00
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