Commit Graph

490 Commits

Author SHA1 Message Date
Filippos Karapetis
e9730ca597 TINSEL: Fix bug #3541542 - "DW: PSX version dies when pressing ESC in intro"
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-09-03 04:32:31 +03:00
Paul Gilbert
2dee92a908 TINSEL: Fixed portability issue with earlier savegames 2012-08-06 20:03:56 +10:00
Filippos Karapetis
b17667cbcf TINSEL: Fix bug #3541745 - "DW: PSX version has a too small Re-Start window" 2012-07-15 22:19:10 +03:00
Filippos Karapetis
1fffbe40ce TINSEL: Change SetMidiVolume() so that it doesn't start/stop music tracks
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-15 17:37:55 +03:00
Filippos Karapetis
4c3b4835aa TINSEL: Fix bug #3459999 - "TINSEL: DW Crash in Subtitle Menu" 2012-07-15 16:54:59 +03:00
Filippos Karapetis
a5af61005c TINSEL: Remove the GF_BIG_ENDIAN flag 2012-07-15 15:00:00 +03:00
Filippos Karapetis
d4a354c17f TINSEL: Remove the GF_CD and GF_FLOPPY flags 2012-07-15 14:55:06 +03:00
Filippos Karapetis
bd09eb0655 TINSEL: Reorder the detection entries to split the DW1 and DW2 entries 2012-07-15 14:41:27 +03:00
Filippos Karapetis
89aa6573fe TINSEL: Remove the GF_DEMO flag 2012-07-15 14:38:26 +03:00
Paul Gilbert
212551fe4e TINSEL: Added script workaround for #3543624 - DW1 PSX demo idle animation 2012-07-15 20:58:14 +10:00
Filippos Karapetis
e10b59b624 TINSEL: Cleanup 2012-07-14 05:07:16 +03:00
Paul Gilbert
ee818634ab TINSEL: Added MD5 detection entries for Discworld 1 Polish translation 2012-07-11 21:41:52 +10:00
Filippos Karapetis
b8354e27ae TINSEL: Fix bug #3541230 - "DW: PSX version locks up after using the book"
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-07-09 01:33:40 +03:00
Johannes Schickel
e1d45a7b89 TINSEL: Remove unused member _scheduler in TinselEngine.
This is a leftover from before the move of the coroutine code.
2012-06-07 18:19:58 +02:00
Paul Gilbert
68b0412ce9 TINSEL: Fix compiler warning 2012-05-17 20:46:13 +10:00
Paul Gilbert
41692ef48a TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler 2012-05-17 20:42:23 +10:00
Paul Gilbert
c6810c174e COMMON: Moved the Tinsel Coroutine code into it's own Common class 2012-05-17 20:39:55 +10:00
Matthew Hoops
76dfbbede4 TINSEL: Add basic PSX SEQ playback support
Instrument bank support is not implemented yet
2012-05-03 18:19:54 -04:00
Matthew Hoops
b93b17e7f4 TINSEL: Capitalize 'demo' 2012-05-03 17:59:19 -04:00
Alyssa Milburn
be35baddc7 TINSEL: Rename globals to add g_ prefix. 2012-02-22 23:14:29 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
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-15 10:07:10 -06:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Paul Gilbert
5ce622c1b6 TINSEL: Added extra fields to the savegame header for SCN/GRA usage and language
New savegames that are created will no longer appear in the savegame list for different data versions or languages.
2012-02-11 21:45:16 +11:00
Johannes Schickel
adb5342247 TINSEL: Take advantage of KeyState::hasFlags. 2011-12-30 01:53:01 +01:00
D G Turner
111f580676 TINSEL: Replace usage of 'goto'. 2011-12-08 14:27:28 +00:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Alyssa Milburn
e21764be76 TINSEL: Don't leak _curChunk on exit. 2011-11-14 22:54:34 +01:00
Strangerke
9684a1079d LAUNCHER: Add GUIO_NOASPECT to tinsel 2011-10-24 01:27:47 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Paul Gilbert
b7ab968dc7 TINSEL: Cleaner fix for bug #2893946 - Psychiatrist savegame problem 2011-10-20 20:36:37 +11:00
Paul Gilbert
ca7bc71846 TINSEL: Bugfix for restoring DW1 savegames with a saved scene
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-18 19:47:45 +11:00
Paul Gilbert
01616afecc TINSEL: Revert of prior commits for #2893946 2011-10-16 16:14:02 +11:00
Paul Gilbert
6811a3daff TINSEL: Alter previous DW1 bugfix so that DW2 still works properly 2011-10-14 20:38:00 +11:00
Torbjörn Andersson
744f8507d7 TINSEL: Fix #3422433 ("DW2: US version uses UK graphics")
According to dreammaster it should be enough to add cases for the
US version in these two functions, but unfortunately he can't test
it himself. I guess I should try to find the time to play through
the game, but right now there's an annoying DW2 regression from
commit d5690e0. See GitHub commit note for details.
2011-10-13 23:48:09 +02:00
Paul Gilbert
d5690e09b3 TINSEL: Bugfix for #2893946 - DW1 psychiatrist scene isn't playing 2011-10-04 20:47:01 +11:00
Johannes Schickel
b8dfd3366b TINSEL: Made some static data const. 2011-09-08 20:15:07 +02:00
Matthew Hoops
adb69a5a39 AUDIO: Rename Vag to XA
Vag is really an XA container, and one that we do not have a decoder for (nor need)
2011-08-24 09:54:19 -04:00
Filippos Karapetis
21b2a7064f Merge pull request #63 from tsoliman/detection-tables
Some missing ADGF_CD and ADGF_UNSTABLE flags
2011-08-13 12:24:30 -07:00
Max Horn
321c0ce027 TINSEL: Code formatting 2011-08-08 20:33:33 +02:00
Filippos Karapetis
5974fcd0c1 TINSEL: Use SAVEGAME_ID when getting savegame info, if a VM is instantiated 2011-08-07 15:10:17 +03:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Filippos Karapetis
2c9fdf0df7 TINSEL: Fixed deleting saved games from the launcher (bug #3387551) 2011-08-07 14:21:28 +03:00
Tarek Soliman
a30c3697fb TINSEL: Flag CD titles with ADGF_CD 2011-08-06 23:33:15 -05:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Alyssa Milburn
6318758e71 TINSEL: Don't leak running processes in Scheduler::reset(). 2011-06-20 17:42:00 +02:00
Alyssa Milburn
0269a8d900 TINSEL: Fix/comment CORO_KILL_SELF macro.
This reverts 9573b1d2f5, which changed
the behaviour of (among other things) NewScene, which made Discworld
uncompletable. Thanks to digitall for bisection/reproduction.
2011-06-20 17:23:30 +02:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00