551 Commits

Author SHA1 Message Date
Sven Hesse
d0738d553a Fixing the flow meter thingy in Urban Runner
svn-id: r35491
2008-12-22 20:35:48 +00:00
Sven Hesse
83cdce56db Added the demo version of The Last Dynasty (thanks to fac)
svn-id: r35452
2008-12-20 19:41:44 +00:00
Sven Hesse
5b7cb7ae3e Note to self: Don't sleep-deprive and code, for it makes you daft as a broom ;)
(Thanks to md5 for pointing this out to me)

svn-id: r35423
2008-12-18 16:38:28 +00:00
Filippos Karapetis
05434a38f0 Fixed some warnings
svn-id: r35422
2008-12-18 16:34:01 +00:00
Sven Hesse
4ceecdb25f Preliminary save/load support for Urban Runner
svn-id: r35418
2008-12-18 02:48:15 +00:00
Filippos Karapetis
3f36b2a15a Fixed bug: not all control paths return a value in savePalLUT()
svn-id: r35413
2008-12-17 16:45:53 +00:00
Sven Hesse
38e7eecb71 Added support for caching the palette LUT to a file
svn-id: r35412
2008-12-17 16:06:16 +00:00
Sven Hesse
d0e2107b7e Only do the no-cd-workaround if all resource files can be found
svn-id: r35409
2008-12-17 13:07:56 +00:00
Sven Hesse
3591f8859e Workaround for Urban Runner's CD number detection daftness.
Basically, now we claim to run in no-CD-mode (by pretending "NO_CD.TXT" exists) and open CD2.ITK, CD3.ITK and CD4.ITK manually

svn-id: r35407
2008-12-17 00:41:00 +00:00
Sven Hesse
adae869c8a Experimental semi-transparency for fillRect, used in the green/red menu areas of Urban Runner
svn-id: r35406
2008-12-16 23:27:35 +00:00
Sven Hesse
ebd2f53713 If the music file to play has no extension, add one. Fixes the music when you die
svn-id: r35397
2008-12-16 20:40:18 +00:00
Sven Hesse
4d3a4a85f6 Rotating the object backwards in the magnifing view works now
svn-id: r35396
2008-12-16 20:21:29 +00:00
Sven Hesse
94c14c7c78 Fixing the update coordinates for videos with _bytesPerPixel > 1
svn-id: r35395
2008-12-16 19:55:51 +00:00
Sven Hesse
d4b6b9187d More video fixes for the magnifier/memory view
svn-id: r35394
2008-12-16 18:53:26 +00:00
Sven Hesse
c45f149ea1 First step at getting the magnifier and memory view corrected
svn-id: r35389
2008-12-16 02:57:48 +00:00
Sven Hesse
f825ccd63f Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
513aeee844 More video changes/fixes/stubs
svn-id: r35384
2008-12-15 15:36:21 +00:00
Sven Hesse
6b043aa05b Support for Urban Runner's new cursors (frames out of 16bit color VMDs)
svn-id: r35376
2008-12-15 05:16:23 +00:00
Sven Hesse
0eee801261 No background "music" shading in Urban Runner
svn-id: r35373
2008-12-15 02:16:45 +00:00
Sven Hesse
123c26675f Another collision stuff change for Urban Runner. Now you can actually move! :)
svn-id: r35372
2008-12-15 01:45:16 +00:00
Sven Hesse
f785068dc3 Some more Urban Runner changes. Still no cylindrical smoking device, though
svn-id: r35371
2008-12-15 00:27:05 +00:00
Sven Hesse
2bb204b5f8 Ensuring correct endianness
svn-id: r35365
2008-12-14 21:58:09 +00:00
Sven Hesse
adb564e76a More changed collision stuff for Urban Runner
svn-id: r35364
2008-12-14 21:21:18 +00:00
Filippos Karapetis
55972d7624 Silenced MSVC warning about variable "flags" being potentially uninitialized inside setCollisions()
svn-id: r35359
2008-12-14 12:59:23 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
8770cef478 16bit background "music" for Urban Runner
svn-id: r35353
2008-12-14 04:13:48 +00:00
Sven Hesse
68dcb1ffee Background "music" for Urban Runner, though only 8bit for now
svn-id: r35352
2008-12-14 03:44:39 +00:00
Sven Hesse
bbe6ff006e Music/Video handling fixes/stubs
svn-id: r35351
2008-12-14 03:08:02 +00:00
Sven Hesse
126c5a1dc8 More modified collision stuff for Urban Runner. The hotspots are correctly recognized now
svn-id: r35350
2008-12-14 02:09:03 +00:00
Sven Hesse
49e0a52ee1 Modified collision init functions for Urban Runner
svn-id: r35341
2008-12-13 16:35:14 +00:00
Sven Hesse
2fdc191e4a Added the French version of Urban Runner, as supplied by gamin in the forum. + Added a fallback for Urban Runner
svn-id: r35340
2008-12-13 14:53:33 +00:00
Sven Hesse
dce40f6ffe Added a SaveLoad for Urban Runner with an entry to make the scripts believe the file mdo.def (config file created by the original installer) always exists
svn-id: r35338
2008-12-13 13:18:16 +00:00
Sven Hesse
1cc08d8b6a Fixing forgetfulness-bug which leads to failed assertions in certain cases
svn-id: r35322
2008-12-13 02:51:36 +00:00
Sven Hesse
60417c646e Fixed the ADPCM decoder for 16bit audio (like in Urban Runner)
svn-id: r35321
2008-12-13 02:30:45 +00:00
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
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
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
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
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
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
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
Sven Hesse
275485c983 Parsing fixes for Urban Runner
svn-id: r35247
2008-12-05 03:38:50 +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
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
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