Commit Graph

8394 Commits

Author SHA1 Message Date
Nicola Mettifogo
774773b7cd Reduced code duplication when manipulating Animations, and cleanup.
svn-id: r35408
2008-12-17 11:15:47 +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
Travis Howell
98bbf9c417 Add target for CD demo of Discworld 1.
svn-id: r35405
2008-12-16 23:07:16 +00:00
Gregory Montoir
328f0cda5d added Czech version detection entry, tracker item #2435411
svn-id: r35402
2008-12-16 22:09:55 +00:00
Gregory Montoir
f18f79ebf7 added polish version as reported on tracker item #2433494, removed english charset as default
svn-id: r35401
2008-12-16 22:05:16 +00:00
Gregory Montoir
ee62b9c4c3 changed game version flags handling, should fix #2434208
svn-id: r35398
2008-12-16 21:06:20 +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
Johannes Schickel
696ed52959 Switched kyra1 to use the same input functionality as kyra2 and kyra3.
svn-id: r35393
2008-12-16 17:40:34 +00:00
Filippos Karapetis
0b1d31383b - Added some comments
- Removed _paletteDidChange, as the virtual setPalette() function is called back on every palette change
- Some cleanup
- Removed unused/unneeded functions and variables
- Changed _frameTypes to hold bytes instead of 32-bit integers (since frame types are held within a byte)

