Commit Graph

29926 Commits

Author SHA1 Message Date
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
Greg Frieger
782c394dd7 - LZS Decompressor added
- Some code clean-up

svn-id: r39385
2009-03-14 08:43:28 +00:00
Greg Frieger
d00a9e9a7d Fixed SCI32 Map detection
svn-id: r39384
2009-03-14 08:41:11 +00:00
Greg Frieger
b5cc1eec7e Some rewrites and clean-ups in decompressing functions. View and Pic post-processing functions reverted back to FreeSCI ones.
svn-id: r39383
2009-03-14 04:17:03 +00:00
Max Horn
f64d223e07 cleaning up after myself again *sigh*
svn-id: r39382
2009-03-14 01:52:14 +00:00
Max Horn
f91eaf9f1a SCI: Fixed warning
svn-id: r39381
2009-03-14 01:45:11 +00:00
Max Horn
636a3dd2c1 removed obsolete comment
svn-id: r39380
2009-03-14 01:45:00 +00:00
Max Horn
150b38ffb7 SCI: Removed more dead code
svn-id: r39379
2009-03-14 01:44:53 +00:00
Filippos Karapetis
0796c72e97 Updated the MSVC project files of the SCI engine (added engine/savegame.h)
svn-id: r39378
2009-03-14 00:17:12 +00:00
Filippos Karapetis
8dc86556da Add the ENABLE_LOL flag to release builds as well
svn-id: r39377
2009-03-14 00:16:02 +00:00