aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/barchive.cpp
AgeCommit message (Collapse)Author
2010-07-03Dragon History tries uses compressed dubbing when availableRobert Špalek
Timing of speaking is not fixed yet. svn-id: r50614
2009-12-09DRACI: Reduce header interdependencies; some cleanupMax Horn
svn-id: r46320
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-22Avoid opening and closing BArchive files all the timeRobert Špalek
svn-id: r45325
2009-10-11Loading and caching sound samples in memory.Robert Špalek
The sounds are not played yet, but the infrastructure is getting ready. svn-id: r44957
2009-10-11Added support for sound archives.Robert Špalek
We initialize them in the DraciEngine constructor, but don't play any sounds yet. Checked that it works for all existing sound files (required several work-arounds against unspoken specification). When copying the interface from barchive.h, I decided to remove some const's from there, because getFile() wasn't really behaving like const. Removed some static Common::String instances. svn-id: r44953
2009-09-30Remove trailing whitespacesMax Horn
svn-id: r44493
2009-09-30- Adapt parts of the Draci code to match our code formatting guidelinesJohannes Schickel
- Remove use of tabs for formatting, now in nearly all cases tabs are only used for indentation - Use "uint" instead of "unsigned int" in the whole engine for consistency's sake - Strip some trailing tabs and leading whitespaces svn-id: r44478
2009-09-28Make getFile() return a const pointer and clean-up all uses of it.Robert Špalek
svn-id: r44433
2009-07-17* Renamed BAFile::closeFile() to close()Denis Kasak
* Fixed leak in BArchive::loadFileDFW() svn-id: r42554
2009-07-07Fixed two mismatched (de)allocations in BArchive and BAFile.Denis Kasak
svn-id: r42247
2009-07-02DraciEngine now opens and stores pointers to essential archives. Changed ↵Denis Kasak
code that used those archives to use that instead of opening them manually. Replaced BArchive::operator[] functionality with BArchive::getFile() to prevent ugliness when accessing archives via pointers. svn-id: r42031
2009-07-02Added BArchive::clearCache() method for clearing the data cache of opened files.Denis Kasak
svn-id: r42019
2009-06-15Added BArchive::isOpen() method. Modified DraciEngine::go() to use it. ↵Denis Kasak
Updated BArchive docs. svn-id: r41550
2009-06-15Fixed a memory leak in BArchive::openArchive(). A buffer wasn't being freed.Denis Kasak
svn-id: r41535
2009-06-15Close a file after we're done using it.Denis Kasak
svn-id: r41534
2009-06-15Added support for DFW format archives. Rewrote some BArchive methods to be ↵Denis Kasak
able to seamlessly handle both BAR and DFW archives. Modified the BAFile struct to support both types of files. Tested it by enabling the mouse in the event loop (the cursor was stored in a DFW file). Added and rewrote docs to reflect the changes. svn-id: r41533
2009-06-10Added an additional debuglevel "archiver" to facilitate displaying debug ↵Denis Kasak
info from the BAR archiver. Also adjusted numeric debug levels. svn-id: r41436
2009-06-08Adding Draci Historie engine skeleton (engine stub, BAR archiver, ↵Denis Kasak
rudimentary GPL disassembler) svn-id: r41390