aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/barchive.h
AgeCommit message (Collapse)Author
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-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-10-08Change doxygen inline comments from "//!" to "///" as proposed on -develMax Horn
svn-id: r44802
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-08-02Changed some uint16s to uints (to blend more naturally with the rest of the ↵Denis Kasak
engine). svn-id: r42991
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-17Added prefices to safeguard defines in order to minimize risk of name clash.Eugene Sandulenko
svn-id: r41605
2009-06-15Added BArchive::isOpen() method. Modified DraciEngine::go() to use it. ↵Denis Kasak
Updated BArchive docs. svn-id: r41550
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-12Properly documented everything (including the new DraciFont class). ↵Denis Kasak
Reshuffled some old comments. svn-id: r41467
2009-06-08Adding Draci Historie engine skeleton (engine stub, BAR archiver, ↵Denis Kasak
rudimentary GPL disassembler) svn-id: r41390