Commit Graph

4359 Commits

Author SHA1 Message Date
Martin Kiewitz
353b0d2993 SCI: support useInsetRect in kFrameout
svn-id: r51251
2010-07-24 17:43:56 +00:00
Martin Kiewitz
f0a2c10c92 SCI: enable speed throttler for sci32
svn-id: r51250
2010-07-24 16:52:08 +00:00
Martin Kiewitz
9bea286e49 SCI: cache Planes for sci32
svn-id: r51249
2010-07-24 16:47:12 +00:00
Martin Kiewitz
72388cc638 SCI: adding sq4 workaround room 150
svn-id: r51247
2010-07-24 15:30:06 +00:00
Martin Kiewitz
d643928d0d SCI: delete hidden planes in kFrameout
svn-id: r51246
2010-07-24 15:25:29 +00:00
Martin Kiewitz
2047e75d2b SCI: kCelWide/kCelHigh now adjust on hires views
somewhat fixes gk1 hires inventory issue

svn-id: r51245
2010-07-24 15:15:38 +00:00
Martin Kiewitz
5a5f8387ad SCI: removing some debug stuff from sci32 gfx
svn-id: r51244
2010-07-24 12:03:30 +00:00
Martin Kiewitz
63c945f93a SCI: fix warning and remove duplicate code
svn-id: r51243
2010-07-24 11:59:40 +00:00
Martin Kiewitz
d49d1d60fe SCI: added said spec dump ability to logkernel
svn-id: r51242
2010-07-24 11:51:09 +00:00
Martin Kiewitz
9672c757d6 SCI: adding 1 to planeRect bottom/right
svn-id: r51241
2010-07-24 10:12:56 +00:00
Martin Kiewitz
c8dc2e4b8b SCI: locking picture resource
fixes sq6 crashing with resource data NULL pointer

svn-id: r51240
2010-07-24 08:20:54 +00:00
Martin Kiewitz
c8cde0735f SCI: adding workaround for sq4 room 391
svn-id: r51238
2010-07-24 07:55:29 +00:00
Martin Kiewitz
bc04a8377b SCI: adding workaround for room 150 sq4
svn-id: r51237
2010-07-24 07:45:47 +00:00
Martin Kiewitz
d73c8578ff SCI: result now displayed in decimal for logkernel
svn-id: r51225
2010-07-23 21:20:35 +00:00
Martin Kiewitz
d92cece58a SCI: some small logkernel changes
svn-id: r51224
2010-07-23 21:13:57 +00:00
Martin Kiewitz
b984d9afc0 SCI: logkernel changes
removing old manual debug code, use logkernel * on/off to log all calls

svn-id: r51222
2010-07-23 20:59:27 +00:00
Martin Kiewitz
3a45e47c5c SCI: adding new debug command logkernel
svn-id: r51220
2010-07-23 20:47:15 +00:00
Martin Kiewitz
7094936e50 SCI: adding lsl6hires workaround
svn-id: r51215
2010-07-23 19:07:57 +00:00
Martin Kiewitz
20b1d80d59 SCI: adding table for kDisplay workarounds
and removing hardcoded checks, adding another workaround for kGraph(drawLine) in island of dr. brain (also gene explanation chart)
Moving trackOriginAndFindWorkaround() into workarounds.cpp

svn-id: r51209
2010-07-23 14:32:24 +00:00
Martin Kiewitz
0bcc3af422 SCI: adding workaround for sq4/room 391
kDisplay is called with an object as opcode, we simply skip over it

svn-id: r51208
2010-07-23 13:57:45 +00:00
Martin Kiewitz
32c81fa918 SCI: fixing kNewWindow (SCI1.1)
check differently for null restoreRect, fixes pq3 some windows not getting fully removed
calling showBits on actual dims and not on restoreRect, fixes lb2 about window issues (and possible qfg1vga window issues as well)

svn-id: r51204
2010-07-23 12:37:58 +00:00
Martin Kiewitz
8e04d25be6 SCI: support kSetCursorSci11(-2)
svn-id: r51202
2010-07-23 10:58:06 +00:00
Martin Kiewitz
05999d1e59 SCI: adding workarounds for lsl6hires
svn-id: r51199
2010-07-23 09:13:54 +00:00
Filippos Karapetis
19042d7873 SCI: Actually sync kPalVary data when saving/loading
svn-id: r51198
2010-07-23 08:26:20 +00:00
Filippos Karapetis
9db77be9d4 SCI: Dropped support for the very old savegame versions 12 and 13 (hopefully, the last ones to be dropped)
svn-id: r51197
2010-07-23 08:22:13 +00:00
Martin Kiewitz
15eebdb061 SCI: some changes to kPalVary saving
still needs to get tested

