39297 Commits

Author SHA1 Message Date
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
Paul Gilbert
3473e8c6da Clarified variable used for scene node loading, and added in extra blank nodes for player movement like the original game does
svn-id: r50932
2010-07-16 08:03:26 +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
Torbjörn Andersson
9fafc85919 Cleanup.
svn-id: r50929
2010-07-16 03:35:44 +00:00
Torbjörn Andersson
bde1cbd785 Cleanup.
svn-id: r50928
2010-07-16 03:34:25 +00:00
Torbjörn Andersson
ae1afee564 The standalone MIDI files for one of the re-releases of Inherit the Earth are
General MIDI, not MT-32. (I hope this doesn't break anything else.)

svn-id: r50927
2010-07-16 03:32:59 +00:00
Torbjörn Andersson
b4459fe923 Cleanup.
svn-id: r50926
2010-07-16 03:31:45 +00:00
Torbjörn Andersson
992a8bfd3f Cleanup.
svn-id: r50925
2010-07-16 03:14:58 +00:00
Torbjörn Andersson
bcb4c49a03 Cleanup.
svn-id: r50924
2010-07-16 03:14:03 +00:00
Torbjörn Andersson
d20ae841dd Cleanup.
svn-id: r50923
2010-07-16 03:07:30 +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
Paul Gilbert
20a0ad6833 Bugfixes to walking code. Rex can now walk about on-screen
svn-id: r50914
2010-07-15 12:37:46 +00:00
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
Matthew Hoops
d5ff65bc02 Fix valgrind warning.
svn-id: r50873
2010-07-14 05:04:55 +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
Torbjörn Andersson
bc0c306110 If the ALSA driver hasn't been opened, closing it should do nothing. This keeps
ScummVM from crashing if, for instance, someone accidentally closes the driver
twice.

svn-id: r50870
2010-07-14 04:33:35 +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