Commit Graph

81 Commits

Author SHA1 Message Date
Nicola Mettifogo
631e0aaed5 Changed Disk code to provide SeekableReadStream's to sound routines as well.
svn-id: r39608
2009-03-22 15:25:55 +00:00
Nicola Mettifogo
8f57c621d2 Some Surface tinkering, and added TODO's about it.
svn-id: r39585
2009-03-21 15:01:46 +00:00
Travis Howell
bd8b94ee8a Fix regression when loading icons in Amiga versions of BRA.
svn-id: r39580
2009-03-21 01:08:04 +00:00
Nicola Mettifogo
742c9c9d6a * Reimplemented routine using the old ILBM decoder to use the new one
* Fixed all remaining issues with masks.

svn-id: r39572
2009-03-20 20:37:58 +00:00
Nicola Mettifogo
7697fd9cc7 Fixed the transparency problems of static objects in BRA.
svn-id: r39486
2009-03-17 16:45:09 +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
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
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
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
Nicola Mettifogo
1ac00f210b Fixed most palette issues in BRA Amiga.
svn-id: r39441
2009-03-16 09:11:51 +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
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
7f99a190cb Fix loading objects in the Amiga version of BRA.
svn-id: r39413
2009-03-15 09:29:25 +00:00
Travis Howell
a6497584cc Enable music in Amiga version of BRA too.
svn-id: r39409
2009-03-15 06:07:57 +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
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Nicola Mettifogo
beacae5efd Trim resource filenames to 8 characters as a last resort on BRA. Script files are unbelievably broken.
svn-id: r35784
2009-01-08 07:31:32 +00:00
Nicola Mettifogo
f1ad8b6934 Extended PathBuffer to support BRA.
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
21fae9d029 * moved more mask management to BackgroundInfo
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer

svn-id: r35765
2009-01-07 07:35:11 +00:00
Nicola Mettifogo
7e7d5c68ed Initialised variables to silence lots of valgrind's warnings.
svn-id: r35312
2008-12-12 04:52:37 +00:00
Nicola Mettifogo
db88c544b7 Fixed assorted leaks in Parallaction.
svn-id: r35270
2008-12-07 12:41:50 +00:00
Nicola Mettifogo
2be5afee68 Fixed crash when closing BRA.
svn-id: r34943
2008-11-09 05:22:25 +00:00
Nicola Mettifogo
064b816b08 Cleaned up disk code after recent updates to Common::SearchSet.
svn-id: r34848
2008-10-26 09:15:57 +00:00
Johannes Schickel
7d331b7341 Committed updated version of my patch #2184529 "SearchSet: Get rid of SharedPtr usage".
svn-id: r34837
2008-10-22 17:44:12 +00:00
Nicola Mettifogo
1002b82022 Changed BRA to use the new Common:Archive infrastructure.
svn-id: r34777
2008-10-12 07:01:09 +00:00
Max Horn
c7fde102e3 Renamed FilesystemNode -> FSNode
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Nicola Mettifogo
05a021fd95 Added routines to load and handle item masks: animation are now correctly hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground).
svn-id: r33900
2008-08-15 14:25:43 +00:00
Nicola Mettifogo
3ec28ce42c Removed debug code I forgot a long time ago ;)
svn-id: r33510
2008-08-02 02:26:09 +00:00
Nicola Mettifogo
0679889d98 Disabled masks in BRA Amiga, because the decoding is not known yet.
svn-id: r33473
2008-07-31 14:20:51 +00:00
Travis Howell
598394e5b8 Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.
svn-id: r33394
2008-07-29 04:06:10 +00:00
Travis Howell
fd40cb4342 Add check common directories, in loadScenery() for Amiga version of BRA.
svn-id: r33393
2008-07-29 04:00:07 +00:00
Nicola Mettifogo
c8400e9725 * Fixed positioning of balloons and faces in BRA (dos, at least).
* Adapted loading of faces.

svn-id: r33392
2008-07-29 03:14:35 +00:00
Nicola Mettifogo
a5d225d438 Fixed loading of static items.
svn-id: r33375
2008-07-28 14:02:46 +00:00
Travis Howell
533dbfd756 Add basic support for running Amiga and PC demos of BRA.
svn-id: r33357
2008-07-28 07:20:55 +00:00
Travis Howell
258f1e8fe6 There is no mask or path directories for part0 of BRA (Amiga), so always check whether they exist.
svn-id: r33356
2008-07-28 06:18:39 +00:00
Nicola Mettifogo
03ffd60054 * Changed Disk code in BRA to use FilesystemNode (duplication has become truly visible!).
* Fixed Inventory items loading.

svn-id: r33352
2008-07-28 05:18:23 +00:00
Nicola Mettifogo
d223e90002 Inventory icons are now loaded correctly (not yet displayed). BRA doesn't crash anymore when pressing the right button. :)
svn-id: r33335
2008-07-27 13:43:40 +00:00
Travis Howell
4c7420125e Add music/sound loading in Amiga version of BRA.
svn-id: r33329
2008-07-27 10:43:15 +00:00
Travis Howell
e0503bc549 Search common directory, when loading frames and talks in Amiga verison of BRA.
svn-id: r33327
2008-07-27 10:36:26 +00:00
Nicola Mettifogo
8ed023142a Moved program and command execution code out of the engine, into their own brand new
classes.

svn-id: r33003
2008-07-11 13:06:28 +00:00
Nicola Mettifogo
03cd937b13 Fixed destruction of sprites in BRA.
svn-id: r32983
2008-07-10 02:00:54 +00:00
Nicola Mettifogo
59e672ef40 Changed balloons to use GfxObj as well. Next step is to integrate balloons for BRA.
svn-id: r32883
2008-07-03 10:31:25 +00:00