Paul Gilbert
4366262511
Implemented the original game cheat key for displaying the current mouse cursor position
...
svn-id: r50913
2010-07-15 10:51:11 +00:00
Paul Gilbert
13eb510baf
Bugfix to the SqrtF16 function to work correctly
...
svn-id: r50912
2010-07-15 10:00:32 +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
Matthew Hoops
6c22d599ec
Fix non-PCSPK sound types in AGI.
...
svn-id: r50891
2010-07-14 17:04:53 +00:00
Torbjörn Andersson
f98fa72ef3
Changed abs() to ABS() in a few places.
...
svn-id: r50890
2010-07-14 17:02:14 +00:00
Torbjörn Andersson
b91ef12897
Fixed typo in comment.
...
svn-id: r50889
2010-07-14 16:57:16 +00:00
Torbjörn Andersson
25077baf6a
Moved setTileData() into GdiPCEngine since that's the only class that uses it.
...
svn-id: r50888
2010-07-14 16:55:32 +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
Matthew Hoops
df49298f39
Update comments about the SCI2/2.1 kernel table. The SCI3 table is also different from both of them.
...
svn-id: r50884
2010-07-14 14:09:48 +00:00
Matthew Hoops
ec65befa3c
Silence gcc warning.
...
svn-id: r50883
2010-07-14 14:05:08 +00:00
Paul Gilbert
f796fd6cf3
Preliminary implementation of lots of code related to player movement
...
svn-id: r50882
2010-07-14 11:55:15 +00:00
Martin Kiewitz
f456b7cfa2
SCI: separating qfg1ega and qfg1vga gameids
...
svn-id: r50881
2010-07-14 11:53:12 +00:00
Martin Kiewitz
ede8fead94
SCI: changing kList(18) into StubNull, so that torin demo works a little more till we figure out what's supposed to be in there
...
svn-id: r50880
2010-07-14 11:41:24 +00:00
Martin Kiewitz
76f6449431
SCI: changing signature of kDoSound(play) in SCI2.1 to "o(i)" now, because qfg4 still uses "oi" calling
...
svn-id: r50879
2010-07-14 11:34:44 +00:00
Martin Kiewitz
539d10ea11
SCI: adding sound version 2.1, to properly add sci2.1 signature for kDoSound(play)
...
svn-id: r50878
2010-07-14 11:29:55 +00:00
Martin Kiewitz
b1f2ea64a7
SCI: replacing some tabs with spaces
...
svn-id: r50877
2010-07-14 11:10:33 +00:00
Martin Kiewitz
ef0119498b
SCI: changing SIG_SCI2 back to SIG_SCI32, because all those signatures are meant for SCI2+, not SCI2 only. Changing SIG_SCI21 to only mean SCI2.1 instead of SCI2.1+, making main signature and mapping of kList exclusive to SCI2.1
...
svn-id: r50876
2010-07-14 10:45:42 +00:00
Martin Kiewitz
1ec55288c6
SCI: replacing fixme with todo
...
svn-id: r50875
2010-07-14 09:04:41 +00:00
Martin Kiewitz
646ea5828c
SCI: moving hack signature for kDoSound(play) to SCI1LATE only, adding comment about this and changing signature for SCI1EARLY back to what it was.
...
svn-id: r50874
2010-07-14 09:00:44 +00:00
Torbjörn Andersson
6760127300
The new buffer has to be one byte longer than the length of the 'buffer'
...
string. (Error spotted by cppcheck.) Also, there's no need to use sprintf()
where a strcpy() will do just as well. (It's tempting, but probably not
appropriate, to use strdup(). I'm guessing the buffer *has* to be allocated
with 'new'.)
svn-id: r50872
2010-07-14 04:42:27 +00:00
Torbjörn Andersson
3cb59d237e
Don't close the MIDI driver twice. It's unnecessary, and some of our drivers
...
may crash. (The ALSA one did, until a few minutes ago.)
svn-id: r50871
2010-07-14 04:34:57 +00:00
Filippos Karapetis
1ae8d1689d
Oops... whitespace/layout again (I'm tired...)
...
svn-id: r50867
2010-07-14 02:36:49 +00:00
Filippos Karapetis
eb617f02db
Whitespace/layout
...
svn-id: r50866
2010-07-14 02:34:14 +00:00
Filippos Karapetis
ab36bdfd00
SCI: Fixed script bug (invalid call to kStrCpy) in Island of Dr. Brain, room 260 (Hominy Homonym puzzle)
...
svn-id: r50865
2010-07-14 02:28:17 +00:00
Filippos Karapetis
1cb5305083
Fixed loading saved games from the launcher, broken in rev. 50831
...
svn-id: r50864
2010-07-14 02:12:58 +00:00
Filippos Karapetis
b5d4056e9c
Typos
...
svn-id: r50863
2010-07-14 02:12:03 +00:00
Filippos Karapetis
20e672e34d
Typos
...
svn-id: r50862
2010-07-14 02:02:03 +00:00
Filippos Karapetis
2bfee401d2
SCI:
...
- Split SCI2 from SCI2.1 signature checks
- Added signature checking for the subops of the SCI2.1 kernel call kList
- Added support for calls to kAddToFront and kAddToEnd with 3 parameters (unimplemented code uncovered by the signature checks)
- Added a FIXME for a potential incorrect subop (uncovered by the signature checks), which might be related to the crashes in the demo of Torin's Passage
svn-id: r50861
2010-07-14 00:57:48 +00:00
Filippos Karapetis
217af391cd
SCI: Removed a chatty (and unneeded) warning
...
svn-id: r50860
2010-07-14 00:52:21 +00:00
Filippos Karapetis
28fca2dba3
Fixed the signature check for DoSound (play) for SCI2.1 games, so that they start again
...
svn-id: r50857
2010-07-13 23:46:17 +00:00
Martin Kiewitz
15f5cc43ef
SCI: uninitialized workaround for qfg2 when accessing inventory
...
svn-id: r50854
2010-07-13 20:42:42 +00:00
Martin Kiewitz
946d69cc5e
SCI: adding quest for glory 2&3 export save filenames (same types and object names as qfg1)
...
svn-id: r50853
2010-07-13 20:28:17 +00:00
Martin Kiewitz
a188255196
SCI: adding quest for glory 1 export save filename ("a:glory1.sav") for filename fixing
...
svn-id: r50851
2010-07-13 20:14:42 +00:00
Martin Kiewitz
19d4374cbd
SCI: erroring out on unsupported soundversion in midiparser
...
svn-id: r50849
2010-07-13 18:15:19 +00:00
Martin Kiewitz
44626efdce
SCI: removing old kernel signature stuff
...
svn-id: r50848
2010-07-13 18:11:50 +00:00
Martin Kiewitz
8171093614
SCI: adding comment about palette formats
...
svn-id: r50847
2010-07-13 15:49:13 +00:00
Martin Kiewitz
b97ef271c7
SCI: adding comment about GfxPicture::draw() and picture resource formats
...
svn-id: r50846
2010-07-13 15:46:21 +00:00
Martin Kiewitz
d2b47ee775
SCI: change handling of priority in combination with embedded cels inside picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car)
...
svn-id: r50845
2010-07-13 15:42:59 +00:00
Max Horn
03c0faa5d7
SCI: Move breakpoint checks into SciEngine methods
...
svn-id: r50837
2010-07-12 23:21:03 +00:00
Max Horn
1d3a0f6dec
SCI: Turn global object g_debugState into SciEngine member var
...
svn-id: r50836
2010-07-12 23:20:33 +00:00
Max Horn
4f914e7a9f
TINSEL: Replace global object s_rectList by a TinselEngine member var
...
svn-id: r50834
2010-07-12 23:19:33 +00:00
Martin Kiewitz
6ff4dd2d91
SCI: changing how savegame ids are handled internally. Using range 0-999 so that scripts are able to signal us to create new slots, using range 1000-1999 for official slots. fixes lsl6 quicksave overwriting wrong save slots
...
svn-id: r50831
2010-07-12 22:26:48 +00:00
Martin Kiewitz
d52a872724
SCI: changing gameid of lsl6 sci2.1 into "lsl6hires". We need to keep workarounds etc. separate, scripts are not compatible
...
svn-id: r50829
2010-07-12 19:55:42 +00:00
Martin Kiewitz
0c42441426
SCI: added TODO for saved games
...
svn-id: r50828
2010-07-12 19:41:26 +00:00