Commit Graph

39464 Commits

Author SHA1 Message Date
Johannes Schickel
a3b3febb96 KYRA: Prevent fast fade to black when skipping the intro.
svn-id: r51170
2010-07-22 21:45:33 +00:00
Johannes Schickel
f48cb3cbb5 KYRA: Remove superfluous palette update on quit.
svn-id: r51169
2010-07-22 21:45:12 +00:00
Martin Kiewitz
ba47a427b2 SCI: sci2+ has a different kSetCursor order
fixes gk1 mouse cursor issue
thx to wjp

svn-id: r51168
2010-07-22 21:40:10 +00:00
Willem Jan Palenstijn
198986b25b SCI: Add more parser test cases
svn-id: r51167
2010-07-22 21:16:36 +00:00
Willem Jan Palenstijn
688416ca30 SCI: Swap suffix' class_mask result_class
Now 'coldly' is correctly recognized as the adverb form of 'cold',
and 'attained' as the adjective form of 'attain'.

svn-id: r51166
2010-07-22 21:13:06 +00:00
Martin Kiewitz
665ae8de9d SCI: fix signature of kStrCpy
disabled workaround for island of dr. brain, seems to work w/o and was probably caused by bad signature

svn-id: r51165
2010-07-22 21:06:45 +00:00
Matthew Hoops
9dcbff7259 SCI: Hopefully fix compilation when ENABLE_SCI32 is not defined
svn-id: r51164
2010-07-22 20:38:28 +00:00
Johannes Schickel
2e14869867 KYRA: Properly short-circuit after the SC/MP logo on quit.
svn-id: r51163
2010-07-22 20:34:09 +00:00
Martin Kiewitz
0e9291e929 SCI: fixing mirrored sci32 pictures
fixes lsl6, also slight cleanup and adding comments about sci32 picture resources

svn-id: r51162
2010-07-22 20:11:53 +00:00
Johannes Schickel
9b347782ed Display the MacPlay Gold logo for Macintosh versions which include it.
svn-id: r51161
2010-07-22 20:11:09 +00:00
Martin Kiewitz
0848e3dd93 SCI: doing res correction on text as well
"fixes" lsl6 abort intro dialog

svn-id: r51159
2010-07-22 19:30:20 +00:00
Martin Kiewitz
49c41ab166 SCI: some changes to kFrameout for sci32
cels are now clipped correctly against plane boundaries, nsRect is also set now, fixes some hotspot issues and larry disappearing when going to the left/right of screen

