aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-19PSP: disabling the ability to build Broken Sword 2.5. Revert once fixed.Yotam Barnoy
Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built. The following functions need to be removed/moved to the main executable: All socket functions (should be disabled anyway) Clock() Rename() Additionally, png functions should ideally also be called only from the main executable. svn-id: r53615
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-19PSP: add missing return statements to image viewerYotam Barnoy
svn-id: r53601
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-18CREDITS: Add lastexpress engineJulien Templier
svn-id: r53590
2010-10-18FM-TOWNS AUDIO: improve thread safetyFlorian Kagerer
svn-id: r53589
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-18Revert "COMMON: Implement Common::vprintf(). Patch by littleboy"Eugene Sandulenko
svn-id: r53586
2010-10-18Revert "GUI: Use vprintf in Console class. Patch by littleboy"Eugene Sandulenko
svn-id: r53585
2010-10-18Revert "CONFIGURE: Added va_copy detection for Last Express engine"Eugene Sandulenko
svn-id: r53584
2010-10-18CONFIGURE: Added va_copy detection for Last Express engineEugene Sandulenko
svn-id: r53583
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-18SOUND: Add support for LastExpress version of IMA ADPCM sound.Eugene Sandulenko
Patch by littleboy. svn-id: r53578
2010-10-18GUI: Use vprintf in Console class. Patch by littleboyEugene Sandulenko
svn-id: r53577
2010-10-18COMMON: Implement Common::vprintf(). Patch by littleboyEugene Sandulenko
svn-id: r53576
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-18CONFIGURE: formatting fix (and kick the buildbot full rebuild)Eugene Sandulenko
svn-id: r53570
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-18CREATE_MSVC: Added a missing check for sword25 and reordered some engine ↵Filippos Karapetis
checks alphabetically svn-id: r53566
2010-10-18SWORD25: Fix Valgrind reported uninitialised errorsPaul Gilbert
svn-id: r53565
2010-10-18CREATE_MSVC: Added support for libpng as wellFilippos Karapetis
svn-id: r53564