Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-19 | PSP: 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-19 | SAGA: 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-19 | SCI: fixing possible deadlock inside clearPlaylist | Martin Kiewitz | |
thx to ajax16384 svn-id: r53613 | |||
2010-10-19 | SWORD25: Fix for Valgrind identified memory leak | Paul Gilbert | |
svn-id: r53611 | |||
2010-10-19 | SWORD25: Simplify log listener code (and get rid of another global constructor) | Max Horn | |
svn-id: r53610 | |||
2010-10-19 | SWORD25: Destroy singletons upon engine exit (untested, may lead to crash ↵ | Max Horn | |
upon exit) svn-id: r53609 | |||
2010-10-19 | SWORD25: Some code cleanup | Max Horn | |
svn-id: r53608 | |||
2010-10-19 | SWORD25: Move BS_ServiceInfo to service_ids.h and turn it into a POD struct | Max Horn | |
svn-id: r53607 | |||
2010-10-19 | SWORD25: Optimize ReverseArray, move it to only place it is used | Max Horn | |
svn-id: r53606 | |||
2010-10-19 | LASTEXPRESS: Fix warning about empty loop body | Max Horn | |
svn-id: r53605 | |||
2010-10-19 | SWORD25: Work around for bug in Mac OS X 10.2 SDK | Max Horn | |
svn-id: r53604 | |||
2010-10-19 | SWORD25: Added operator= to Polygon class | Paul Gilbert | |
This fixes a corruption where vertice arrays were being copied directly and destroyed prematurely svn-id: r53603 | |||
2010-10-19 | SWORD25: Fix cppcheck warnings in BS_Log::LogPrefix | Paul 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-19 | PSP: add missing return statements to image viewer | Yotam Barnoy | |
svn-id: r53601 | |||
2010-10-19 | SWORD25: Fix cppcheck warning | Torbjörn Andersson | |
svn-id: r53600 | |||
2010-10-19 | LASTEXPRESS: Merge parameter creation into resetCurrentParameters() | Julien Templier | |
svn-id: r53599 | |||
2010-10-19 | LASTEXPRESS: Rewrite resetCurrentParameters to use a temporary var | Julien Templier | |
Per LordHoto suggestion, to see if it fixes compilation on motoezx & PS2 svn-id: r53598 | |||
2010-10-18 | SCUMM/FM-TOWNS JAPANESE: fix font spacing issues | Florian Kagerer | |
(improves MI1 intro) svn-id: r53597 | |||
2010-10-18 | LASTEXPRESS: Add md5sums of German TLE. | Johannes Schickel | |
svn-id: r53596 | |||
2010-10-18 | LASTEXPRESS: Check for a valid sequence in SequenceFrame::getName | Julien Templier | |
This allows the demo to fail gracefully to the debugger instead of crashing svn-id: r53595 | |||
2010-10-18 | SWORD25: 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-18 | SWORD25: 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-18 | SWORD25: 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-18 | CREDITS: Add lastexpress engine | Julien Templier | |
svn-id: r53590 | |||
2010-10-18 | FM-TOWNS AUDIO: improve thread safety | Florian Kagerer | |
svn-id: r53589 | |||
2010-10-18 | LASTEXPRESS: Fix GCC warnings | Julien Templier | |
svn-id: r53588 | |||
2010-10-18 | LASTEXPRESS: Implement 3 more AI logic functions | Julien Templier | |
svn-id: r53587 | |||
2010-10-18 | Revert "COMMON: Implement Common::vprintf(). Patch by littleboy" | Eugene Sandulenko | |
svn-id: r53586 | |||
2010-10-18 | Revert "GUI: Use vprintf in Console class. Patch by littleboy" | Eugene Sandulenko | |
svn-id: r53585 | |||
2010-10-18 | Revert "CONFIGURE: Added va_copy detection for Last Express engine" | Eugene Sandulenko | |
svn-id: r53584 | |||
2010-10-18 | CONFIGURE: Added va_copy detection for Last Express engine | Eugene Sandulenko | |
svn-id: r53583 | |||
2010-10-18 | SCUMM: Silence MSVC 2010 code analysis warning | Max Horn | |
svn-id: r53582 | |||
2010-10-18 | SCUMM: INSANE: fix a long standing bug discovered by static code analysis | Eugene Sandulenko | |
svn-id: r53581 | |||
2010-10-18 | CONFIGURE: Plug in Last Express engine | Eugene Sandulenko | |
svn-id: r53580 | |||
2010-10-18 | LASTEXPRESS: Merge in the engine. | Eugene Sandulenko | |
svn-id: r53579 | |||
2010-10-18 | SOUND: Add support for LastExpress version of IMA ADPCM sound. | Eugene Sandulenko | |
Patch by littleboy. svn-id: r53578 | |||
2010-10-18 | GUI: Use vprintf in Console class. Patch by littleboy | Eugene Sandulenko | |
svn-id: r53577 | |||
2010-10-18 | COMMON: Implement Common::vprintf(). Patch by littleboy | Eugene Sandulenko | |
svn-id: r53576 | |||
2010-10-18 | SCUMM: 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-18 | SCUMM: Simplify SO_LOAD_STRING code | Max Horn | |
svn-id: r53574 | |||
2010-10-18 | SCUMM: Add paranoia check | Max Horn | |
svn-id: r53573 | |||
2010-10-18 | SCUMM: 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-18 | SCUMM: 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-18 | CONFIGURE: formatting fix (and kick the buildbot full rebuild) | Eugene Sandulenko | |
svn-id: r53570 | |||
2010-10-18 | SWORD25: Fix warning | Eugene Sandulenko | |
svn-id: r53569 | |||
2010-10-18 | SWORD25: Renamed Lua .c files to .cpp and make it compilable | Eugene Sandulenko | |
svn-id: r53568 | |||
2010-10-18 | SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings) | Max Horn | |
svn-id: r53567 | |||
2010-10-18 | CREATE_MSVC: Added a missing check for sword25 and reordered some engine ↵ | Filippos Karapetis | |
checks alphabetically svn-id: r53566 | |||
2010-10-18 | SWORD25: Fix Valgrind reported uninitialised errors | Paul Gilbert | |
svn-id: r53565 | |||
2010-10-18 | CREATE_MSVC: Added support for libpng as well | Filippos Karapetis | |
svn-id: r53564 |