Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
696fd7af20
Reduce usage of Common::String::emptyString
...
svn-id: r44603
2009-10-04 11:58:52 +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
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
Nicola Mettifogo
3607c63758
Refactoring.
...
svn-id: r40210
2009-04-29 16:59:10 +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
631e0aaed5
Changed Disk code to provide SeekableReadStream's to sound routines as well.
...
svn-id: r39608
2009-03-22 15:25:55 +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
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
5f087d5ad6
Cleanup.
...
svn-id: r39463
2009-03-16 23:58:19 +00:00
Nicola Mettifogo
1ac00f210b
Fixed most palette issues in BRA Amiga.
...
svn-id: r39441
2009-03-16 09:11:51 +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
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
f1ad8b6934
Extended PathBuffer to support BRA.
...
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
ef05ed7a98
Cleanup.
...
svn-id: r35764
2009-01-07 07:21:50 +00:00
Nicola Mettifogo
dc3e9027f4
Removed references to _vm from the engine itself.
...
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
e6337d11aa
* completed transition to Common::Archive for Nippon Safes.
...
* removed lots of old Archive swap magic
svn-id: r34931
2008-11-07 15:35:18 +00:00
Nicola Mettifogo
8baedea4d4
Implemented a Common::Archive subclass to handle the content of archives in Nippon Safes. Common::File is now used only to load archives.
...
svn-id: r34921
2008-11-07 08:47:59 +00:00
Nicola Mettifogo
9fe3150348
Refactoring of NS disk code, preliminary to change towards Common::Archive.
...
svn-id: r34894
2008-11-04 13:57:04 +00:00
Nicola Mettifogo
8c5f9f9451
Cleanup of Nippon Safes disk code.
...
svn-id: r34860
2008-10-29 07:57:48 +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
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
655ce26b3f
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
...
svn-id: r34514
2008-09-13 16:51:46 +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
0a387bca12
Moved mouse cursor loading/handling to Input class.
...
svn-id: r34206
2008-08-30 10:27:20 +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
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
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
1d1fc64c66
Fix compile.
...
svn-id: r33354
2008-07-28 05:38:24 +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
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
Nicola Mettifogo
d8645297cd
Changed all remaining code to use the GfxObj class to keep frames data. This allows for more uniform processing during rendering, and also fixes the display of dialogue faces for BRA.
...
svn-id: r32833
2008-06-29 09:30:32 +00:00
Nicola Mettifogo
73832f2edd
* Implemented character change opcodes in BRA
...
* Fixed loading of dialogue characters in BRA
svn-id: r32529
2008-06-04 09:07:55 +00:00
Nicola Mettifogo
ff2dfb6a4e
Cleanup of background loading for BRA.
...
svn-id: r31531
2008-04-17 09:30:04 +00:00
Travis Howell
27816d8c8b
Add very basic support for Amiga version of BRA.
...
svn-id: r31416
2008-04-06 07:05:56 +00:00
Nicola Mettifogo
3d1a2e2049
Replaced custom ManagedList with Common::SharedPtr.
...
svn-id: r31415
2008-04-06 05:40:02 +00:00
Nicola Mettifogo
aea99780ef
Implemented a couple more opcodes and added capability to load/display static images in BRA.
...
svn-id: r30770
2008-02-03 16:51:38 +00:00
Nicola Mettifogo
249877fa82
Moved depth buffer and palette rotation data into BackgroundInfo.
...
svn-id: r30725
2008-02-02 00:41:31 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Nicola Mettifogo
919c0a2833
* added adapter from Graphics::Surface to Frames
...
* changed all Disk routines to return Frames* instead of Graphics::Surface*
* changed displayItemComment to use new gfx routines
* merged code for Examine zones into displayComment
svn-id: r29615
2007-11-22 21:51:33 +00:00
Nicola Mettifogo
39e4a9b180
Added an abstract base class for representing multiple-frames for animations. Changed user code to rely on the new interface. Cnv has been turned into an implementation of the new interface, and it is now known as a concrete class only to Disk and Font code for Nippon Safes.
...
svn-id: r28734
2007-08-25 20:34:10 +00:00
Nicola Mettifogo
10ee427772
Changed signature of disk routines for backgrounds to something resembling revisions prior to 28524, yet keeping the new useful BackgroundInfo struct. Those routines can now be used to fill specific fields of the struct, instead of having them create a new one at each call.
...
This feature is needed by BRA, since background, mask and path are specified by different instructions in the script.
svn-id: r28566
2007-08-12 17:13:21 +00:00
Nicola Mettifogo
a3e1907837
Added more resource loading.
...
svn-id: r28563
2007-08-12 13:47:19 +00:00
Nicola Mettifogo
de30651476
Disk can now load tables for BRA.
...
svn-id: r28561
2007-08-12 13:21:45 +00:00
Nicola Mettifogo
ccfd109e25
Added partial cursor support for Big Red Adventure. Small adjustments to generalize disk code for multiple cursors.
...
svn-id: r28537
2007-08-11 21:08:08 +00:00