svn-id: r51196
2010-07-23 08:08:27 +00:00
Filippos Karapetis
3aa4f76ee4 SCI: Now saving the kPalVary state inside savegames
svn-id: r51194
2010-07-23 07:36:55 +00:00
David Turner
a2f6fd976b SCI: Added Workaround for SQ4CD Droid in Supercomputer Maze.
There are about 20 screens, but all screens seem to share the same script, 704, so have added a -1 general exception.

svn-id: r51180
2010-07-22 23:54:19 +00:00
Filippos Karapetis
1f60595cdc SCI: Cleanup leftovers from the FreeSCI sound code
svn-id: r51178
2010-07-22 22:13:28 +00:00
Martin Kiewitz
53893341fb SCI: kSetCursor works the same in sci16
(coordinates are not a regular Rect, but bottom/right is the last allowed coordinate)

svn-id: r51177
2010-07-22 22:13:25 +00:00
Filippos Karapetis
a9414ebb08 SCI: Some slight work on robot files
svn-id: r51176
2010-07-22 22:04:40 +00:00
Martin Kiewitz
d2ab37529e SCI: kSetCursor change for sci32
we use the movezone like any other rect, but sierra sci actually specifies bottom/right as being the last possible coordinates

svn-id: r51174
2010-07-22 21:55:45 +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
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
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
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
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
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
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
Martin Kiewitz
472dbc9f7d SCI: fix initializing script 99 of sq3
svn-id: r51097
2010-07-21 19:19:33 +00:00
Martin Kiewitz
bb1c722a0b SCI: adding workaround for sq3
fixing off-by-one error when initializing script 93

svn-id: r51091
2010-07-21 17:42:51 +00:00
Max Horn
175d6e297d SCI: More rest of the workaround defs to workarounds.h
svn-id: r51090
2010-07-21 14:54:06 +00:00
Filippos Karapetis
2ed45d3719 SCI: Moved all the static kernel-related tables in a separate file. Also, moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls
svn-id: r51089
2010-07-21 14:50:31 +00:00
Filippos Karapetis
3184aac398 SCI: Moved all the workaround tables in a separate file, to keep them apart from the actual code
svn-id: r51088
2010-07-21 14:18:26 +00:00
Martin Kiewitz
51258a723c SCI: adding lsl6hires uninit workaround
svn-id: r51087
2010-07-21 13:52:41 +00:00
Martin Kiewitz
e1bc084547 SCI: fixing hires background pictures sci2.1
svn-id: r51086
2010-07-21 13:13:55 +00:00
Martin Kiewitz
54c516b3bf SCI: kSetNowSeen sci2.1
fixes hotspots

svn-id: r51085
2010-07-21 12:41:17 +00:00
Martin Kiewitz
15fc39589d SCI: more work on coordadjustment sci32
svn-id: r51084
2010-07-21 12:05:10 +00:00
Filippos Karapetis
d53e5fbfb7 SCI: Removed the restoring parameter of the run_vm() function
svn-id: r51076
2010-07-20 23:15:07 +00:00
Filippos Karapetis
e7abc6da4f SCI: Fixed an off-by-one error in the resource manager - it tried to load patches of type kResourceTypeInvalid
svn-id: r51075
2010-07-20 21:53:58 +00:00
Martin Kiewitz
2a47f573dd SCI: some sci32 fixes
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area

svn-id: r51074
2010-07-20 21:22:39 +00:00
Martin Kiewitz
8e24b7930c SCI: adding lsl6hires uninit workaround
svn-id: r51072
2010-07-20 20:17:23 +00:00
Martin Kiewitz
c2577da7e0 SCI: fixed jones/ega/vga port issue
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well

svn-id: r51071
2010-07-20 19:42:48 +00:00
Martin Kiewitz
102b8c9efd SCI: adding multilingual mixed up mother goose
sci32

