aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/disk.h
AgeCommit message (Collapse)Author
2007-11-22* added adapter from Graphics::Surface to FramesNicola Mettifogo
* 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-08-25Added an abstract base class for representing multiple-frames for ↵Nicola Mettifogo
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-12Changed signature of disk routines for backgrounds to something resembling ↵Nicola Mettifogo
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-12Added more resource loading.Nicola Mettifogo
svn-id: r28563
2007-08-12Disk can now load tables for BRA.Nicola Mettifogo
svn-id: r28561
2007-08-11Added partial cursor support for Big Red Adventure. Small adjustments to ↵Nicola Mettifogo
generalize disk code for multiple cursors. svn-id: r28537
2007-08-11Added preliminary font support for Big Red Adventure.Nicola Mettifogo
svn-id: r28529
2007-08-11Overhaul of background/mask/path handling:Nicola Mettifogo
- added new BackgroundInfo structure - added helper functions to aid management of BackgroundInfo. Engine is now responsible for allocation/deallocation. - simplified loading and handling of background resources. svn-id: r28524
2007-08-07Turned StaticCnv struct into stock Graphics::Surface, and changed all ↵Nicola Mettifogo
relevant code. svn-id: r28484
2007-07-28Add support for multi-tune Protracker modules used in the Amiga version of ↵Travis Howell
Waxworks. svn-id: r28256
2007-07-27- Moved disk code for Nippon Safes in new file disk_ns.cpp, adding _ns ↵Nicola Mettifogo
suffix to classes and member functions. - Added function stubs into new file disk_br.cpp for Big Red Adventure [IT STILL CRASHES!]. - Modified engine to create the proper Disk manager object. svn-id: r28246
2007-07-07DLTA tags in multi-frame images are now supported.Nicola Mettifogo
svn-id: r27949
2007-06-23Made changeCharacter restore the previous open Archive after completing its ↵Nicola Mettifogo
duties: this fixes known crash when mini-Dino activates robot, and possibly many unknown others. svn-id: r27684
2007-06-16Reduce code duplication.Travis Howell
svn-id: r27459
2007-06-15All known versions of Nippon Safes are now enabled with all features except ↵Nicola Mettifogo
for half-brite effects. Please keep an eye out for regression. svn-id: r27437
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-01Implemented a IFF (Interchange File Format) parser and added subclasses to ↵Nicola Mettifogo
parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code. svn-id: r26719
2007-04-27Refactored music code for dos version and added music to Amiga versions.Nicola Mettifogo
svn-id: r26619
2007-04-23Simplified loading of background resources for Amiga.Nicola Mettifogo
svn-id: r26578
2007-04-16Now handling fonts with brand-new Font hierarchy. Amiga font have been ↵Nicola Mettifogo
implemented for dialogues/descriptions, but not for labels yet. svn-id: r26530
2007-04-07Reduced dependency between project files, and prepared defs.h for deletion ↵Nicola Mettifogo
as soon as List<>'s usage is implemented. svn-id: r26400
2007-04-03- added a new archive member variable to Disk, to decouple resource archives ↵Nicola Mettifogo
from location archives - made Script use a stream as input with overall simplification of Disk routines svn-id: r26379
2007-04-03- fixed RLEStreamNicola Mettifogo
- simplified unpacking of background for dos version - other minor changes svn-id: r26378
2007-04-03Reduced code duplication in AmigaDisk by means of a new wrapper class for ↵Nicola Mettifogo
Archive. svn-id: r26377
2007-04-01- Added a new class RLEDecoder to avoid code duplication in Disk routines.Nicola Mettifogo
- Temporarily disabled mask loading in Amiga version. svn-id: r26361
2007-04-01Fixed loading of graphics. Now things really look what they are, except the ↵Nicola Mettifogo
character which still looks a bit jagged. svn-id: r26352
2007-04-01Implemented Disk routines for Amiga demo. Font are simulated with boxes, and ↵Nicola Mettifogo
frames aren't decoded properly yet. The engine will now show the first game screen, but crash as soon as the user clicks her mouse. svn-id: r26341
2007-03-29- changed Cnv to use a single large buffer for frames instead of small ↵Nicola Mettifogo
chunks of memory, to simplify loading by Disk. - added a new constructor with parameters to Cnv svn-id: r26318
2007-03-24Added new class Table, and updated Disk accordingly. Tables can be populated ↵Nicola Mettifogo
after their creation or wrapped around existing arrays. Thus, the old functions (initTable, freeTable and searchTable) have been removed. svn-id: r26295
2007-03-24started infrastructure for amiga demo:Nicola Mettifogo
- added Disk skeleton - adapted Archive to handle different structure for archives - moved Disk creation from engine constructor into init() [still sub-optimal] svn-id: r26293
2007-03-18Made loadStatic return a new StaticCnv instead of accepting a parameter. All ↵Nicola Mettifogo
disk functions now accept only a resource name as their parameter. svn-id: r26232
2007-03-18Made loadFrames return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26231
2007-03-18Made loadFont return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26203
2007-03-18Made loadObjects return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26202
2007-03-18- made loadPointer return a new StaticCnv instead of accepting a parameter. Nicola Mettifogo
- adjusted Gfx code handling mouse pointers. svn-id: r26201
2007-03-18Made loadHead return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26200
2007-03-18Made loadTalk return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26199
2007-03-15moved remaining background related functions to disk.cpp, and changed Gfx ↵Nicola Mettifogo
accordingly svn-id: r26145
2007-03-12renamed Graphics class to Gfx and Parallaction::_graphics to ↵Nicola Mettifogo
Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics svn-id: r26111
2007-03-11Disk is now completely responsible for retrieving localized location scriptsNicola Mettifogo
svn-id: r26094
2007-03-04made loadScript and loadLocation benefit from Script's ability to dispose of ↵Nicola Mettifogo
its input buffer svn-id: r25976
2007-03-04wrapped loader routines into a new class named Disk. The new class is also ↵Nicola Mettifogo
responsible for handling Archives in place of the Parallaction engine. svn-id: r25972
2007-03-04no more overloading for loadBackgroundNicola Mettifogo
svn-id: r25971
2007-03-04hid mask and path loading details from the engine, so it is now independent ↵Nicola Mettifogo
from background management svn-id: r25970
2007-03-04separated slide from scenery loading to take care of filename aliasesNicola Mettifogo
svn-id: r25969
2007-03-04moved background loading into disk.cppNicola Mettifogo
svn-id: r25968
2007-03-02added loaders for static images like pickable items and for characters framesNicola Mettifogo
svn-id: r25940
2007-03-02added Script loader routineNicola Mettifogo
svn-id: r25938
2007-03-02enforced convention on loader names: load[ItemType]Nicola Mettifogo
svn-id: r25937
2007-03-02added inventory objects loader routineNicola Mettifogo
svn-id: r25936