Age | Commit message (Collapse) | Author |
|
Not just loadLBM. The image can be a TGA, LBM, BRC, BMP or JPEG.
svn-id: r55694
|
|
svn-id: r55693
|
|
svn-id: r55692
|
|
svn-id: r55691
|
|
svn-id: r55690
|
|
_resourceData, _imageStart, _audioStart and _audioLen
svn-id: r55689
|
|
The parent animation now keeps track of sounds, and animations don't
emit a done event while their sounds are still playing.
svn-id: r55688
|
|
svn-id: r55687
|
|
svn-id: r55686
|
|
svn-id: r55685
|
|
svn-id: r55684
|
|
svn-id: r55683
|
|
Fixes Adibou's recipices.
svn-id: r55682
|
|
This fixes a font drawing error in Adibou.
svn-id: r55681
|
|
svn-id: r55680
|
|
svn-id: r55679
|
|
resource methods
svn-id: r55678
|
|
svn-id: r55677
|
|
Implementing o7_opendBase, o7_closedBase and o7_getDBString
svn-id: r55676
|
|
Stubbing those for now
svn-id: r55675
|
|
This simplifies the overall code and makes it easier to understand. Also, a bug with the
speech in the MacBinary packed version has been corrected, so there are no more clicking
sounds before each sample.
The Common::MacResMan code isn't really useful here, since it doesn't expose the offsets
and sizes of the actual files, which is what is needed in SAGA.
svn-id: r55674
|
|
svn-id: r55673
|
|
svn-id: r55672
|
|
This fixes the leak from the COR0_BEGIN_CODE macro's CoroContextTag allocation.
Setting the _sleep value to negative values prevented the deallocation of these.
Have tested for obvious regressions, but a full DW/DW2 playtest should be done to confirm that this doesn't cause any issues.
Thanks to fingolfin for indicating this solution.
svn-id: r55671
|
|
svn-id: r55670
|
|
- Replace several char* by Common::String
- Fix a bug in showDosInventory()
svn-id: r55669
|
|
svn-id: r55668
|
|
Videos are never saved or loaded, thus when this happens, it probably indicates a game bug
or a corrupted saved game
svn-id: r55667
|
|
- Optimized and cleaned up translateYUVtoRGBA()
- Disabled a lot of seeking-related functionality
- Replaced some calloc() calls, used for audio buffer creation with malloc()
svn-id: r55666
|
|
svn-id: r55665
|
|
svn-id: r55664
|
|
Translated some comments, and pushed the indirect rendering define to the header
file, so that the engine won't try and update the screen with direct movie rendering.
Also, the thumbnail hack has been disabled, as it doesn't really work (at least not for
me: all the thumbnails are gray)
svn-id: r55663
|
|
- Can't skip the videos with left button anymore, now the Nefarius video on the
TV is played normally and not skipped.
- Last video playback 2x too big in height.
svn-id: r55662
|
|
Currently there is no iterator returned from this method, to have some
similarity to associative containers of the STL.
I also "added" one unit test for this method, which is basically just
a copy of the HashMap::erase(const Key &) test with the required adaptions.
svn-id: r55661
|
|
This was due to the SMUSH channel base class using new/delete to manage buffer, but the imuse_channel and saud_channel classes which subclass and override this using malloc/free.
The more C++ solution of moving all to new/delete was tried, but the buffer is passed into a MemoryReadStream and free()'d there, so all classes have been moved to malloc/free instead.
This is not a critical problem as the buffers are byte primitive type anyway.
svn-id: r55660
|
|
This would cause leaks, but occurs in development code only.
svn-id: r55659
|
|
This was detected during playtest with Valgrind during Act 5 (Spain).
svn-id: r55658
|
|
movie player.
svn-id: r55657
|
|
svn-id: r55656
|
|
In some rare cases, Drew position is outside the valid area.
Made sure it does not crash in these cases.
svn-id: r55655
|
|
svn-id: r55654
|
|
svn-id: r55653
|
|
svn-id: r55652
|
|
svn-id: r55651
|
|
Rewrote the Z-order management, it's now very close to the original code
svn-id: r55650
|
|
In the castle, Drew disappeared if you clicked twice on the closed door.
svn-id: r55649
|
|
svn-id: r55648
|
|
svn-id: r55647
|
|
svn-id: r55646
|
|
svn-id: r55645
|