aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-10-18LASTEXPRESS: Check for a valid sequence in SequenceFrame::getNameJulien Templier
This allows the demo to fail gracefully to the debugger instead of crashing svn-id: r53595
2010-10-18SWORD25: Since ssize_t might not be available on all platforms use size_t ↵Johannes Schickel
for the pointer cast now. svn-id: r53594
2010-10-18SWORD25: Fix compilation on 64bit arches by casting a pointer to ssize_t ↵Johannes Schickel
instead of int. This should be no permanent solution. I added a small fixme comment near the cast so it won't be forgotten. svn-id: r53593
2010-10-18SWORD25: Use const_cast to cast away constness.Johannes Schickel
This fixes a few warnings/errors in the LUA code. I added some FIXMEs at the places where the casts happen, since usually this casting indicates bad design. svn-id: r53592
2010-10-18LASTEXPRESS: Fix GCC warningsJulien Templier
svn-id: r53588
2010-10-18LASTEXPRESS: Implement 3 more AI logic functionsJulien Templier
svn-id: r53587
2010-10-18SCUMM: Silence MSVC 2010 code analysis warningMax Horn
svn-id: r53582
2010-10-18SCUMM: INSANE: fix a long standing bug discovered by static code analysisEugene Sandulenko
svn-id: r53581
2010-10-18CONFIGURE: Plug in Last Express engineEugene Sandulenko
svn-id: r53580
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579
2010-10-18SCUMM: Fix out of bound access (discovered by Code Analysis in MS VS2010; ↵Max Horn
thanks to aquadran for helping verify the fix) svn-id: r53575
2010-10-18SCUMM: Simplify SO_LOAD_STRING codeMax Horn
svn-id: r53574
2010-10-18SCUMM: Add paranoia checkMax Horn
svn-id: r53573
2010-10-18SCUMM: Fix potential bug in ScummEngine::resStrLen.Max Horn
In particular, it might happen that ScummEngine::resStrLen is called while the _scriptPointer is stale. In that case, it would be working with the stale pointer. If the code calling it then uses fetchScript*() methods to read the string whose length was just computed, then it would read potentially *different* data (e.g. copyScriptString or loadPtrToResource could have been affected). I am not sure if this actually could have caused bugs somewhere; it might even be provable that a script relocation cannot happen in all places that invoke resStrLen. But for now it's much easier to make the code safe than to verify that theory ;). Also simplified some related code. svn-id: r53572
2010-10-18SCUMM: Move common code from ScummEngine::fetchScript* to new method.Max Horn
The new method is called refreshScriptPointer(). Also renamed getScriptEntryPoint() to resetScriptPointer() in an attempt to highlight both the similarity and difference between the two. svn-id: r53571
2010-10-18SWORD25: Fix warningEugene Sandulenko
svn-id: r53569
2010-10-18SWORD25: Renamed Lua .c files to .cpp and make it compilableEugene Sandulenko
svn-id: r53568
2010-10-18SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)Max Horn
svn-id: r53567
2010-10-18SWORD25: Fix Valgrind reported uninitialised errorsPaul Gilbert
svn-id: r53565
2010-10-18SWORD25: Fix for Valgrind identified errorsPaul Gilbert
svn-id: r53563
2010-10-18SCUMM: Check the sound channel is valid, before checking the sound channel.Travis Howell
svn-id: r53562
2010-10-18SCUMM: Check the sound channel is valid, before checking the sound channel.Travis Howell
svn-id: r53561
2010-10-18SCUMM: Correct incorrect demo entry for Backyard Football 2002.Travis Howell
svn-id: r53560
2010-10-17SCUMM/FM-TOWNS: more improvements to japanese font drawingFlorian Kagerer
(MI1 intro is still not right) svn-id: r53558
2010-10-17SCUMM: Fix Macintosh demo of Putt-Putt Joins the Parade.Travis Howell
svn-id: r53557
2010-10-17SCI: Added comments for the unmapped SCI2/SCI2.1 kernel functionsFilippos Karapetis
svn-id: r53556
2010-10-17SCUMM/FM-TOWNS: more improvements to japanese font drawingFlorian Kagerer
- made use of LordHotos graphics/sjis code to reduce code duplication - japanese mode for version 3 and 5 works fine now with few exceptions (some line spacing glitches in MI1 intro etc.) svn-id: r53554
2010-10-17SCUMM: Fix bug #2952298 - HE (16Bit): Inventory items (Cursors) have wrong ↵Travis Howell
color. svn-id: r53552
2010-10-16TOON: Prevent quick load/save when it's not currently possible Sylvain Dupont
svn-id: r53550
2010-10-16TOON: Added most of the remaining Advanced Engine FeaturesSylvain Dupont
Loading/Saving during runtime, Advanced Pausing, Load savestate via launcher, RTL svn-id: r53549
2010-10-16SCI: Add The Black Cauldron (fan game)Matthew Hoops
svn-id: r53547
2010-10-16TOON: Implemented the 4 different mute modes for sound/textSylvain Dupont
As specified in the hotkeys screen (music,dialog,sound,text on/off) Sounds are still played but with a volume = 0 (for timing issues) svn-id: r53545
2010-10-16GOB: Extend debug console variable command a bitSven Hesse
...So that it's actually useful svn-id: r53544
2010-10-16TOON: Fix bugs #3085967 and #3085969 about guards danceSylvain Dupont
Bug #3085969: "TOON: Missing dialogue for Palace guards dance" Bug #3085969: "TOON: Missing dialogue for Palace Guards sequence" svn-id: r53543
2010-10-16TOON: Fix inventory autoclose when the click is too longSylvain Dupont
svn-id: r53542
2010-10-16TOON: Removed useless debug printfSylvain Dupont
svn-id: r53541
2010-10-16TOON: Fixed bug #3085999 with bad mouse button behaviorSylvain Dupont
Bug #3085999: TOON: "Exiting inventory screen loop" Now the events are fired on mouse down instead of on mouse up. svn-id: r53540
2010-10-16TOON: Fixed Bug #3086564 with freezing conversationSylvain Dupont
Bug #3086564: "TOON: Conversation freeze" There was an error in hardcoded conversation flag function Fixed also all endianess problems in conversations svn-id: r53539
2010-10-16SWORD25: Use C-style comments in C filesOri Avtalion
svn-id: r53538
2010-10-16SWORD25: Update svn keywordsOri Avtalion
svn-id: r53537
2010-10-16TOON: Fixed bug #3086000 there was no magnifier effectSylvain Dupont
Bug #3086000: "TOON: Magnifying glass cursor drawn incorrectly" Zoom magnifier postprocess fx has been implemented svn-id: r53529
2010-10-15SCUMM/FM-TOWNS: fix regression in non Japanese SCUMM 3 gamesFlorian Kagerer
svn-id: r53523
2010-10-15SCI: fixing iceman undithering door close-upMartin Kiewitz
room 9 (go up right at the start) svn-id: r53522
2010-10-15TOON: Fixed Bug #3085978 with "Exit Not Defined" appearingSylvain Dupont
Bug #3085978: "TOON: "Exit not defined" when leaving cellar" svn-id: r53521
2010-10-15TOON: Fixed bug #3084738 with loading bottomless bag stateSylvain Dupont
Bug #3084738: "TOON: Vanishing bottomless bag" svn-id: r53520
2010-10-15SCUMM/FM-TOWNS: fix display of dialogue options in Indy 4 JapaneseFlorian Kagerer
svn-id: r53519
2010-10-15SCUMM/FM-TOWNS: fix up/down inventory arrows in Indy 4 JapaneseFlorian Kagerer
svn-id: r53518
2010-10-15SCI: updating comment for r53515Martin Kiewitz
svn-id: r53517
2010-10-15LURE: Fix for #3087842 - Code analysis warningsPaul Gilbert
This is a somewhat cleaner version than my previous commit svn-id: r53516
2010-10-15SCI: fixing view-undithering for laura bow 1Martin Kiewitz
(cupboards in room 43, just in the room to the left from the start) svn-id: r53515