Commit Graph
4076 Commits
Author SHA1 Message Date
Filippos Karapetis 5539323e16 SCI: Fix two script bugs in PQ1 (message tuple typos) - bug #3605654 2013-03-30 13:58:53 +02:00
Filippos Karapetis e376535ad4 SCI: Fix script bug #3606025 - "SCI: Crazy Nick's: King Graham's Challenge Backgammon Crash"
The script in question has a bug - it was fixed for checkers, but not backgammon
2013-03-30 13:34:25 +02:00
Filippos Karapetis 045b10efb6 SCI: Fix loading in Jones
This has been broken for a (very) long time, a regression from commit 6ff4dd2
2013-03-21 21:27:14 +02:00
Willem Jan Palenstijn 2d1fd3b554 ALL: Fix typo (existant->existent) 2013-02-23 22:07:32 +01:00
Filippos Karapetis 61ec6c998f SCI: Fix bug #3538416 - "SCI: SQ4 CD text glitches in introduction" 2013-02-17 20:45:16 +02:00
Filippos Karapetis d830b27404 SCI: Fix bug #3604944 - "SCI: QFG1VGA: Missing dialogue when speaking to Kaspar" 2013-02-17 20:44:31 +02:00
Willem Jan Palenstijn f5e43484a0 SCI: Fix kReadNumber sign/hex behaviour
Negative numbers now work, and hex overflow is handled like SSCI.
Thanks to waltervn for testing.
2013-01-25 00:57:50 +01:00
Filippos Karapetis 5691a40380 SCI: Update documentation on bug #3585189 and remove an invalid TODO
Thanks wjp for pointing out some extra parameters related to pathfinding in SCI
2013-01-24 23:23:48 +02:00
Willem Jan Palenstijn 498fe75dc5 SCI: Fix shadow warning 2013-01-24 22:12:15 +01:00
Willem Jan Palenstijn 89cd5e7416 SCI: Add GetAngle for SCI1 that matches SSCI
Thanks to waltervn for creating a scis test script to verify.
2013-01-24 22:10:20 +01:00
Filippos Karapetis b0cfe968b0 SCI: Fix bug #3585189 - "SCI: QFG1VGA - game hangs in the tavern" 2013-01-24 22:25:09 +02:00
Filippos Karapetis 0143a5d938 SCI: Bugfix for commit 0968acc: only filter out missing messages for the jar
This is to properly fix bug #3601090 without removing any functionality.
The additional check ensures that the look and hand icons work with the
jar. Many thanks to lskovlun for debugging this and providing a fix
2013-01-23 21:31:26 +02:00
Filippos Karapetis 0968acccfd SCI: Fix script bug #3601090 - "SCI: Pepper's Adventures in Time: Game becomes unsolvable"
Many thanks to lskovlun for debugging this problem and finding the
offending script code that caused it.
2013-01-23 03:17:10 +02:00
Filippos Karapetis b1ff5ba247 SCI: Slight cleanup in kMessage() 2013-01-23 03:17:10 +02:00
Filippos Karapetis dbb50219fb SCI: Fix uninitialized variable workaround for scene 510 (bug #3575570)
A non-zero value must be used in the uninitialized variable, otherwise
the prize is awarded twice. Fixes bug #3575570 - "SCI: QfG3: Both the
player and Yesufu are declared winners"
2013-01-22 01:01:22 +02:00
Filippos Karapetis b95695719f SCI: Fix angle rounding in the SCI1 implementation of kGetAngle (bug #3601479)
Fixes bug #3601479 - "SCI KQ6: Castle walls - stuck in same room".
Many thanks to wjp for his help on the kGetAngle implementation
2013-01-22 00:56:46 +02:00
Filippos Karapetis b852090a74 SCI: Add another workaround for a script bug in QFG4 2013-01-11 02:24:18 +02:00
Filippos Karapetis 566eb5d247 SCI: Add some info on kPalVary(9)/kPalVaryUnknown2 2013-01-11 02:24:17 +02:00
Filippos Karapetis 182f342a01 SCI: Add 2 workarounds for script bugs in QFG4 2013-01-11 02:24:17 +02:00
Filippos Karapetis f2464dc474 SCI: Add subop 9 of kPalVary (used in SCI32, e.g. QFG4 when exiting the caves) 2013-01-11 02:24:17 +02:00
Willem Jan Palenstijn 3dad5e55e2 SCI32: Add more KScrollWindow notes 2012-12-31 21:51:46 +01:00
Willem Jan Palenstijn 8ff034ef94 SCI32: Add more KScrollWindow notes 2012-12-30 16:12:47 +01:00
Willem Jan Palenstijn 704eb425d3 SCI32: Add notes about KScrollWindow/Where,Go 2012-12-30 13:57:08 +01:00
Willem Jan Palenstijn 1fde5e615e SCI32: Add some notes about KScrollWindow/Add 2012-12-30 13:12:51 +01:00
Filippos Karapetis fb0788d12f SCI: Properly reset the palVary signal when loading (bug #3575569) 2012-11-15 14:57:55 +02:00
Filippos Karapetis 3b5e92d4f3 SCI: Fix bug #3575569 - "SCI: QFG1VGA: Palette/hue bug after loading"
We make sure that any leftover palVary timers are removed when
loading. This is an edge case, but it won't hurt to remove these
timers just in case
2012-11-07 18:11:09 +02:00
Filippos Karapetis e7d4f88a57 SCI: Add a workaround for bug #3568452 - "SCI: QFG1VGA - Path finding bug in the forest"
This workaround has been added for now to stop the game from freezing.
A more correct solution would be to match our pathfinding algorithm
to what SSCI is doing, but with this workaround we can stop the more
immediate problem (game freezing) now.
2012-10-22 13:17:57 +03:00
Filippos Karapetis 1286710248 SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon choosing kid"
In several SCI0 games, the parameter to kDoSoundFade can be null.
We handle that case, instead of adding individual workarounds per game
2012-10-22 12:47:28 +03:00
Filippos Karapetis 146d00a799 SCI: Add the Inside the Chest / Benind the Developer's Shield demo 2012-10-22 12:19:13 +03:00
Filippos Karapetis b91a132763 SCI: Fix bug #3568431 - "SCI: QFG1VGA - Text glitch at the ghosts death screen"
This is a script bug, and is present in the original game as well. Thanks to
lskovlun for assisting with this one
2012-10-13 19:44:33 +03:00
Willem Jan Palenstijn d1e2d61b78 SCI: Fix Uhura's Woo conversation option
This is bug #3040722.

It was trying to open a non-existent submenu. We now force a return
after handling the conversation option right before it tries to look for
this submenu.
2012-10-07 12:27:14 +02:00
Willem Jan Palenstijn 8f754ced42 SCI: Flip assert
This way the assert is checking that the allocated buffer is large enough
for the memcpy that follows it.
2012-10-07 12:27:14 +02:00
Willem Jan Palenstijn e38d4f20e8 SCI: Fix dissect_script crash with invalid object types 2012-10-06 13:07:12 +02:00
Willem Jan Palenstijn 5f3f21e20e SCI: Fix some console output formatting 2012-10-06 13:07:12 +02:00
Willem Jan Palenstijn ba1307b0ce SCI: Add kReadNumber fixme
Thanks to Walter for noticing this.
2012-10-05 16:41:02 +02:00
Filippos Karapetis f2fa6a934d SCI: Fix compilation with MSVC (atan2() was ambiguous) 2012-10-01 03:06:59 +03:00
Willem Jan Palenstijn 17887e24a2 SCI: Implement kMergePoly
Thanks to Walter for creating debugging tools for MergePoly and testing.
2012-09-30 18:18:20 +02:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops 857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Filippos Karapetis 7d436622a8 SCI: More work on kRemapColors
This implements some more color remap-based palette effects, found in QFG4
2012-08-21 03:32:23 +03:00
Filippos Karapetis 1a61056b06 SCI: Extend a workaround for the dream sequence in QFG4 2012-08-21 03:32:21 +03:00
Filippos Karapetis 9568b78bab SCI: Use a simpler atan implementation for kGetAngle in SCI1 and newer games
SCI1 games (QFG2 and newer) use a simpler and more accurate atan implementation
for kGetAngle. This properly fixes bug #3540976.
2012-08-21 03:32:18 +03:00
Matthew Hoops 18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops 7294a1cbcf VIDEO: Remove the Coktel video code from using the VideoDecoder API
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
Filippos Karapetis 259f262592 SCI: Add a workaround for a script bug in QFG4
Thanks to Charles for testing
2012-08-02 03:46:58 +03:00
Matthew Hoops 991710d0a1 VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder API 2012-07-27 11:32:51 -04:00
Filippos Karapetis 831e1b27dc SCI: Add a workaround for a bug in Phantasmagoria 1 2012-07-27 01:31:12 +03:00
Filippos Karapetis 7eded163d8 SCI: Add support for kCD(0) with a parameter
It's now possible to start a chapter in Phantasmagoria 1
2012-07-27 01:30:37 +03:00
Filippos Karapetis 34d00f5936 SCI: Add some debug code to op_line 2012-07-26 11:06:52 +03:00
Filippos Karapetis 31f9e96aee SCI: Add a workaround for a script bug in QFG4 2012-07-25 12:14:33 +03:00