Commit Graph

29912 Commits

Author SHA1 Message Date
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
Filippos Karapetis
31c66b5931 Removed two empty switch statements to silence an MSVC warning
svn-id: r39376
2009-03-14 00:12:23 +00:00
Filippos Karapetis
b78001f7ca Changed the "internal" variable inside gfxr_pic_t to priorityTable (cause that's what it is), and changed its type to int * to avoid unneeded casts
svn-id: r39375
2009-03-14 00:05:01 +00:00
Filippos Karapetis
f5129b7cb7 Removed the unused struct "internal" inside gfx_pixmap_t
svn-id: r39374
2009-03-14 00:02:01 +00:00
Max Horn
feedf970c5 fixing stupid, stupid mistake in previous commit. yet another proof that I need to use git to prestage all my commits for one day. Yay for 'git commit --amend' ;-)
svn-id: r39373
2009-03-13 16:39:46 +00:00
Max Horn
50ab52a12f Added --enable-all-engines and --disable-all-engines to configure script
svn-id: r39372
2009-03-13 16:31:53 +00:00
Max Horn
364ce5874d SCI: cleanup
svn-id: r39371
2009-03-13 16:31:38 +00:00
Filippos Karapetis
7854a01f14 Changed the parameter passed to isprint() to be unsigned, according to MSDN (thanks wjp)
svn-id: r39370
2009-03-13 10:36:57 +00:00
Filippos Karapetis
0916523763 Added an explanatory comment for commit #39368
svn-id: r39369
2009-03-13 07:56:06 +00:00
Filippos Karapetis
f4eb159eb8 LSL5 no longer throws an assertion after the intro
svn-id: r39368
2009-03-13 01:36:07 +00:00
Filippos Karapetis
6751eace05 Applied gregfrieger's fix on decodeRLE()
svn-id: r39367
2009-03-13 01:26:51 +00:00
Filippos Karapetis
90df1b4be1 Commited syke's patch as-is
svn-id: r39366
2009-03-12 23:23:46 +00:00
Joost Peters
8cfdca5ee8 formatting fix, aka buildbot rebuild incentive ;)
svn-id: r39365
2009-03-12 22:04:18 +00:00
Filippos Karapetis
99d1a5d67c Added the correct SCI version for German LSL7 from bug report #2662260. Also, added "sier" to the list of executable names (matches sier.exe, sierw.exe and sierw5.exe)
svn-id: r39362
2009-03-12 18:15:51 +00:00
Filippos Karapetis
70673ad2d9 Added detector entries from bug reports #2644547 and #2670691
svn-id: r39361
2009-03-12 18:05:13 +00:00