Commit Graph

29958 Commits

Author SHA1 Message Date
Fabio Battaglia
88ff058bd7 sword1: cache decompressed psx version backgrounds, to avoid uncompressing them at every screen update.
svn-id: r39462
2009-03-16 23:10:50 +00:00
Fabio Battaglia
c40d2d2f50 sword1: added caching for train.plx when playing psx version
svn-id: r39461
2009-03-16 22:25:37 +00:00
Henry Bush
5681531bbd Sync
svn-id: r39458
2009-03-16 21:45:21 +00:00
Henry Bush
03a807fa2b Add FreeSCI contributors
svn-id: r39457
2009-03-16 21:42:35 +00:00
Kari Salminen
6e3bf6af79 Fix for warnings on trunk-lenny-x86_64-build (Yay \o/ Buildbot!).
svn-id: r39456
2009-03-16 21:30:15 +00:00
Florian Kagerer
52726344b7 LOL: - implemented item throwing
svn-id: r39455
2009-03-16 21:20:34 +00:00
Kari Salminen
97887377f0 Cine::Palette: Make saturatedAddColor-methods more like their old counterparts transformPaletteRange and transformColor.
svn-id: r39454
2009-03-16 21:10:15 +00:00
Kari Salminen
9dc2f16f16 Prefix Cine's endian types with CINE_ so they don't clash with already defined LITTLE_ENDIAN and/or BIG_ENDIAN on some platforms.
svn-id: r39453
2009-03-16 20:57:17 +00:00
Kari Salminen
739a31db12 Add endianness handling to Cine::Palette's load and save functions.
svn-id: r39452
2009-03-16 20:24:28 +00:00
Filippos Karapetis
9ec640633d It seems that the SCI GUI code tries to show rectangles with negative height. Added some sanity checks for this, but the *real* problem lies elsewhere
svn-id: r39451
2009-03-16 19:19:59 +00:00
Filippos Karapetis
7cd1ac5231 Changed the temporary helper functions to defines
svn-id: r39450
2009-03-16 17:25:13 +00:00
Filippos Karapetis
0e8dfe09c9 Replaced some rect_t operations with our common ones. For now, two helper functions are used to easily change types between Common::Rect and rect_t, until rect_t is removed
svn-id: r39449
2009-03-16 15:36:09 +00:00
Travis Howell
99bd2b4d40 Update main menu items, to match original Amiga version of BRA.
svn-id: r39448
2009-03-16 14:38:57 +00:00
Max Horn
24c629f623 Removed duplicate tobigun entry in COPYRIGHT file
svn-id: r39447
2009-03-16 14:37:40 +00:00
Travis Howell
5aaa9870b1 Add talk position adjustment to loadTalk for Amiga version of BRA too.
svn-id: r39446
2009-03-16 14:35:18 +00:00
Paul Gilbert
34d3d7c74d Code formatting, added further constant references, and corrected method signatures
svn-id: r39445
2009-03-16 09:45:37 +00:00
Travis Howell
7d85194eaa Fix crash regression in BRA introduction for now.
svn-id: r39444
2009-03-16 09:38:20 +00:00
Paul Gilbert
57b0038e5e Converted the Cruise engine to use the new Common::Serializer class
svn-id: r39443
2009-03-16 09:17:49 +00:00
Paul Gilbert
52d6f3323b Added a syncString variation needed for the Cruise engine
svn-id: r39442
2009-03-16 09:16:56 +00:00
Nicola Mettifogo
1ac00f210b Fixed most palette issues in BRA Amiga.
svn-id: r39441
2009-03-16 09:11:51 +00:00
Filippos Karapetis
6a83723b0c Updated the MSVC project files of the tinsel, sci and scummvm projects for the file changes which occurred in commits #39430 and #39439
svn-id: r39440
2009-03-16 07:45:47 +00:00
Max Horn
c5e8c48c5e SCI: Removed sbtree code by Common::Hashmap
svn-id: r39439
2009-03-16 05:44:20 +00:00
Max Horn
e44f07f988 SCUMM: Modified version of patch #1687041 (Scumm: Load-/Save-support for the original save-dialog)
svn-id: r39438
2009-03-16 04:45:12 +00:00
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