Robert Špalek
8d26e7c2d2
Dragon History tries uses compressed dubbing when available
...
Timing of speaking is not fixed yet.
svn-id: r50614
2010-07-03 03:48:26 +00:00
Max Horn
f3420c6372
DRACI: Reduce header interdependencies; some cleanup
...
svn-id: r46320
2009-12-09 21:03:22 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Robert Špalek
958bc7ba81
Avoid opening and closing BArchive files all the time
...
svn-id: r45325
2009-10-22 06:05:34 +00:00
Robert Špalek
f71b32dd96
Loading and caching sound samples in memory.
...
The sounds are not played yet, but the infrastructure is getting ready.
svn-id: r44957
2009-10-11 23:01:59 +00:00
Robert Špalek
c4563616ae
Added support for sound archives.
...
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-11 22:30:40 +00:00
Max Horn
cc54ad650d
Remove trailing whitespaces
...
svn-id: r44493
2009-09-30 16:04:21 +00:00
Johannes Schickel
c9ca057ae2
- Adapt parts of the Draci code to match our code formatting guidelines
...
- 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-30 10:45:14 +00:00
Robert Špalek
8a78e96838
Make getFile() return a const pointer and clean-up all uses of it.
...
svn-id: r44433
2009-09-28 03:51:23 +00:00
Denis Kasak
16530846ac
* Renamed BAFile::closeFile() to close()
...
* Fixed leak in BArchive::loadFileDFW()
svn-id: r42554
2009-07-17 01:05:13 +00:00
Denis Kasak
68ec1350c0
Fixed two mismatched (de)allocations in BArchive and BAFile.
...
svn-id: r42247
2009-07-07 21:46:34 +00:00
Denis Kasak
be3c0461d6
DraciEngine now opens and stores pointers to essential archives. Changed 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-02 16:15:32 +00:00
Denis Kasak
35a677fb08
Added BArchive::clearCache() method for clearing the data cache of opened files.
...
svn-id: r42019
2009-07-02 10:39:51 +00:00
Denis Kasak
30ef3a1223
Added BArchive::isOpen() method. Modified DraciEngine::go() to use it. Updated BArchive docs.
...
svn-id: r41550
2009-06-15 17:08:39 +00:00
Denis Kasak
a8c784245c
Fixed a memory leak in BArchive::openArchive(). A buffer wasn't being freed.
...
svn-id: r41535
2009-06-15 03:53:03 +00:00
Denis Kasak
ea3cf31938
Close a file after we're done using it.
...
svn-id: r41534
2009-06-15 03:50:45 +00:00
Denis Kasak
326cf7e735
Added support for DFW format archives. Rewrote some BArchive methods to be 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-15 03:48:16 +00:00
Denis Kasak
2c00d65501
Added an additional debuglevel "archiver" to facilitate displaying debug info from the BAR archiver. Also adjusted numeric debug levels.
...
svn-id: r41436
2009-06-10 18:18:09 +00:00
Denis Kasak
39a8c71f77
Adding Draci Historie engine skeleton (engine stub, BAR archiver, rudimentary GPL disassembler)
...
svn-id: r41390
2009-06-08 22:18:52 +00:00