aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
AgeCommit message (Collapse)Author
2012-12-11TINSEL: Fix what seems to be two bugs in the endianess handling codeFilippos Karapetis
This will need to be tested in a BE system for correctness. Fixes the Mac version of DW1
2012-12-11TINSEL: Add another check to skip the non-MIDI music of DW1 MacFilippos Karapetis
2012-12-11TINSEL: Add resource handling of the BE resources in DW1 MacFilippos Karapetis
This is the second attempt. All the BE resources of DW1 Mac are handled correctly now. Added READ_16, READ_32, FROM_16, FROM_32 and TO_32 to handle all of the different cases where endianess is already handled. Note that the game scripts are LE, so these haven't been changed
2012-12-11TINSEL: Revert the BE -> LE resource conversion for DW1 MacFilippos Karapetis
This was a bad idea, as we ended up with another place where the resource files were processed. Thus, I'm moving back to handling the BE resources of the Mac version in the engine itself
2012-12-10TINSEL: Remove unused variableTorbjörn Andersson
2012-12-10TINSEL: Add a WIP BE To LE SCN file conversion code (unfinished)Filippos Karapetis
This is a cleaner approach to handle the Mac version of DW1 (demo and full versions - refer to bug #3110936). This way, we can keep the game engine as LE even with the Mac BE resource files. Both the demo and the full version progress up to drawing the scene graphics now and crash because of the currently unhandled bitmap chunk.
2012-12-10TINSEL: Simplify the scene entrance handling codeFilippos Karapetis
This also reverts the rest of the BE resource handling code
2012-12-10TINSEL: Revert most of the engine BE resource handling codeFilippos Karapetis
This was added in commit 3fdddd53b2b970aae3e967bebc0bff6e642a5111. However, having handling for both BE and LE resource complicates the engine code unnecessarily. Thus, a different approach will be done.
2012-12-03TINSEL: Fix misleading commentTorbjörn Andersson
I missed these in my scroll wheel pull request, but better late than never.
2012-12-03Merge pull request #294 from eriktorbjorn/tinsel-scrollwheelDavid Turner
TINSEL: Add scrollwheel support to save/load and inventory
2012-12-01TINSEL: Start handling the BE resources of the Mac versions of DW1Filippos Karapetis
Refer to bug #3110936 This is still work in progress, but it doesn't affect the rest of the LE versions of DW1. Both the Mac demo and the full version still crash. The music in the Mac version is skipped for now, as it isn't MIDI
2012-11-24TINSEL: Add scrollwheel support to save/load and inventoryTorbjörn Andersson
2012-11-22TINSEL: Fix typo in commentTorbjörn Andersson
2012-11-22TINSEL: Fix inventory scrollbar handle positionTorbjörn Andersson
The scrollbar handle was one pixel too far to the left, and the topmost position was off by one as well. I've verified this to the best of my ability. I've compared it visually in DOSBox (which is a bit tricky for Discworld 2, but I think it's right now), and against the initial Tinsel v1 source code that was added to ScummVM. I don't know what the initial Tinsel v2 source code looked like, though.
2012-11-22TINSEL: Fix inventory scrollingTorbjörn Andersson
Adjusted NM_SLIDE_INSET and NM_SLIDE_THICKNESS to make the inventory scrollbar work as it did before Tinsel v1 and v2 were combined. The scrollbar worked before, but you had to click a bit to the left of it to operate it. It's the only place in the code where these constants are used, so it should not break anything else.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-03TINSEL: Fix bug #3541542 - "DW: PSX version dies when pressing ESC in intro"Filippos Karapetis
DW1 PSX seems to have its own scene skipping code for scenes 2 and 3, thus injecting our own causes it to hang. Scenes 2 and 3 can be skipped separately.
2012-08-06TINSEL: Fixed portability issue with earlier savegamesPaul Gilbert
2012-07-15TINSEL: Fix bug #3541745 - "DW: PSX version has a too small Re-Start window"Filippos Karapetis
2012-07-15TINSEL: Change SetMidiVolume() so that it doesn't start/stop music tracksFilippos Karapetis
Previously, SetMidiVolume() would stop the currently playing track when the MIDI volume was set to 0. Now, the music track always plays, even when the volume is set to 0. This fixes bug #3541533 - "DW: Silencing music volume stops music" and resolves two FIXME comments
2012-07-15TINSEL: Fix bug #3459999 - "TINSEL: DW Crash in Subtitle Menu"Filippos Karapetis
2012-07-15TINSEL: Remove the GF_BIG_ENDIAN flagFilippos Karapetis
2012-07-15TINSEL: Remove the GF_CD and GF_FLOPPY flagsFilippos Karapetis
2012-07-15TINSEL: Reorder the detection entries to split the DW1 and DW2 entriesFilippos Karapetis
2012-07-15TINSEL: Remove the GF_DEMO flagFilippos Karapetis
2012-07-15TINSEL: Added script workaround for #3543624 - DW1 PSX demo idle animationPaul Gilbert
2012-07-14TINSEL: CleanupFilippos Karapetis
2012-07-11TINSEL: Added MD5 detection entries for Discworld 1 Polish translationPaul Gilbert
2012-07-09TINSEL: Fix bug #3541230 - "DW: PSX version locks up after using the book"Filippos Karapetis
Removed the superfluous MIDI offset storing code. Now, the MIDI buffer is re-read when the music loops. This removes a static variable and also fixes another bug in the SEQ decoder.
2012-06-07TINSEL: Remove unused member _scheduler in TinselEngine.Johannes Schickel
This is a leftover from before the move of the coroutine code.
2012-05-17TINSEL: Fix compiler warningPaul Gilbert
2012-05-17TINSEL: Refactored Tinsel engine to use the Common coroutine schedulerPaul Gilbert
2012-05-17COMMON: Moved the Tinsel Coroutine code into it's own Common classPaul Gilbert
2012-05-03TINSEL: Add basic PSX SEQ playback supportMatthew Hoops
Instrument bank support is not implemented yet
2012-05-03TINSEL: Capitalize 'demo'Matthew Hoops
2012-02-22TINSEL: Rename globals to add g_ prefix.Alyssa Milburn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15JANITORIAL: Fix whitespace in pointer template argTarek Soliman
2012-02-11TINSEL: Added extra fields to the savegame header for SCN/GRA usage and languagePaul Gilbert
New savegames that are created will no longer appear in the savegame list for different data versions or languages.
2011-12-30TINSEL: Take advantage of KeyState::hasFlags.Johannes Schickel
2011-12-08TINSEL: Replace usage of 'goto'.D G Turner
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-11-14TINSEL: Don't leak _curChunk on exit.Alyssa Milburn
2011-10-24LAUNCHER: Add GUIO_NOASPECT to tinselStrangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-10-20TINSEL: Cleaner fix for bug #2893946 - Psychiatrist savegame problemPaul Gilbert
2011-10-18TINSEL: Bugfix for restoring DW1 savegames with a saved scenePaul Gilbert
This happens, for example, when restoring a savegame of the dragon summoning book close-up. After restoring, you couldn't leave the close up.
2011-10-16TINSEL: Revert of prior commits for #2893946Paul Gilbert
2011-10-14TINSEL: Alter previous DW1 bugfix so that DW2 still works properlyPaul Gilbert