Commit Graph
29935 Commits
Author SHA1 Message Date
Max Horn ffa97e6626 Patch #2658665: Implement getDevices() in backends/midi/dmedia.cpp
svn-id: r39437
2009-03-16 04:15:03 +00:00
Max Horn f233b89463 SCUMM: Modified version of patch #2674880 (FOA: unique filename for IQ-points file)
svn-id: r39436
2009-03-16 03:55:09 +00:00
Filippos Karapetis 4bd84b7311 Replaced "xl" with "width" and "y1" with "height" in places where rectangles are used
svn-id: r39435
2009-03-16 00:07:12 +00:00
Nicola Mettifogo 9e792deb3e Added mouse cursor to BRA Amiga. To be perfected.
svn-id: r39434
2009-03-16 00:03:22 +00:00
Torbjörn Andersson baca072844 Call updateScreen() from the delay() function, like we do in so many other
engines, to ensure smooth mouse movement.

svn-id: r39433
2009-03-15 22:52:40 +00:00
Johannes Schickel 4d84ae9f20 Align ScummVM version string properly.
svn-id: r39432
2009-03-15 21:25:15 +00:00
Andre Heider 6e1b154484 Added the SVN revision to SCUMMVM_VERSION. The variable has be be set externally, e.g. 'make SCUMMVM_SVN_REVISION=x'
svn-id: r39431
2009-03-15 21:17:37 +00:00
Max Horn 466ba4bbfe SCI: Rewrote the save/load code, see also patch #2687400.
The new format is incompatible with the old one, and is still subject to
some further changes. Also, regressions are quite possible, so watch out.
Finally, the new code still contains some TODOs and FIXMEs. Several of
these will be more or less automatically resolved once other code gets
C++ified.

svn-id: r39430
2009-03-15 20:31:29 +00:00
Max Horn 7df4e2a80f SCI: Indention changes, changed 'songlib_t' params to 'const songlib_t &'
svn-id: r39429
2009-03-15 20:31:15 +00:00
Max Horn 9cbed926cd Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the SCI engine
svn-id: r39428
2009-03-15 20:30:57 +00:00
Johannes Schickel 77d5d3093a Fix small cursor for modern theme.
svn-id: r39426
2009-03-15 18:29:47 +00:00
Florian Kagerer c826106e44 LOL: - implemented original style random number generator for moving around the monsters
svn-id: r39425
2009-03-15 18:21:33 +00:00
Filippos Karapetis adde70537a Updated MSVC project files for commit #39416 (moved vag.* from engines/sword1/ to sound/)
svn-id: r39423
2009-03-15 17:11:34 +00:00
Florian Kagerer dcf32be3f6 LOL: - added some missing animations for the shops
- added support for dropping/picking up items (no throwing yet)

svn-id: r39422
2009-03-15 16:48:20 +00:00
Johannes Schickel f1079ef624 Cleanup.
svn-id: r39421
2009-03-15 14:55:48 +00:00
Johannes Schickel 0e8bd97367 Fix for loading Kyra1 Amiga PAK files.
svn-id: r39420
2009-03-15 14:48:08 +00:00
Nicola Mettifogo 6ecc3991ed Fixed typo in r39418.
svn-id: r39419
2009-03-15 14:17:01 +00:00
Travis Howell e486374152 Fix crash regression in the Amiga BRA demo, by checking if mask buffer exists, before using it.
svn-id: r39418
2009-03-15 13:28:20 +00:00
Fabio Battaglia 1f299bb24a sword2: added detection for Broken Sword 2 PSX, and a check to say wether pc or psx version is run
svn-id: r39417
2009-03-15 11:36:16 +00:00
Fabio Battaglia 647276b885 Moving sword1/vag.* into sound/, to be used by Broken Sword 2 PSX
svn-id: r39416
2009-03-15 10:25:22 +00:00
Travis Howell 08638c5f77 The Amiga demo of BRA doesn't have quite as many icons.
svn-id: r39415
2009-03-15 09:51:02 +00:00
Travis Howell e27d2f7144 Set mouse buffers in Amiga version of BRA, so selecting inventory object no longer crashes.
svn-id: r39414
2009-03-15 09:39:16 +00:00
Travis Howell 7f99a190cb Fix loading objects in the Amiga version of BRA.
svn-id: r39413
2009-03-15 09:29:25 +00:00
Nicola Mettifogo bcabf5e53f Fixed regression from r39410, by reimplementing the decompression routine. The backgrounds in the DOS version of Nippon Safes are compressed by something that looks like PackBits, but is not PackBits. Hence, the change to make PackBitsReadStream behave as the standard broke it.
svn-id: r39412
2009-03-15 08:17:57 +00:00
Travis Howell 13497da82e Ooops, actually set _mixer.
svn-id: r39411
2009-03-15 06:23:16 +00:00
Nicola Mettifogo cbf9996abb * Improved ILBMDecoder to also handle files with width non divisible by 8.
* Changed PackBitsReadStream to discard padding bytes on ditto files.