svn-id: r51070
2010-07-20 18:18:36 +00:00
Martin Kiewitz
70ed9dfc70 SCI: tiny comment change
svn-id: r51069
2010-07-20 18:00:45 +00:00
Martin Kiewitz
a0ce89d2e9 SCI: clean up workaround tables/code
svn-id: r51068
2010-07-20 17:58:04 +00:00
Martin Kiewitz
f771a2bbc7 SCI: fix regression of r50463
also check delta, because _play_tick does not include delta at that point - fixing sq1 ship takeoff

svn-id: r51067
2010-07-20 17:28:10 +00:00
Martin Kiewitz
90d45aaa7d SCI: adding workaround for sq1 in bar
kGraph(drawLine) gets called sometimes with additional parameter

svn-id: r51065
2010-07-20 14:53:55 +00:00
Martin Kiewitz
ef69fb1af5 SCI: adding uninit workarounds for cnick games
longbow and king's quest
KQ has the same issues as hoyle 3

svn-id: r51063
2010-07-20 14:27:30 +00:00
Martin Kiewitz
6ebcb53265 SCI: fix regression of r51060
svn-id: r51062
2010-07-20 12:50:13 +00:00
Martin Kiewitz
0b3f816c8b SCI: change the workaround-types
0 is now don't call
1 is do call
2 is don't call and fake acc

makes more sense

svn-id: r51060
2010-07-20 11:45:06 +00:00
Martin Kiewitz
3c97772d6e SCI: added workaround for kq1 kDoSound(fade)
gets called with object 0:0 in several scenes, just ignore that call

svn-id: r51059
2010-07-20 11:29:56 +00:00
Martin Kiewitz
a24de29358 SCI: renaming kDoSound(resume) to resumeAfterRestore
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all

svn-id: r51058
2010-07-20 11:17:33 +00:00
Martin Kiewitz
961079ae19 SCI: disabling kDoSound(StopAll)
this call can't be right, gets called in kq1 several times and would stop background effects

svn-id: r51039
2010-07-19 22:11:06 +00:00
Martin Kiewitz
cef2e24edc SCI: fixing comment
svn-id: r51037
2010-07-19 20:13:17 +00:00
Martin Kiewitz
5b4ce3831c SCI: adding 2 uninit workarounds for hoyle1
svn-id: r51036
2010-07-19 19:14:37 +00:00
Martin Kiewitz
6240e5353e SCI: kDoBresen - check xLast/yLast selectors
fixed mixed-up fairy tales demo

svn-id: r51035
2010-07-19 17:27:56 +00:00
Martin Kiewitz
f4a32793c0 SCI: dont fix list control in sq4
sierra fixed this problem by having an up cursor starting one pixel-line later, adjusting in that case would be wrong

svn-id: r51034
2010-07-19 16:47:31 +00:00
Martin Kiewitz
f4a5714477 SCI: make sci0 foreign vocabulary also work
makes pq2 load japanese vocabulary too

svn-id: r51033
2010-07-19 16:01:16 +00:00
Martin Kiewitz
95ae668da0 SCI: don't initialize vocabulary twice
svn-id: r51032
2010-07-19 15:32:26 +00:00
Martin Kiewitz
b7b904f981 SCI: fix regression of r51027
we have to reset the parser when switching vocabulary

svn-id: r51031
2010-07-19 15:30:27 +00:00
Martin Kiewitz
cda55fe770 SCI: parser now matches extended chars too
fixes multilingual games not accepting words that contain extended chars (>= 0x80)

svn-id: r51029
2010-07-19 14:50:37 +00:00
Martin Kiewitz
2a0cff5c6d SCI: implement foreign vocabulary support
not fully working, extended chars do not work currently as input

svn-id: r51027
2010-07-19 13:50:06 +00:00
Martin Kiewitz
8ea7eec267 SCI: lsl6 workaround switched on for all rooms
lsl6 workaround also happens later, so we switch it to all rooms

svn-id: r51026
2010-07-19 13:05:41 +00:00
Martin Kiewitz
07009b045e SCI: fix parser crash on >=0x80 chars
svn-id: r51025
2010-07-19 11:41:20 +00:00
Martin Kiewitz
42107e2f5c SCI: vocab version change for pq2 japanese
pq2 japanese only uses sci01 vocabulary and everything else is still like in sci0 - fixes pq2 not accepting any input in parser

svn-id: r51024
2010-07-19 10:38:03 +00:00
Martin Kiewitz
b48045662d SCI: fix ult to work for pq2 japanese
pq2 japanese compares pointers to 2000 to find out if its a resourceid or a pointer

