aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-10-19SAGA: SAGA: replace SpriteList "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53628
2010-10-19SAGA: replace Actors "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53627
2010-10-19SWORD25: Enforced code formatting rules in rest of the engineEugene Sandulenko
svn-id: r53626
2010-10-19SWORD25: Enforce code naming conventions in gfx/*Eugene Sandulenko
svn-id: r53625
2010-10-19LASTEXPRESS: Fix corpse disappearing when hiding the body in the bedJulien Templier
The setItemLocation action had a typo that prevented it from setting the item location. The "corpse moved" event was not set and it broke the scene progression. Also clean up the pickCorpse code and add better comments. svn-id: r53624
2010-10-19SWORD25: Enforce code naming conventions in gfx/image/imageloader*Eugene Sandulenko
svn-id: r53623
2010-10-19SWORD25: Fix engine exit when running without theoradecEugene Sandulenko
svn-id: r53622
2010-10-19SWORD25: Enforce code naming conventions in gfx/graphicengine*Eugene Sandulenko
svn-id: r53621
2010-10-19SWORD25: Properly implement GraphicEngine::fill()Eugene Sandulenko
Now all transitions and dimming out screen at exit dialog is supported. svn-id: r53620
2010-10-19LASTEXPRESS: Changed some spaces to tabsTorbjörn Andersson
svn-id: r53618
2010-10-19SCUMM/FM-TOWNS JAPANESE: minor fix in last commitFlorian Kagerer
svn-id: r53617
2010-10-19SCUMM/FM-TOWNS JAPANESE: implement flipped textFlorian Kagerer
(used in the MI1 circus scene after Guybrush gets shot out of the cannon) svn-id: r53616
2010-10-19SAGA: fix submit 53486 "Added sanity checks for realloc() calls - bug report ↵Andrew Kurushin
#3087852". zero count realloc may return NULL as valid value svn-id: r53614
2010-10-19SCI: fixing possible deadlock inside clearPlaylistMartin Kiewitz
thx to ajax16384 svn-id: r53613
2010-10-19SWORD25: Fix for Valgrind identified memory leakPaul Gilbert
svn-id: r53611
2010-10-19SWORD25: Simplify log listener code (and get rid of another global constructor)Max Horn
svn-id: r53610
2010-10-19SWORD25: Destroy singletons upon engine exit (untested, may lead to crash ↵Max Horn
upon exit) svn-id: r53609
2010-10-19SWORD25: Some code cleanupMax Horn
svn-id: r53608
2010-10-19SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD structMax Horn
svn-id: r53607
2010-10-19SWORD25: Optimize ReverseArray, move it to only place it is usedMax Horn
svn-id: r53606
2010-10-19LASTEXPRESS: Fix warning about empty loop bodyMax Horn
svn-id: r53605
2010-10-19SWORD25: Work around for bug in Mac OS X 10.2 SDKMax Horn
svn-id: r53604
2010-10-19SWORD25: Added operator= to Polygon classPaul Gilbert
This fixes a corruption where vertice arrays were being copied directly and destroyed prematurely svn-id: r53603
2010-10-19SWORD25: Fix cppcheck warnings in BS_Log::LogPrefixPaul Gilbert
The LogPrefix method isn't currently used, but I'm fixing it just in case it's ever used again svn-id: r53602
2010-10-19SWORD25: Fix cppcheck warningTorbjörn Andersson
svn-id: r53600
2010-10-19LASTEXPRESS: Merge parameter creation into resetCurrentParameters()Julien Templier
svn-id: r53599
2010-10-19LASTEXPRESS: Rewrite resetCurrentParameters to use a temporary varJulien Templier
Per LordHoto suggestion, to see if it fixes compilation on motoezx & PS2 svn-id: r53598
2010-10-18SCUMM/FM-TOWNS JAPANESE: fix font spacing issuesFlorian Kagerer
(improves MI1 intro) svn-id: r53597
2010-10-18LASTEXPRESS: Add md5sums of German TLE.Johannes Schickel
svn-id: r53596
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