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
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
Yotam Barnoy
762c569207
PSP: Typos in trace.h
...
svn-id: r50844
2010-07-13 08:00:22 +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
dcd520ce31
Get rid of yet another global object with constructor
...
svn-id: r50835
2010-07-12 23:19:56 +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
Max Horn
e2c1ee853a
SDL: Tweak OSystem_SDL::detectSupportedFormats a bit
...
Previously, the code in OSystem_SDL::detectSupportedFormats
assumed that the arrays RGBList and BGRList had the exact
same length, and that the entries in each mirrored those in
the other 100%. Instead of relying on that, the code now
simply iterates over both lists separately. This changes the
resulting order a bit, but since we never gave any
guarantees on that, this should not matter.
svn-id: r50833
2010-07-12 23:19:08 +00:00
Max Horn
8e9d933658
SDL: Overhaul OSystem_SDL::getSupportedFormats
...
* Do not use global constructor for the RGBList and BGRList
tables anymore, by moving them inside a function.
* Update the list of supported formats if the hardware
screen surface changes. Previously, the list of supported
pixel formats (and its order) was computed only once and
then never changed.
svn-id: r50832
2010-07-12 23:18:44 +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
Johannes Schickel
8d7bc0eab5
Some documentation fixes.
...
svn-id: r50830
2010-07-12 20:17:42 +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
Martin Kiewitz
535dbb7f59
SCI: fixing typo
...
svn-id: r50827
2010-07-12 18:22:24 +00:00
Martin Kiewitz
8364b0bd29
SCI: adding kUnLoad workaround for lsl6 (during end kUnLoad is called with additional 4 parameters, someone thought the API would work differently)
...
svn-id: r50826
2010-07-12 17:50:36 +00:00
Johannes Schickel
9522e68f76
Whops. Also now properly add Matteo's nickname to our credits.
...
svn-id: r50824
2010-07-12 15:53:24 +00:00
Johannes Schickel
9644e7fe5f
Properly add Matteo Angelino to our credits for his Italian translation.
...
svn-id: r50822
2010-07-12 15:50:48 +00:00
Johannes Schickel
ac268edafb
Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and credits files.
...
svn-id: r50821
2010-07-12 15:50:23 +00:00
Martin Kiewitz
8fa759adb3
SCI: adding workaround for signature mismatch when giving merrily the key to the bungee tower
...
svn-id: r50820
2010-07-12 12:31:13 +00:00
Martin Kiewitz
ad098addd2
SCI: adding uninitialized workaround for lsl6
...
svn-id: r50819
2010-07-12 11:20:42 +00:00
Max Horn
20ef5c5623
SCI: Fix warning
...
svn-id: r50818
2010-07-12 11:09:29 +00:00
Max Horn
e782fec85a
SCI: Remove dead code
...
svn-id: r50817
2010-07-12 11:09:11 +00:00
Martin Kiewitz
698a347da6
SCI: adding another restore workaround for lsl6
...
svn-id: r50816
2010-07-12 10:47:47 +00:00