svn-id: r51023
2010-07-19 10:19:13 +00:00
Martin Kiewitz
6bebc0df45 SCI: fixing signature for kDoSound(setReverb)
fixes lsl5 signature mismatch, signature was wrong

svn-id: r51020
2010-07-19 08:17:09 +00:00
Martin Kiewitz
9cb23c8a7b SCI: update sample ticker when paused
little adjustment of r51017

svn-id: r51018
2010-07-19 07:37:22 +00:00
Martin Kiewitz
d952e48a57 SCI: change kDoSound(updateCues) for samples
only set signal when sample was/is playing, fixes qfg2 genie intro

svn-id: r51017
2010-07-19 07:29:17 +00:00
David Turner
efbac08e6b SCI : Corrected valgrind error on engine exit
svn-id: r51011
2010-07-18 22:11:22 +00:00
Martin Kiewitz
e4271b0bb0 SCI: fix warning
svn-id: r51010
2010-07-18 20:36:19 +00:00
Martin Kiewitz
dbc1607603 SCI: add script number to r51008 change
svn-id: r51009
2010-07-18 20:19:14 +00:00
Martin Kiewitz
8893d4ef23 SCI: add workaround for script 500 lsl3
svn-id: r51008
2010-07-18 20:14:18 +00:00
Martin Kiewitz
fc1e5c8fae SCI: adding comments about not enabling ScummVM menu saving
svn-id: r51007
2010-07-18 19:19:49 +00:00
Matthew Hoops
0e9de72f62 SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.
svn-id: r51006
2010-07-18 19:01:35 +00:00
Martin Kiewitz
b23dd848ed SCI: make the left-over opcodes more verbose
...and add ability to easily add workarounds
remove ACC_ARITHMETIC_L and POP()

svn-id: r51005
2010-07-18 18:57:28 +00:00
Matthew Hoops
2127da538d SCI: Add Mac signature for kTextSize which can have an extra integer parameter.
svn-id: r51004
2010-07-18 18:38:49 +00:00
Martin Kiewitz
d06603f151 SCI: make bnot/mod/mul more verbose
...and add abitility to easily add workarounds

svn-id: r51003
2010-07-18 18:26:00 +00:00
Matthew Hoops
d14635d6b2 SCI: Oops, silence gcc warning.
svn-id: r51002
2010-07-18 18:18:11 +00:00
Matthew Hoops
6eedb73dba SCI: Add initial support for SCI0 Mac and SCI1 Amiga/Mac sound.
SCI1 sound is pretty much done, but envelope support is still not 100% complete. SCI0 Mac sound is not complete, but sounds "ok" for now.

Much thanks to Walter, who did a ton of work on this.

svn-id: r51001
2010-07-18 18:14:56 +00:00
Martin Kiewitz
a2ea3381fe SCI: ipToa/ipTos/dpTos more verbose
...and adding ability to add workarounds easily

svn-id: r50999
2010-07-18 18:01:52 +00:00
Matthew Hoops
5b4fd084b0 SCI: Fix order of characters when using hexDumpReg.
svn-id: r50998
2010-07-18 17:48:48 +00:00
Martin Kiewitz
f249642733 SCI: making int/uint comparsions more verbose
replacing int/uint comparsion opcode with new code that also displays much more information in case of errors and also add possibility to easily add workarounds

svn-id: r50997
2010-07-18 17:18:56 +00:00
Martin Kiewitz
3189fe4a32 SCI: change to r50995 - better stop fading when stop is called
svn-id: r50996
2010-07-18 16:25:23 +00:00
Martin Kiewitz
aa5a1ddb47 SCI: if game starts fading, stops music and later starts music again don't resume fading - fixes lsl6 music when going in from swimming pool
svn-id: r50995
2010-07-18 16:22:16 +00:00
Martin Kiewitz
46b27926b2 SCI: adding obj in kDoSound debug output
svn-id: r50994
2010-07-18 16:02:16 +00:00
Martin Kiewitz
fd27041b35 SCI: disabling saving from scummvm menu
svn-id: r50993
2010-07-18 14:21:38 +00:00
Willem Jan Palenstijn
1e72d48867 SCI: Work on optional expressions in said rules.
This fixes a number of said specs in Iceman, but has a good
chance of introducing regressions since it's fairly invasive.
It also removes the need for the hack in r50958.

