Filippos Karapetis
8a783bdd76
Renamed sound/iff.* to sound/iff_sound.* to fix an issue with the upcoming changes to the MSVC project files (sound/iff.* produces iff.obj, which clashes with iff.obj from graphics/iff.*)
...
svn-id: r42287
2009-07-09 13:17:46 +00:00
Nicola Mettifogo
36828287ad
* Moved the updated IFF code from Parallaction to common/
...
* Updated Parallaction and SAGA to use the new decoder infrastructure.
svn-id: r41465
2009-06-12 08:51:05 +00:00
Nicola Mettifogo
657e37985e
Cleanup of sound code.
...
svn-id: r41461
2009-06-12 07:55:44 +00:00
Nicola Mettifogo
df1534ffd0
* Replaced the A8SVXDecoder class with a function to return an AudioStream in trunk/sound/.
...
* Refactored sound code in Parallaction to use the new Audio::make8SVXStream.
svn-id: r41460
2009-06-12 07:18:01 +00:00
Nicola Mettifogo
5915e60452
Removed a leftover printf().
...
svn-id: r41459
2009-06-12 06:20:11 +00:00
Nicola Mettifogo
5fccc0f98d
* Final version of the IFF parsing code.
...
* Refactored ILBMDecoder usage from disk code.
svn-id: r41458
2009-06-12 05:03:18 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Nicola Mettifogo
465da49782
Made BRA demos start again by partially reverting commit 39773. Multiple inventory support must be done somehow differently.
...
svn-id: r40750
2009-05-21 08:06:15 +00:00
Nicola Mettifogo
3607c63758
Refactoring.
...
svn-id: r40210
2009-04-29 16:59:10 +00:00
Nicola Mettifogo
a8cccd0ced
Removed obsolete TODO.
...
svn-id: r40194
2009-04-29 07:33:01 +00:00
Travis Howell
804cd38c83
Enable music and sound effects in BRA, by default.
...
svn-id: r40193
2009-04-29 05:47:10 +00:00
Nicola Mettifogo
9a78f6ef41
* Refactored existing save/load code to ease extension
...
* Added load/save dialogs using ScummVM's overlay for the moment (no actual saving is performed yet)
* Plugged the main menu so that it displays the load dialog when needed.
svn-id: r40191
2009-04-29 05:30:58 +00:00
Nicola Mettifogo
01fceec37c
Implemented quit dialog box in BRA.
...
svn-id: r40181
2009-04-28 15:00:56 +00:00
Nicola Mettifogo
9108871833
Added in-game menu for BRA. Load/save is not supported yet.
...
svn-id: r40176
2009-04-28 12:25:41 +00:00
Nicola Mettifogo
19bd929a5d
* Disk code cleanup.
...
* Added ability to load in-game menu graphics.
svn-id: r40175
2009-04-28 12:23:52 +00:00
Nicola Mettifogo
8151a1d878
Removed useless references to the global _vm.
...
svn-id: r39879
2009-04-06 17:31:22 +00:00
Nicola Mettifogo
0e05ec8cc8
Cleanup of Balloon and Dialogue code:
...
* moved version-specific code into DialogueManager's derivatives
* reworked construction of BalloonManager's derivatives
* moved a couple of globals used in dialogues (NS specific) to engine
svn-id: r39878
2009-04-06 17:21:23 +00:00
Nicola Mettifogo
20bdfe4173
Moved background and character loading code from LocationParser_br to the engine for BRA.
...
svn-id: r39814
2009-04-03 17:09:12 +00:00
Nicola Mettifogo
58df840a13
Moved Nippon Safes specific code from Parallaction to Parallaction_ns and adapted client code.
...
svn-id: r39813
2009-04-03 16:32:47 +00:00
Max Horn
fb6d0a7119
PARALLACTION: Fix silly Mingw 'shadowed declaration' warnings
...
svn-id: r39809
2009-04-03 14:53:15 +00:00
Nicola Mettifogo
0a2ff7f18f
Fixed dialogue balloon appearing in the wrong position after commit 39772.
...
svn-id: r39774
2009-03-31 17:00:36 +00:00
Nicola Mettifogo
86a1926c19
Added basic multiple inventory support. This will be used for the GIVE and SWAP commands.
...
svn-id: r39773
2009-03-31 15:45:44 +00:00
Nicola Mettifogo
9880a2e578
There have been subclasses of DialogueManager for a while, so now we use their constructors for something.
...
svn-id: r39772
2009-03-31 14:35:06 +00:00
Nicola Mettifogo
b08b0f64af
Character doesn't need a reference to the engine anymore.
...
svn-id: r39770
2009-03-31 06:49:44 +00:00
Johannes Schickel
a619443dbc
PARALLACTION: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
...
svn-id: r39760
2009-03-30 12:09:03 +00:00
Nicola Mettifogo
5fa83a26e6
Implemented IFCHAR command. This makes part 3 of BRA completely explorable.
...
svn-id: r39742
2009-03-29 14:09:24 +00:00
Nicola Mettifogo
34c2546fdd
Added declaration for Amiga BRA callables.
...
svn-id: r39741
2009-03-29 14:03:11 +00:00
Nicola Mettifogo
666f0720ab
(Re)link bounding animations after location has been completely parsed. This avoids problems due to forward references.
...
svn-id: r39740
2009-03-29 13:56:16 +00:00
Nicola Mettifogo
340b0e632e
Ensure zone and animation flags are restored when a location is reloaded. This should definitely fix bug #2718462 .
...
svn-id: r39739
2009-03-29 13:17:34 +00:00
Nicola Mettifogo
011b73a09b
Commands now evaluate their reference Zone at runtime, thus handling of forward references in the parser is no more needed.
...
svn-id: r39738
2009-03-29 12:41:00 +00:00
Nicola Mettifogo
01812f0830
Fixed several free/delete mismatches.
...
svn-id: r39736
2009-03-29 12:11:10 +00:00
Nicola Mettifogo
8b3f6b0299
Set main menu text height to the actual font height.
...
svn-id: r39735
2009-03-29 12:10:17 +00:00
Nicola Mettifogo
28465d73bb
Merged CommandData into Command.
...
svn-id: r39732
2009-03-29 10:18:09 +00:00
Nicola Mettifogo
329c3321e8
Added workaround for script bug in ticket #2718449 .
...
svn-id: r39724
2009-03-28 14:38:19 +00:00
Nicola Mettifogo
f2d7875db6
Added initialization for _index and _locationIndex in Zone objects.
...
svn-id: r39723
2009-03-28 14:17:17 +00:00
Nicola Mettifogo
a9f5340cba
Save zone and animation flags when a location is closed. This fixes bug #2718462 .
...
svn-id: r39722
2009-03-28 14:03:51 +00:00
Travis Howell
97abfc9181
Add sound effects support for Amiga demo of BRA.
...
svn-id: r39717
2009-03-28 10:06:43 +00:00
Travis Howell
4979179621
Add sound effects support for PC version of BRA.
...
svn-id: r39716
2009-03-28 09:56:39 +00:00
Travis Howell
9131f20587
Change the detection of Amiga versions of BRA, to a required data file (request.win).
...
svn-id: r39715
2009-03-28 06:45:22 +00:00
Nicola Mettifogo
146597dd2d
Adjusted calculation of scanline width for ILBM files to account for occasional padding bytes. This fixes the loading of some backgrounds in BRA.
...
svn-id: r39705
2009-03-27 05:57:19 +00:00
Nicola Mettifogo
c1ff3aec3e
Removed paranoia check.
...
svn-id: r39656
2009-03-24 09:01:44 +00:00
Nicola Mettifogo
76c0d08200
* Pushed evaluation of 'following question' from dialogue parsing to dialogue execution.
...
* Removed all the question forwards declaration code
svn-id: r39654
2009-03-24 08:20:08 +00:00
Nicola Mettifogo
0998f53cb0
Refactored the zone type parsers.
...
svn-id: r39650
2009-03-23 23:17:33 +00:00
Nicola Mettifogo
d82aea1e54
Turned ZoneTypes into a regular numeric id (no more a bitfield).
...
svn-id: r39648
2009-03-23 22:34:46 +00:00
Nicola Mettifogo
52b1c9e32f
Oops.
...
svn-id: r39646
2009-03-23 20:42:53 +00:00
Nicola Mettifogo
2223627c75
Merged GetData, HearData, SpeakData, PathData, ExamineData, MergeData into TypeData struct. This simplifies life a bit especially in the parsers.
...
svn-id: r39645
2009-03-23 20:41:54 +00:00
Nicola Mettifogo
8cebcaf017
Pushed down dependencies from parser.h
...
svn-id: r39636
2009-03-23 17:42:08 +00:00
Travis Howell
92e788dbb6
Fix pallete for label font in the Amiga version of BRA.
...
svn-id: r39632
2009-03-23 12:30:47 +00:00