9640 Commits

Author SHA1 Message Date
Max Horn
95c58e76d6 SCI: Added TODO: Merge SegInterface and MemObject? And some cleanup
svn-id: r39485
2009-03-17 16:08:25 +00:00
Max Horn
3c23ba7d73 SCI: Got rid of various SegManager::free_* methods
svn-id: r39484
2009-03-17 16:07:58 +00:00
Max Horn
3c0d117dd8 SCI: fix warning
svn-id: r39483
2009-03-17 16:07:18 +00:00
Fabio Battaglia
81cfb9ffd5 sword1: clean background buffers before writing on them in psx decoding functions
svn-id: r39480
2009-03-17 09:21:14 +00:00
Fabio Battaglia
f7e4f15218 sword1: cleanup
svn-id: r39479
2009-03-17 08:22:51 +00:00
Filippos Karapetis
80c243e5ca Renamed some defines:
- FREESCI_CURRENT_SAVEGAME_VERSION, FREESCI_MINIMUM_SAVEGAME_VERSION -> CURRENT_SAVEGAME_VERSION, MINIMUM_SAVEGAME_VERSION (saved games are not compatible with FreeSCI's ones anymore)
- _K_VIEW_SIG_FLAG_FREESCI_STOPUPD -> _K_VIEW_SIG_FLAG_STOPUPD (like the rest of the flags)
- Removed FREESCI_KFUNCT_GLUTTON (unused)

svn-id: r39478
2009-03-17 08:03:42 +00:00
Fabio Battaglia
a9da116ceb sword1: optimize drawing routine for screen 54
svn-id: r39477
2009-03-17 08:03:29 +00:00
Filippos Karapetis
ebfdd92727 Removed the "About FreeSCI" menu as discussed in -devel, now that the FreeSCI contributors have been moved to the AUTHORS file
svn-id: r39476
2009-03-17 07:57:02 +00:00
Fabio Battaglia
3c9b4e0f07 sword1: enable psx background caching for screen 54 (bull's head) too
svn-id: r39475
2009-03-17 07:46:04 +00:00
Nicola Mettifogo
92c9365650 Additional palette is loaded on colors 1-15.
svn-id: r39474
2009-03-17 07:02:14 +00:00
Nicola Mettifogo
17d38f2763 Fixed the remaining palette problems by loading the shadow (mask) file for static objects.
svn-id: r39473
2009-03-17 06:57:49 +00:00
Travis Howell
cb837c3fe0 Fix regression, caused by my change to adjustForPalette().
svn-id: r39472
2009-03-17 05:29:59 +00:00
Travis Howell
e47c9189d4 Fix graphical glitches in the Amiga version of BRA, the height seems to be off by one.
svn-id: r39471
2009-03-17 04:41:23 +00:00
Travis Howell
6df028151e Fix regression in the Amiga demo of BRA, the common sub directory doesn't exist in the demo.
svn-id: r39470
2009-03-17 04:32:12 +00:00
Travis Howell
4a45b4408c Sound files don't always exist in the Amiga version of BRA.
svn-id: r39469
2009-03-17 04:07:56 +00:00
Travis Howell
2e321f81ed Sound files don't always exist in the Amiga version of BRA.
svn-id: r39468
2009-03-17 04:07:02 +00:00
Travis Howell
7d1aed7c83 Add support for loading palette files in the Amiga version of BRA.
svn-id: r39467
2009-03-17 03:58:57 +00:00
Travis Howell
0434c13713 Enable sound effects in the Amiga version of BRA.
svn-id: r39466
2009-03-17 03:32:03 +00:00
Travis Howell
331399db9b Change adjustForPalette(), to skip transparency color (zero).
svn-id: r39464
2009-03-17 00:00:29 +00:00
Travis Howell
5f087d5ad6 Cleanup.
svn-id: r39463
2009-03-16 23:58:19 +00:00
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
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
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
Nicola Mettifogo
1ac00f210b Fixed most palette issues in BRA Amiga.
svn-id: r39441
2009-03-16 09:11:51 +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
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
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
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
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