svn-id: r35391
2008-12-16 09:56:21 +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
Travis Howell
ddb810e17b Add Moonbase Commander target again, for testing only.
svn-id: r35379
2008-12-15 09:54:21 +00:00
Benjamin Haisch
2ce4a32fb6 - Implemented cmd_restart (for the restart functionality in Return to Zork)
svn-id: r35378
2008-12-15 09:01:43 +00:00
Nicola Mettifogo
c76f0bdb10 Weeded out some more unused code, and some restructuring.
svn-id: r35377
2008-12-15 07:15:29 +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
Travis Howell
a59890ed64 Disable video play back in 16bit color HE games for now.
svn-id: r35375
2008-12-15 05:08:25 +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
Travis Howell
9c20a533bb Enable Smacker support, and switch later HE games to Smacker support (since they aren't supported yet).
svn-id: r35368
2008-12-14 23:41:48 +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
Nicola Mettifogo
dc3e9027f4 Removed references to _vm from the engine itself.
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
e98bc7e402 Removed some unused code.
svn-id: r35357
2008-12-14 10:08:31 +00:00
Paul Gilbert
116980367a Removed the comment about the DW1 Demo not being supported
svn-id: r35356
2008-12-14 04:39:25 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Paul Gilbert
4d79c4c9b6 Minor bugfix to string display in DW1 demo
svn-id: r35354
2008-12-14 04:24:41 +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
Travis Howell
81d060675c Resort game types.
svn-id: r35349
2008-12-14 01:18:55 +00:00
Travis Howell
bff3c9cf60 Cleanup.
svn-id: r35348
2008-12-14 01:13:59 +00:00
Johannes Schickel
c75c681175 Added code to initialize MT-32 properly for Lands of Lore.
svn-id: r35347
2008-12-14 00:23:46 +00:00
Gregory Montoir
e3e699d7d2 fixed wrong z-reordering when one of the keychars is 0
svn-id: r35345
2008-12-13 19:38:48 +00:00
Gregory Montoir
13e613ae21 disable GMM save/load when original quit/options dialogs is displayed
svn-id: r35344
2008-12-13 19:35:33 +00:00
Nicola Mettifogo
5b39775184 Some more restructuring of rendering code.
svn-id: r35343
2008-12-13 17:52:37 +00:00
Nicola Mettifogo
800db6f142 Restructuring of rendering code.
svn-id: r35342
2008-12-13 17:31:48 +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
Paul Gilbert
303d463a50 Workaround to correctly return control to the player in the DW1 Demo after using the prunes
svn-id: r35334
2008-12-13 11:18:28 +00:00
Paul Gilbert
5f9bbd3444 Bugfixes for text display and animations in DW1 demo
svn-id: r35333
2008-12-13 10:24:28 +00:00
Gregory Montoir
0e2864692e fixed bug #2423037, wrong demo version detection
svn-id: r35332
2008-12-13 09:39:00 +00:00
Paul Gilbert
48f5e51c77 Added handling for record differences in the hotspot/polygon format in DW1 Demo
svn-id: r35331
2008-12-13 08:40:04 +00:00
Travis Howell
c2daf686d6 Add upper case code for oe1_pcName() in Elvira 1/2.
svn-id: r35330
2008-12-13 07:38:37 +00:00
Travis Howell
3c86a24d70 Add Polish 2CD version of The Feeble Files.
svn-id: r35329
2008-12-13 07:05:18 +00:00
Travis Howell
0abcf302c6 Fix display of spell status in Elvira 2, caused by newline in oe1_pcName().
svn-id: r35328
2008-12-13 04:55:54 +00:00
Travis Howell
a1fdbb8695 Fix regression, that caused text to be cut short in Elvira 1/2.
svn-id: r35327
2008-12-13 04:52:51 +00:00
Nicola Mettifogo
b3475d8178 * Replaced char* with Common::String in the parser.
* Enforced const-correctness on related routines.

svn-id: r35326
2008-12-13 03:37:43 +00:00
Nicola Mettifogo
6724097f67 Fixed positioning of inventory.
svn-id: r35325
2008-12-13 03:36:28 +00:00
Travis Howell
1e31438c57 Ooops, didn't virtual genSaveName().
svn-id: r35324
2008-12-13 03:16:20 +00:00
Travis Howell
e593015402 Cleanup.
svn-id: r35323
2008-12-13 03:12:56 +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
Filippos Karapetis
c6947285d2 Fixed a regression of commit #34458. Sound data for compressed sounds was read incorrectly. Fixes bugs #2422371 - "ITE: Talk animation takes longer than speaking" and #2111496 - "IHNM: Speech is garbled"
svn-id: r35320
2008-12-12 22:56:56 +00:00
Gregory Montoir
12bf681ee8 fixed german version detection, added datafiles remapping as listed in bug tracker item #2422555
svn-id: r35319
2008-12-12 21:42:38 +00:00
Filippos Karapetis
dcca0c9f66 Fixed a regression in my last commit where some sprites were not clipped correctly
svn-id: r35318
2008-12-12 20:10:00 +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
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
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
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
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
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
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
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
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
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
Filippos Karapetis
29f59d07f4 Simplify line reading with the simpler readLine(), instead of readLine_NEW
svn-id: r35216
2008-12-03 11:47:57 +00:00
Max Horn
c290bb977c Fix compiler warning
svn-id: r35215
2008-12-03 11:05:07 +00:00
Filippos Karapetis
e7050a0c65 readLine_OLD -> readLine_NEW
svn-id: r35213
2008-12-03 08:59:12 +00:00
Filippos Karapetis
318f716737 readLine_OLD -> readLine_NEW
svn-id: r35212
2008-12-03 08:27:08 +00:00
Jordi Vilalta Prat
d34865d054 DW2: Add support for the Italian/Spanish release
svn-id: r35211
2008-12-02 22:22:23 +00:00
Filippos Karapetis
3669360043 Added detection for the French version of DW2, as described in the forums
svn-id: r35210
2008-12-02 22:16:44 +00:00
Filippos Karapetis
5bfb248301 - Set the maximum number of save games in DW1 and DW2 to 100, up from 30
- It's now possible to load and delete save games using the GMM (although not through the launcher screen yet)

svn-id: r35207
2008-12-02 18:34:32 +00:00
Johannes Schickel
702b7be594 Should fix compilation on BE machines.
svn-id: r35206
2008-12-02 17:53:58 +00:00
Filippos Karapetis
025cebdf6d Disabled the workaround to skip the title screens of DW1 for now, as it can cause crashes with certain versions of the game
svn-id: r35205
2008-12-02 17:22:30 +00:00
Johannes Schickel
3bdef4f9a2 Fixed compilation.
svn-id: r35200
2008-12-01 21:35:17 +00:00
Max Horn
4b7d455580 Got rid of Stream::readLine_OLD calls in two places (mostly untested, please check/test for regressions)
svn-id: r35198
2008-12-01 21:13:02 +00:00
Filippos Karapetis
af945ac788 Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 should be completable
svn-id: r35196
2008-12-01 20:35:36 +00:00
Henry Bush
f10f151ff7 T7G: Reset origin at end of video: should fix seg fault after losing the microscope puzzle. Plus cleanup bitflag debugging.
svn-id: r35195
2008-11-30 21:17:58 +00:00
Henry Bush
ffaa47fb44 T7G: Stop errorString from printing script position
svn-id: r35194
2008-11-30 21:16:04 +00:00
Johannes Schickel
c517045349 Fixed some looping MIDI sound effects.
svn-id: r35193
2008-11-30 15:15:14 +00:00
Gregory Montoir
8d59712192 fixed listSaves ordering
svn-id: r35191
2008-11-30 12:23:24 +00:00
Gregory Montoir
2730a6dddc queen doesn't use target name for savestate files (amiga & dos versions use the same savegame data)
svn-id: r35190
2008-11-30 11:52:54 +00:00
Gregory Montoir
d93413b99b added detection entries and charset selection for german version
svn-id: r35188
2008-11-30 11:30:29 +00:00
Gregory Montoir
2811ebf905 enabled subtitles
svn-id: r35187
2008-11-30 11:24:39 +00:00
Torbjörn Andersson
8dcb3cbac0 It's unnecessary to use strlen() just to find out if a string is empty or not.
svn-id: r35185
2008-11-30 10:11:38 +00:00
Johannes Schickel
6fd1d462cf Added MIDI SFX Map, fixes SFX in HoF.
svn-id: r35181
2008-11-30 05:11:40 +00:00
Johannes Schickel
2ebe04ac3e - Extended MidiDriver::sysEx to allow 264 byte sysEx messages
- Updated all drivers to allow 264+2 byte sysEx messages
- Implemented sysEx processing for MT-32 for Kyra1 and HoF. MT-32 should now be working properly.

svn-id: r35180
2008-11-30 04:42:30 +00:00
Johannes Schickel
17a699a438 Cleanup.
svn-id: r35179
2008-11-30 02:54:39 +00:00
Johannes Schickel
1fc33dbae5 - Fix some valgrind warnings
- Added MIDI SFX support for Kyra2

svn-id: r35178
2008-11-30 02:47:20 +00:00
Johannes Schickel
8142873c6a Implement fade out support for MIDI.
svn-id: r35177
2008-11-30 02:38:08 +00:00
Johannes Schickel
25172da444 Cleanup.
svn-id: r35175
2008-11-30 01:59:21 +00:00
Johannes Schickel
893a79b01d Initial version of proper MIDI support for KYRA.
svn-id: r35174
2008-11-30 01:53:32 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Gregory Montoir
362bdf87d7 added support for kSupportsLoadingDuringRuntime & kSupportsSavingDuringRuntime, cleanup
svn-id: r35171
2008-11-28 23:56:25 +00:00
Gregory Montoir
443c57146d added load/closeFile to Graphics::FlicPlayer (matching DXAPlayer class)
svn-id: r35170
2008-11-28 23:51:59 +00:00
Jordi Vilalta Prat
834d2c5f27 T7G: Enhanced the Audio CD playback. Now the credits music on CD2 should play by ripping it as track 2 (not tested).
svn-id: r35167
2008-11-25 00:41:51 +00:00
Jordi Vilalta Prat
4360757236 T7G: Implemented volume fading
svn-id: r35166
2008-11-24 21:53:23 +00:00
Henry Bush
184c15905d T7G: Add a debug level to play movies fast with no pcm sound (unstable)
svn-id: r35165
2008-11-24 21:48:40 +00:00
Henry Bush
ba3edfbd51 T7G: AI in microscope puzzle is "complete" (ie good enough for now)
svn-id: r35164
2008-11-24 21:22:24 +00:00
Filippos Karapetis
a1a9702f24 Oops, removed the *actual* unused code, and fixed my previous incorrect commit. DOTT and S&M work correctly again
svn-id: r35162
2008-11-23 20:54:55 +00:00
Filippos Karapetis
f53429b1b7 Removed unused/dead code
svn-id: r35161
2008-11-23 15:44:47 +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
Gregory Montoir
db0c951a0d various fixes, Bud Tucker should now be completable (tested with french version)
svn-id: r35155
2008-11-23 03:42:01 +00:00
Henry Bush
d41ebfae81 T7G Microscope: Stauf now makes legal moves (though not good ones)
svn-id: r35154
2008-11-22 23:07:05 +00:00
Max Horn
a28b531ed0 Added ArchiveMember::getDisplayName() method; changed ArchiveMember::getName() to always return a name compatible with Archive::openFile()
svn-id: r35139
2008-11-21 12:17:35 +00:00
Johannes Schickel
f4d8ecaf6a Fixed gcc warning.
svn-id: r35137
2008-11-20 22:58:22 +00:00
Kari Salminen
325b4cb492 Fix resizing of the internal color array in Palette-class.
svn-id: r35136
2008-11-20 22:22:47 +00:00
Kari Salminen
16bf8d720b Add Palette-class for handling 9-bit and 24-bit palettes. WIP!
svn-id: r35135
2008-11-20 22:16:18 +00:00
Max Horn
398fdab276 SCUMM: Reduced code size used up by NES file decoding/loading/extraction code
svn-id: r35132
2008-11-20 13:51:42 +00:00
Max Horn
32f735a228 cleanup
svn-id: r35131
2008-11-20 13:50:53 +00:00
Max Horn
63e7836dec AGI: fsnodeNameEqualsIgnoreCase and FSNode usage should be replaced by SearchMan
svn-id: r35130
2008-11-20 13:50:26 +00:00
Joost Peters
5b04ab7883 un-break sky engine after recent gfx transaction changes
svn-id: r35126
2008-11-20 13:03:29 +00:00
Henry Bush
04b048a9c3 T7G: Add framework for microscope puzzle AI
svn-id: r35122
2008-11-19 00:37:20 +00:00
Sven Hesse
1ec33154fd Ooops :)
svn-id: r35119
2008-11-18 20:16:50 +00:00
Kari Salminen
089c8b4e48 Make the 256 color transformPaletteRange-function and Future Wars's refreshPalette-function compliant with disassembly.
svn-id: r35118
2008-11-18 19:54:44 +00:00
Torbjörn Andersson
48e1316da9 Added a mutex to the Groovie MIDI player. Maybe that will fix the rare and
unpredictable crashes I've been seeing.

svn-id: r35116
2008-11-18 19:29:51 +00:00
Torbjörn Andersson
72a847797d Committed by patch #2219361 ("BS1: Simplified subtitles"). It uses the
lockScreen() / unlockScreen() backend API, instead of copyRectToScreen().
Before, it had to copy a piece of the engine's screen to draw on to simulate
transparency, which was awkward.

However, this means we're now forcing full-screen updates on each frame. There
may be performance regressions, particularly if the frames are much smaller
than the screen. Hopefully, it's the decoding that's the bottleneck, but if
this causes problems on low-end devices... well, Fingolfin had some ideas about
that when he first proposed the lockScreen() / unlockScreen() API.

svn-id: r35115
2008-11-18 17:48:19 +00:00