aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-14SCI: removing hardcoded size when drawing list controls - fixes load/save ↵Martin Kiewitz
dialog in lsl6 svn-id: r50894
2010-07-14SCI: adding workaround for qfg1vga script bug (div on object) which occurs ↵Martin Kiewitz
when entering inn svn-id: r50892
2010-07-14Fix non-PCSPK sound types in AGI.Matthew Hoops
svn-id: r50891
2010-07-14Changed abs() to ABS() in a few places.Torbjörn Andersson
svn-id: r50890
2010-07-14Fixed typo in comment.Torbjörn Andersson
svn-id: r50889
2010-07-14Moved setTileData() into GdiPCEngine since that's the only class that uses it.Torbjörn Andersson
svn-id: r50888
2010-07-14SCI: fix regression of r50831 - we want to abort when unknown savegameIds ↵Martin Kiewitz
are used, not the other way round :P svn-id: r50887
2010-07-14The LSL7 demo is SCI2.1 so we should detect it even when ENABLE_SCI3_GAMES ↵Matthew Hoops
is not defined. svn-id: r50886
2010-07-14Update comments about the SCI2/2.1 kernel table. The SCI3 table is also ↵Matthew Hoops
different from both of them. svn-id: r50884
2010-07-14Silence gcc warning.Matthew Hoops
svn-id: r50883
2010-07-14Preliminary implementation of lots of code related to player movementPaul Gilbert
svn-id: r50882
2010-07-14SCI: separating qfg1ega and qfg1vga gameidsMartin Kiewitz
svn-id: r50881
2010-07-14SCI: changing kList(18) into StubNull, so that torin demo works a little ↵Martin Kiewitz
more till we figure out what's supposed to be in there svn-id: r50880
2010-07-14SCI: changing signature of kDoSound(play) in SCI2.1 to "o(i)" now, because ↵Martin Kiewitz
qfg4 still uses "oi" calling svn-id: r50879
2010-07-14SCI: adding sound version 2.1, to properly add sci2.1 signature for ↵Martin Kiewitz
kDoSound(play) svn-id: r50878
2010-07-14SCI: replacing some tabs with spacesMartin Kiewitz
svn-id: r50877
2010-07-14SCI: changing SIG_SCI2 back to SIG_SCI32, because all those signatures are ↵Martin Kiewitz
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-14SCI: replacing fixme with todoMartin Kiewitz
svn-id: r50875
2010-07-14SCI: moving hack signature for kDoSound(play) to SCI1LATE only, adding ↵Martin Kiewitz
comment about this and changing signature for SCI1EARLY back to what it was. svn-id: r50874
2010-07-14Fix valgrind warning.Matthew Hoops
svn-id: r50873
2010-07-14The new buffer has to be one byte longer than the length of the 'buffer'Torbjörn Andersson
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-14Don't close the MIDI driver twice. It's unnecessary, and some of our driversTorbjörn Andersson
may crash. (The ALSA one did, until a few minutes ago.) svn-id: r50871
2010-07-14If the ALSA driver hasn't been opened, closing it should do nothing. This keepsTorbjörn Andersson
ScummVM from crashing if, for instance, someone accidentally closes the driver twice. svn-id: r50870
2010-07-14Oops... whitespace/layout again (I'm tired...)Filippos Karapetis
svn-id: r50867
2010-07-14Whitespace/layoutFilippos Karapetis
svn-id: r50866
2010-07-14SCI: Fixed script bug (invalid call to kStrCpy) in Island of Dr. Brain, room ↵Filippos Karapetis
260 (Hominy Homonym puzzle) svn-id: r50865
2010-07-14Fixed loading saved games from the launcher, broken in rev. 50831Filippos Karapetis
svn-id: r50864
2010-07-14TyposFilippos Karapetis
svn-id: r50863
2010-07-14TyposFilippos Karapetis
svn-id: r50862
2010-07-14SCI:Filippos Karapetis
- 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-14SCI: Removed a chatty (and unneeded) warningFilippos Karapetis
svn-id: r50860
2010-07-13Fixed the signature check for DoSound (play) for SCI2.1 games, so that they ↵Filippos Karapetis
start again svn-id: r50857
2010-07-13SCI: uninitialized workaround for qfg2 when accessing inventoryMartin Kiewitz
svn-id: r50854
2010-07-13SCI: adding quest for glory 2&3 export save filenames (same types and object ↵Martin Kiewitz
names as qfg1) svn-id: r50853
2010-07-13SCI: adding quest for glory 1 export save filename ("a:glory1.sav") for ↵Martin Kiewitz
filename fixing svn-id: r50851
2010-07-13SCI: erroring out on unsupported soundversion in midiparserMartin Kiewitz
svn-id: r50849
2010-07-13SCI: removing old kernel signature stuffMartin Kiewitz
svn-id: r50848
2010-07-13SCI: adding comment about palette formatsMartin Kiewitz
svn-id: r50847
2010-07-13SCI: adding comment about GfxPicture::draw() and picture resource formatsMartin Kiewitz
svn-id: r50846
2010-07-13SCI: change handling of priority in combination with embedded cels inside ↵Martin Kiewitz
picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car) svn-id: r50845
2010-07-13PSP: Typos in trace.hYotam Barnoy
svn-id: r50844
2010-07-12SCI: Move breakpoint checks into SciEngine methodsMax Horn
svn-id: r50837
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12TINSEL: Replace global object s_rectList by a TinselEngine member varMax Horn
svn-id: r50834
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
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-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* 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-12SCI: changing how savegame ids are handled internally. Using range 0-999 so ↵Martin Kiewitz
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-12Some documentation fixes.Johannes Schickel
svn-id: r50830
2010-07-12SCI: changing gameid of lsl6 sci2.1 into "lsl6hires". We need to keep ↵Martin Kiewitz
workarounds etc. separate, scripts are not compatible svn-id: r50829