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
Martin Kiewitz
e000d28654
SCI: fix debugging code of parser, add 0xffe special group into debug support
...
svn-id: r50956
2010-07-17 12:06:31 +00:00
Johannes Schickel
83e2aa2360
Remove extra ";" in class declarations.
...
svn-id: r50955
2010-07-17 00:05:27 +00:00
Martin Kiewitz
92c0e7e800
SCI: fix console commands so that console gets detached correctly
...
svn-id: r50940
2010-07-16 19:40:51 +00:00
Martin Kiewitz
564b68a9fc
SCI: adding fixme and error() to fix crash when trying to run unmodified gk2
...
svn-id: r50939
2010-07-16 19:33:28 +00:00
Martin Kiewitz
60363b8a53
SCI: adding uninitialized workaround for lsl1 when playing at the casino
...
svn-id: r50938
2010-07-16 14:16:47 +00:00
Martin Kiewitz
3ceb02f08a
SCI: adding signatures for 4-parameter variant of kDoSound(sendMidi), needs to get figured out how this works - fixes signature mismatch in lsl1
...
svn-id: r50937
2010-07-16 13:37:19 +00:00
Martin Kiewitz
b062488987
SCI: enable r50931 for sci1late+ only, lsl1vga doesn't like it (ego gets stuck)
...
svn-id: r50935
2010-07-16 10:12:31 +00:00
Martin Kiewitz
1e4261bab4
SCI: added comments about when xLast/yLast were exactly introduced
...
svn-id: r50934
2010-07-16 10:00:58 +00:00
Martin Kiewitz
5356a61338
SCI: only use xLast/yLast in kDoBresen for sci1middle+ only. qfg1 ega has those selector names, but doesn't use them inside mover objects
...
svn-id: r50933
2010-07-16 09:51:57 +00:00
Martin Kiewitz
90763f6e24
SCI: kDoBresen - save last position of client inside mover - fixes lsl6 tram still shaking while gotten stopped due ego
...
svn-id: r50931
2010-07-16 05:46:07 +00:00
Martin Kiewitz
30238347e9
SCI: kDoBresen now returns result of CantBeHere() like sierra sci does it, also adding another comment about r50921
...
svn-id: r50922
2010-07-15 21:28:48 +00:00
Martin Kiewitz
d78eba3d18
SCI: solved lsl1 casino door, lsl6 tram disappearing and qfg1 vga gate issue - i hope this won't cause regressions, but calling the method in collision case is definitely wrong
...
svn-id: r50921
2010-07-15 21:10:50 +00:00
Martin Kiewitz
6e5b537aaf
SCI: r50919 had some temporary test code in it, removing that so it really returns the actual "problem"
...
svn-id: r50920
2010-07-15 19:39:43 +00:00
Martin Kiewitz
ddd01ffcb6
SCI: some big changes to kCantBeHere - kCantBeHere returns the actual "problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate
...
svn-id: r50919
2010-07-15 19:23:18 +00:00
Martin Kiewitz
72faf78b82
SCI: adding support to qfg4 to import qfg3 character data
...
svn-id: r50911
2010-07-15 06:04:52 +00:00
Martin Kiewitz
7c210829dd
SCI: removing #ifdef ENABLE_SCI32 from one single line (just a waste) and adding it to kDoSound (SCI2.1)
...
svn-id: r50897
2010-07-14 22:19:05 +00:00
Martin Kiewitz
3195ab099a
SCI: added signatures for kFileIO, some changes to actual kFileIO code, removed some CHECKMEs/TODOs
...
svn-id: r50896
2010-07-14 22:07:36 +00:00
Martin Kiewitz
5e2758394c
SCI: returning DOS error code on kFileIO(unlink)
...
svn-id: r50895
2010-07-14 21:17:56 +00:00
Martin Kiewitz
40ed004b18
SCI: removing hardcoded size when drawing list controls - fixes load/save dialog in lsl6
...
svn-id: r50894
2010-07-14 21:00:59 +00:00
Martin Kiewitz
a694c5ddcf
SCI: adding workaround for qfg1vga script bug (div on object) which occurs when entering inn
...
svn-id: r50892
2010-07-14 19:12:31 +00:00
Martin Kiewitz
14e25d138c
SCI: fix regression of r50831 - we want to abort when unknown savegameIds are used, not the other way round :P
...
svn-id: r50887
2010-07-14 14:55:22 +00:00
Matthew Hoops
36fdc68b2b
The LSL7 demo is SCI2.1 so we should detect it even when ENABLE_SCI3_GAMES is not defined.
...
svn-id: r50886
2010-07-14 14:18:40 +00:00