svn-id: r51158
2010-07-22 19:20:26 +00:00
Filippos Karapetis
aa15d5fcd1 SCI: Remove sanity check introduced in rev 51154. When a node is deleted via kDeleteKey, the successor is set to NULL, thus list processing stops (which is what SSCI is doing).
svn-id: r51157
2010-07-22 18:14:43 +00:00
Filippos Karapetis
50c2fbbb48 SCI: Also allow checkListPointer() to check the result of lookupNode() itself
svn-id: r51156
2010-07-22 18:13:05 +00:00
Filippos Karapetis
91e909a25c SCI: Added a sanity check for rev 51152. If a node has been deleted, it shouldn't have a successor node
svn-id: r51154
2010-07-22 17:53:32 +00:00
Filippos Karapetis
b4a704c342 SCI: allow isSaneNodePointer to handle invalid node references itself
svn-id: r51153
2010-07-22 17:41:42 +00:00
Filippos Karapetis
634d959897 SCI: Fixed the crash in LSL2, room 42 (when arriving at the island). kAnimate may refer to unfrozen objects which have been deleted, thus handle that case accordingly.
svn-id: r51152
2010-07-22 17:25:21 +00:00
David Turner
756ab24f32 SCI: Added remaining workarounds to SQ4 Skate-o-rama area.
svn-id: r51151
2010-07-22 17:12:51 +00:00
Filippos Karapetis
529af0fc3e Extended the "version" console command to also show the game version found in the VERSION file
svn-id: r51150
2010-07-22 16:22:48 +00:00
David Turner
34c8f5dcc5 SCI: Added another workaround to SQ4 Skate-o-rama area.
svn-id: r51149
2010-07-22 16:12:04 +00:00
Filippos Karapetis
b587bf35c8 SCI: changed the comment about the palette merging (it's not a workaround anymore). Also, changed the warning when a picture has a broken palette into debug output - these pictures (which can be found in other games too) are usually meant to be blank, thus don't have a palette
svn-id: r51148
2010-07-22 16:01:32 +00:00
Filippos Karapetis
28bc31a139 When modifying variable selectors with argc > 1, don't throw a warning, but use a debugC instead. These are usually typos in the original scripts, and aren't fatal
svn-id: r51147
2010-07-22 15:56:26 +00:00
Martin Kiewitz
6c41ca4405 SCI: Adding workaround for sq4 room 411
kGraph(RestoreBox) is called with an additional parameter

svn-id: r51145
2010-07-22 14:43:19 +00:00
Matthew Hoops
c1ad4a1110 Use new[]/delete[] instead of malloc/free
svn-id: r51144
2010-07-22 14:33:14 +00:00
Matthew Hoops
ede85a539a Silence gcc warning
svn-id: r51143
2010-07-22 14:29:00 +00:00
David Turner
debe58cd38 SCI: Added workaround for Engine Abort when rummaging in Software Excess bargain bin.
svn-id: r51142
2010-07-22 13:19:59 +00:00
Filippos Karapetis
8eca9d6acb SCI: Fixed a bug when loading some saved games (sometimes, the execution stack wasn't cleared properly when loading and you couldn't save or restore)
svn-id: r51140
2010-07-22 12:38:48 +00:00
Martin Kiewitz
a01152a3ba SCI: some more work on priority sci32
svn-id: r51139
2010-07-22 12:36:58 +00:00
Yotam Barnoy
68783fa01c MADE: fixed bug 3029750 caused by caching from commit 46102.
Cache needed to be cleared every time we load a game. Otherwise, those platforms that happen to use the exact same addresses (PC) were ok, but those platforms that had different addresses (PSP for example) would get messed up.

svn-id: r51138
2010-07-22 11:20:16 +00:00
Martin Kiewitz
ed1ae39e46 SCI: removing priority hack for gk1hires
also fixing base picture drawing

svn-id: r51137
2010-07-22 11:11:31 +00:00
Martin Kiewitz
15ef4b23a0 SCI: some work on priority in sci32
svn-id: r51134
2010-07-22 10:24:08 +00:00
Max Horn
66115d697e SCI: Remove '#define FAKE', make SCI_WORKAROUNDENTRY_TERMINATOR 'private'
svn-id: r51133
2010-07-22 09:36:04 +00:00
Filippos Karapetis
87e4823c75 SCI: Moved the actual workaround arrays inside a cpp file
svn-id: r51132
2010-07-22 08:58:59 +00:00
Filippos Karapetis
093800dc1c Silenced a known warning in SQ5, after the intro
svn-id: r51131
2010-07-22 08:57:25 +00:00
Filippos Karapetis
e20288fd4f SCI: Fixed signature of kFileIO subop 19 for Torin (full version)
svn-id: r51112
2010-07-21 21:52:15 +00:00
Filippos Karapetis
a1dab5f923 SCI: Moved all the video related functions in a separate file
svn-id: r51110
2010-07-21 21:37:30 +00:00
Filippos Karapetis
9862f3fe24 SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their respective files
svn-id: r51108
2010-07-21 21:18:21 +00:00
Johannes Schickel
41190f8a7b GUI: Properly show external MIDI devices.
Formerly in case a game only specified GUIO_MIDIMT32, only the MT-32 Emulator
was shown, since that is the only device which is of type MT_MT32. All
external MIDI devices are currently only flagged with MT_GM.

svn-id: r51107
2010-07-21 20:37:46 +00:00
Martin Kiewitz
781aee909b SCI: r51104 adding #ifdef and check for hires
pq4cd is probably low-res, so adding check for hires and adding #ifdef as well

svn-id: r51106
2010-07-21 20:28:53 +00:00
Johannes Schickel
44aab95eb9 KYRA: Fix mute setting with MIDI and FM-Towns/PC98 output.
svn-id: r51105
2010-07-21 20:26:40 +00:00
Martin Kiewitz
0d1c44301a SCI: halfing kCelWide for sci2.1
fixes lsl6 inventory icon placement, ffs. see comments

svn-id: r51104
2010-07-21 20:22:24 +00:00
Martin Kiewitz
ab655ba01f SCI: terminating at another resource of sq4cd
contains broken data as well, room 35

svn-id: r51103
2010-07-21 20:13:24 +00:00
Johannes Schickel
97870a220d AGOS: Make the "m" hotkey respect the mute setting.
svn-id: r51102
2010-07-21 20:12:57 +00:00
Johannes Schickel
e3d1ec482c LURE: Make LURE respect the mute settings.
svn-id: r51101
2010-07-21 20:12:35 +00:00
Johannes Schickel
4d437bafd8 AGOS: Make AGOS respect the mute setting.
svn-id: r51100
2010-07-21 20:12:09 +00:00
Willem Jan Palenstijn
a97d8875f5 SCI: Rewrite said spec handling.
We now use a manual parser instead of a bison-generated one, and the
new code to match said trees with parse trees matches sierra's more
closely.

Also change the parse/spec tree nodes to use direct pointers to
their child nodes to make it more convenient to manipulate the trees.

This has a high potential for regressions.

svn-id: r51099
2010-07-21 19:59:33 +00:00
Johannes Schickel
e95ef4f5f8 KYRA: Respect mute setting on engine startup.
svn-id: r51098
2010-07-21 19:20:10 +00:00
Martin Kiewitz
472dbc9f7d SCI: fix initializing script 99 of sq3
svn-id: r51097
2010-07-21 19:19:33 +00:00
Torbjörn Andersson
780b043677 Janitorial: Removed extra semi-colon.
svn-id: r51096
2010-07-21 18:59:23 +00:00
Johannes Schickel
e5e94d4511 Strip trailing whitespaces in our common code base.
svn-id: r51094
2010-07-21 18:17:51 +00:00