Commit Graph

1077 Commits

Author SHA1 Message Date
Nicola Mettifogo
5c714cb46e Implemented MOVE script instruction.
svn-id: r39623
2009-03-23 08:00:39 +00:00
Nicola Mettifogo
71f42a9549 Fully implemented scrolling.
svn-id: r39622
2009-03-23 00:56:05 +00:00
Nicola Mettifogo
052a6ea1f9 Stop erroring out if mask or shadow files are missing: not all location/objects have them.
svn-id: r39620
2009-03-22 23:07:51 +00:00
Nicola Mettifogo
77c97670a3 Added support for 3 bit deep ILBM images.
svn-id: r39619
2009-03-22 23:07:08 +00:00
Nicola Mettifogo
2b8140d765 Added simple IFF type verification to the parser.
svn-id: r39609
2009-03-22 15:30:42 +00:00
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
e7a94e9dfe Set the right colors for dialogue text in BRA Amiga.
svn-id: r39595
2009-03-21 18:00:41 +00:00
Nicola Mettifogo
c3bac3d851 Fix build.
svn-id: r39586
2009-03-21 15:13:02 +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
Nicola Mettifogo
14e2793449 Changed Nippon Safes to make use of the new ILBMDecoder.
svn-id: r39584
2009-03-21 15:00:44 +00:00
Nicola Mettifogo
9682ae5947 Extended the IFF parser to handle 1 and 5 bits deep images.
svn-id: r39583
2009-03-21 14:58:36 +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
Jordi Vilalta Prat
16c2c37dba Fix namespace name
svn-id: r39574
2009-03-20 21:22:30 +00:00
Nicola Mettifogo
db5150dd7c Added TODO's about replacing usage of the old ILBM decoder in Nippon Safes.
svn-id: r39573
2009-03-20 20:38:33 +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
286abed4e7 Added more flexible IFF parser and ILBM decoder.
svn-id: r39571
2009-03-20 20:37:06 +00:00
Nicola Mettifogo
739181c3b7 Postpone loading of mask and path data on BRA. This fixed locations in which mask and path are defined before the screen bitmap.
svn-id: r39512
2009-03-18 10:55:05 +00:00
Nicola Mettifogo
71f8b83c47 Fixing the last commit, by using the right type in the cast.
svn-id: r39491
2009-03-17 19:36:38 +00:00
Nicola Mettifogo
dc2002348d Another explicit cast for a historic compiler.
svn-id: r39490
2009-03-17 19:13:45 +00:00
Nicola Mettifogo
3a98786bc0 Removed one of the overloads of SoundMan::execute(), to make retarded compiler happy. Added a couple of explicit casts from bool to int, so that other compiler don't complain instead.
svn-id: r39489
2009-03-17 19:04:59 +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
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
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
Travis Howell
7d85194eaa Fix crash regression in BRA introduction for now.
svn-id: r39444
2009-03-16 09:38:20 +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
9e792deb3e Added mouse cursor to BRA Amiga. To be perfected.
svn-id: r39434
2009-03-16 00:03:22 +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
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
Travis Howell
a6497584cc Enable music in Amiga version of BRA too.
svn-id: r39409
2009-03-15 06:07:57 +00:00
Nicola Mettifogo
82e1d15aef Added missing initializations.
svn-id: r39407
2009-03-15 04:29:26 +00:00
Filippos Karapetis
d953ddd376 GfxObj is a class, not a struct
svn-id: r39402
2009-03-14 17:42:48 +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
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