svn-id: r39410
2009-03-15 06:20:52 +00:00
Travis Howell a6497584cc Enable music in Amiga version of BRA too.
svn-id: r39409
2009-03-15 06:07:57 +00:00
Jordi Vilalta Prat f903e32c51 Groovie: Add non-uniform scaling to the ROQ player
svn-id: r39408
2009-03-15 04:34:00 +00:00
Nicola Mettifogo 82e1d15aef Added missing initializations.
svn-id: r39407
2009-03-15 04:29:26 +00:00
Jordi Vilalta Prat efa319ff67 Groovie: Added basic alpha channel support to the ROQ player
svn-id: r39406
2009-03-15 03:51:03 +00:00
Kari Salminen 814f27a72e Cine::Palette revamp part 2: Fix save-function, add Cine-palette formats etc.
- Removed excess convenience functions, made the used palette formats
  publicly available instead (Cine::kLowPalFormat, Cine::kHighPalFormat etc)
- Fixed output conversion i.e. save-functions.. Hopefully they work ;-)
- Renamed some parameters for unification (colors -> buf, numBytes -> size)
- Added some documentation, e.g. for the load- & save-functions.

svn-id: r39405
2009-03-14 22:36:05 +00:00
Filippos Karapetis 8b725eef83 Reduced the CPU load of screen effects, by reducing the number of palette changes. The visual differences are negligible, but CPU load went down by around 10%.
svn-id: r39404
2009-03-14 19:47:23 +00:00
Filippos Karapetis 4805271539 Updated the MSVC project files of the parallaction engine
svn-id: r39403
2009-03-14 17:45:41 +00:00
Filippos Karapetis d953ddd376 GfxObj is a class, not a struct
svn-id: r39402
2009-03-14 17:42:48 +00:00
Filippos Karapetis 79d8432128 Simplified screen effects. Removed copyRect() and reposition()
svn-id: r39401
2009-03-14 17:32:43 +00:00
Max Horn 5433adc69b SCI: Fixed warning
svn-id: r39400
2009-03-14 17:11:31 +00:00
Max Horn 7c8a73f3bd Patch #2684984: desktop-file-validate warnings
svn-id: r39399
2009-03-14 17:10:22 +00:00
Max Horn c7df3e2f7a Applied part of patch #2684986
svn-id: r39398
2009-03-14 17:07:07 +00:00
Nicola Mettifogo 6398e56d09 Added midi support to BRA. So far music starts, but related script commands haven't been implemented yet.
svn-id: r39397
2009-03-14 17:02:28 +00:00
Filippos Karapetis 6852080916 Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class
svn-id: r39396
2009-03-14 15:43:37 +00:00
Nicola Mettifogo 14ced31851 Fixed building on 64-bit architectures.
svn-id: r39395
2009-03-14 15:34:28 +00:00
Nicola Mettifogo 8723afd6f4 * Added a generic sound manager that hides engine-specific managers and allows accessing them through a simplified command/parameter interface.
* Updated client code to use the new manager.
* Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp.

svn-id: r39394
2009-03-14 15:09:31 +00:00
Florian Kagerer 7fe0592f0f LOL: magic atlas can now be picked up (but it can't be used)
svn-id: r39393
2009-03-14 15:06:02 +00:00
Filippos Karapetis 498a355a74 Reduced CPU usage of the MADE engine by about 10% (by profiling the code)
- Added delays in places where the screen gets updated
- Moved event polling inside sfPollEvent() (cause that's where events are polled), instead of after each opcode

svn-id: r39392
2009-03-14 14:58:19 +00:00
Florian Kagerer 092f2a37e3 LOL: - complete support for the three "special rooms" in the castle
svn-id: r39391
2009-03-14 13:48:12 +00:00
Filippos Karapetis 6225bf905f Do not update the screen while waiting
svn-id: r39390
2009-03-14 13:42:43 +00:00
Filippos Karapetis 7da95bbd00 Pushed up the simple script stack function in the header file (this helps isolate them too, so that script.cpp only contains script command functions now)
svn-id: r39389
2009-03-14 12:23:35 +00:00
Eugene Sandulenko f2a1e593c9 Give more meaningful names to detected entries.
svn-id: r39388
2009-03-14 11:26:46 +00:00
Eugene Sandulenko 57b983604b Avoid polluting of global gameid namespace and restore compatibility with
0.13.0

svn-id: r39387
2009-03-14 10:55:52 +00:00
Eugene Sandulenko ad58bca65a Add more detection entries from bugreport #2670691
svn-id: r39386
2009-03-14 08:44:14 +00:00