svn-id: r50992
2010-07-18 13:31:23 +00:00
Willem Jan Palenstijn
921c9a8e33 SCI: Add basic debugging command for 'said'
svn-id: r50991
2010-07-18 13:31:05 +00:00
Martin Kiewitz
4595b8818a SCI: adding room numbers to all workarounds
svn-id: r50990
2010-07-18 13:08:47 +00:00
Willem Jan Palenstijn
f36eb7e2ed SCI: Fix warning
svn-id: r50988
2010-07-18 12:26:22 +00:00
Martin Kiewitz
98f0b06fe3 SCI: adding workaround for script bug in lsl6 when looking through tile
svn-id: r50987
2010-07-18 12:25:40 +00:00
Martin Kiewitz
59bb9f8fe8 SCI: added uninitialized workarounds for hoyle 3
svn-id: r50978
2010-07-18 04:56:16 +00:00
Martin Kiewitz
525794927e SCI: fix regression of r50896, behaviour of kFileIO(readString) is supposed to return the string instead of the size, fixes signature mismatch in hoyle 3
svn-id: r50977
2010-07-18 04:25:57 +00:00
Matthew Hoops
88b2bec072 Cleanup and simplify resource type remapping.
svn-id: r50975
2010-07-18 01:32:48 +00:00
Matthew Hoops
4b66b8dd5f Fix typo.
svn-id: r50974
2010-07-18 00:18:27 +00:00
Matthew Hoops
c128b87c77 In SCI2.1, the type numbers inside resource maps/patches have changed slightly. We no longer use the number Sierra gives us directly, but use a function to convert to our ResourceType enum based on version. This allows us to read the chunk type from SCI2.1 (a form of script). Also, allow debugging of Mac-specific resources from the console.
svn-id: r50973
2010-07-18 00:16:19 +00:00
Martin Kiewitz
cd0997368c SCI: adding pq2 japanese pc98
svn-id: r50972
2010-07-17 22:59:57 +00:00
Martin Kiewitz
bbcf020457 SCI: adding detection for SCI01 vocab inside a SCI0 game that's using the SCI0 vocab resource number, fixes pq2 japanese crashing on startup
svn-id: r50970
2010-07-17 22:11:35 +00:00
Martin Kiewitz
88dfa3142f SCI: adding uninitialized workaround for gk1
svn-id: r50969
2010-07-17 21:13:37 +00:00
Matthew Hoops
880bb9f421 Add support for the altres.map/altres.000 map/volume pair in KQ7.
svn-id: r50968
2010-07-17 20:29:33 +00:00
Martin Kiewitz
723f15c084 SCI: removing kSetPort 4 argument support from r44938, which was wrong - adding workaround for lsl6 ending - fixes lsl6 ending
svn-id: r50967
2010-07-17 19:52:19 +00:00
Martin Kiewitz
fb206fb7c0 SCI: added uninitialized workaround for lsl3
svn-id: r50965
2010-07-17 18:51:54 +00:00
Max Horn
1d4c82885d DEBUGGER: Simplify how our console debugger works / is used
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
  something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
  can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
  document it.
* Add more doxygen comments
* Cleanup

svn-id: r50963
2010-07-17 18:38:42 +00:00
Martin Kiewitz
625af1260b SCI: checking if within kernel function before overwrite a save (thx @ digitall)
svn-id: r50962
2010-07-17 17:58:50 +00:00
Martin Kiewitz
8c31dd7e85 SCI: added gameid for send() sq4 workaround
svn-id: r50961
2010-07-17 13:32:11 +00:00
Martin Kiewitz
cb4072f978 SCI: added special case for iceman when plotting course inside isSaneNodePointer
svn-id: r50960
2010-07-17 13:27:07 +00:00
Martin Kiewitz
7ac5c3ef4f SCI: added iceman hack to original said.y as well
svn-id: r50959
2010-07-17 12:57:05 +00:00
Martin Kiewitz
e9ed821953 SCI: add hack for iceman to skip [!*] in kSaid, fixes green board / depth affirmative not recognized
svn-id: r50958
2010-07-17 12:46:57 +00:00
Willem Jan Palenstijn
1d31c278e6 SCI: Fix 'parse' debug command parameter handling
svn-id: r50957
2010-07-17 12:37:02 +00:00