Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-30 | TINSEL: Memory Leak Fix in Coroutines. | David Turner | |
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 | |||
2011-01-30 | HUGO: Fix warning reported by GCC | Arnaud Boutonné | |
svn-id: r55670 | |||
2011-01-30 | HUGO: | Arnaud Boutonné | |
- Replace several char* by Common::String - Fix a bug in showDosInventory() svn-id: r55669 | |||
2011-01-30 | MOHAWK: Handle kLBAnimOpSetTempoDiv better. | Alyssa Milburn | |
svn-id: r55668 | |||
2011-01-30 | SWORD25: Disabled the video save/load code, and made it error out instead. | Filippos Karapetis | |
Videos are never saved or loaded, thus when this happens, it probably indicates a game bug or a corrupted saved game svn-id: r55667 | |||
2011-01-30 | SWORD25: Some optimizations to the Theora decoder | Filippos Karapetis | |
- 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 | |||
2011-01-30 | MOHAWK: Implement Stoneship telescope | Bastien Bouclet | |
svn-id: r55665 | |||
2011-01-30 | SWORD25: Added alternative code for video frame blitting (currently disabled) | Filippos Karapetis | |
svn-id: r55664 | |||
2011-01-30 | SWORD25: Some translations, and a bugfix. Disabled a hack. | Filippos Karapetis | |
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 | |||
2011-01-30 | TOON: Fixes two movie issues | Sylvain Dupont | |
- 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 | |||
2011-01-30 | COMMON: Add an erase method which takes an iterator to HashMap. | Johannes Schickel | |
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 | |||
2011-01-30 | SCUMM: Fix Valgrind mismatched delete errors in SMUSH channel base class. | David Turner | |
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 | |||
2011-01-30 | SCUMM: Remove direct usage of OSystem quit() function in SCUMM engine code. | David Turner | |
This would cause leaks, but occurs in development code only. svn-id: r55659 | |||
2011-01-30 | SWORD1: Fix possible uninitialized memory read in Screen object. | David Turner | |
This was detected during playtest with Valgrind during Act 5 (Spain). svn-id: r55658 | |||
2011-01-30 | MOHAWK: Myst, pass the playback direction from the calling script to the ↵ | Bastien Bouclet | |
movie player. svn-id: r55657 | |||
2011-01-30 | MOHAWK: Myst, display a warning when trying to play a movie backwards. | Bastien Bouclet | |
svn-id: r55656 | |||
2011-01-30 | TOON: Add coordinates clamping for safety | Sylvain Dupont | |
In some rare cases, Drew position is outside the valid area. Made sure it does not crash in these cases. svn-id: r55655 | |||
2011-01-30 | GOB: Work around the unimplemented copyFile :P | Sven Hesse | |
svn-id: r55654 | |||
2011-01-30 | GOB: Stub some Adibou mult stuff | Sven Hesse | |
svn-id: r55653 | |||
2011-01-30 | MOHAWK: Implement Stoneship cloud orbs | Bastien Bouclet | |
svn-id: r55652 | |||
2011-01-30 | HUGO: Fix a crash in maze and a bug in lineHandler() | Arnaud Boutonné | |
svn-id: r55651 | |||
2011-01-30 | TOON: Fix the last known z-order issues | Sylvain Dupont | |
Rewrote the Z-order management, it's now very close to the original code svn-id: r55650 | |||
2011-01-30 | TOON: More Drew visibility fixes | Sylvain Dupont | |
In the castle, Drew disappeared if you clicked twice on the closed door. svn-id: r55649 | |||
2011-01-30 | GOB: Add o7_playVmdOrMusic | Sven Hesse | |
svn-id: r55648 | |||
2011-01-30 | GOB: Add a sanity check to the copyFile stub | Sven Hesse | |
svn-id: r55647 | |||
2011-01-30 | GOB: Add Inter_Playtoons::readSprite() | Sven Hesse | |
svn-id: r55646 | |||
2011-01-30 | GOB: Change SPRITES_COUNT into a const | Sven Hesse | |
svn-id: r55645 | |||
2011-01-30 | GOB: Adibou has background atmosphere | Sven Hesse | |
svn-id: r55644 | |||
2011-01-30 | GOB: Fix Inter_v6::probe16bitMusic() | Sven Hesse | |
svn-id: r55643 | |||
2011-01-29 | HUGO: Cleanup drawRectangle() and keyHandler() | Arnaud Boutonné | |
svn-id: r55642 | |||
2011-01-29 | TOON: Bug #3124518 with disappearing inventory items fixed | Sylvain Dupont | |
Bug #3124518: "TOON: loss of inventory items in Bricabrac's machine room" Was caused by recursive walkTo that were not canceling out. svn-id: r55641 | |||
2011-01-29 | GOB: Implement o7_loadFunctions and o7_callFunction | Sven Hesse | |
svn-id: r55640 | |||
2011-01-29 | GOB: Add setExtension() | Sven Hesse | |
svn-id: r55639 | |||
2011-01-29 | GOB: Rename loadGroups/callGroup to loadFunctions/callFunctions | Sven Hesse | |
svn-id: r55638 | |||
2011-01-29 | GOB: Add Inter_Playtoons::getFile() | Sven Hesse | |
svn-id: r55637 | |||
2011-01-29 | GOB: _environments doesn't need to be a pointer | Sven Hesse | |
svn-id: r55636 | |||
2011-01-29 | GOB: Remove the long obsolete inter_execPtr | Sven Hesse | |
svn-id: r55635 | |||
2011-01-29 | GOB: Add Script::evalInt() and Script::evalString() | Sven Hesse | |
svn-id: r55634 | |||
2011-01-29 | GOB: Rename Script::evalBoolResult() to Script::evalBool() | Sven Hesse | |
svn-id: r55633 | |||
2011-01-29 | GOB: Stub o7_loadGroups | Sven Hesse | |
svn-id: r55632 | |||
2011-01-29 | GOB: o7_draw0x59 is o7_callGroup | Sven Hesse | |
svn-id: r55631 | |||
2011-01-29 | GOB: Add GobEngine::isCurrentTot() | Sven Hesse | |
svn-id: r55630 | |||
2011-01-29 | GOB: Change _curTotFile and _totToLoad into Common::String | Sven Hesse | |
svn-id: r55629 | |||
2011-01-29 | GOB: Rename "skipPlay" to "function" in playTot | Sven Hesse | |
svn-id: r55628 | |||
2011-01-29 | GOB: Move OpcodeFunc's return flag into its parameter | Sven Hesse | |
To make the meaning of the flag more clear and make the func opcodes more similar to draw and gob opcodes. svn-id: r55627 | |||
2011-01-29 | TOON: Add workarounds in transformed barn scene | Sylvain Dupont | |
Drew does not disappear anymore in the barn when filling his can. Slowed down the talk animations a bit svn-id: r55626 | |||
2011-01-29 | TOON: Fix some palette issues | Sylvain Dupont | |
- In fade out when leaving certain rooms - When loading a game in a cutaway/closeup state svn-id: r55625 | |||
2011-01-29 | TOON: Pathfinding & walking improvements | Sylvain Dupont | |
Use direct line path if possible Smooth facing direction to avoid flickering (entering zanidu shuttle for example) Fix possible lockups svn-id: r55624 | |||
2011-01-29 | KYRA: Hopefully fix valgrind warnings in the HoF intro when text is disabled. | Johannes Schickel | |
svn-id: r55623 | |||
2011-01-29 | MOHAWK: More Stoneship progress, hologram viewer and drawers | Bastien Bouclet | |
svn-id: r55622 |