aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2011-06-26SWORD25: Fixed bug with concurrent sounds. Reported by criezyEugene Sandulenko
2011-06-26SWORD25: Fix bug with loading saves when some saves are missingEugene Sandulenko
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23SWORD25: Add error checks after allocating memory with mallocJulien
2011-06-23ANALYSIS: Fix potential memory leak when using reallocJulien
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer. See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-18SWORD25: Fix locale-related bug when reading the volume settingseriktorbjorn
I don't really like this, but I can't think of any better way. It seems that Lua doesn't like decimal comma at all, so we have to format the volume settings with a decimal point instead. Otherwise, all I'll ever get is either full volume or no volume, with nothing in between.
2011-06-18SWORD25: Fix getting volume settings from config fileeriktorbjorn
The tests had been inverted, so that if there were config file settings it would use the default settings instead.
2011-06-17Merge pull request #30 from tsoliman/configure-enhancement-warning-cleanEugene Sandulenko
Configure enhancement warning clean
2011-06-17SWORD25: Fix image blending for blackEugene Sandulenko
This fixes exit menu.
2011-06-16SWORD25: flag all WIP games with ADGF_UNSTABLETarek Soliman
all
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-12SWORD25: Removed leftover dead codeFilippos Karapetis
2011-06-11SWORD25: Unstub more sound-related functionsEugene Sandulenko
2011-06-10SWORD25: Fix warningMax Horn
2011-06-10SWORD25: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-10SWORD25: Unstub SoundEngine::set/getVolumeEugene Sandulenko
2011-06-06COMMON: Make more symbols forbiddenMax Horn
2011-06-06COMMON: Remove vfprintf call from XML parserMax Horn
2011-06-06SWORD25: Remove redundant bounds checkMax Horn
2011-06-06SWORD25: Fix whitespaceMax Horn
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-05-26SWORD25: Fix making multiple saves at the same time.Alyssa Milburn
This adds a missing seek. Thanks to [md5] for guessing the cause.
2011-05-26SWORD25: Committed changes to module.mk which were forgotten in my previous ↵md5
commit
2011-05-26SWORD25: Merged the PNG and thumbnail decoding code into a common classmd5
2011-05-26SWORD25: Removed the leftover libpng codemd5
2011-05-26SWORD25 (LUA): Removed unused code for handling precompiled LUA sciptsmd5
2011-05-26SWORD25: Const correctnessMax Horn
2011-05-26SWORD25: Fix warning: double format, float arg on DCMax Horn
2011-05-26SWORD25: Avoid using strcollMax Horn
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-25SWORD25: Remove more unused loadlib code + use of fopenMax Horn
The functions loader_C and loader_Croot provably did not do anything besides returning an error, so removing them was safe. For loader_Lua, this was using luaL_loadfile. But that in turn now uses Sword25FileProxy, which only supports loading config.lua, and config.lua is not used via the loadlib mechanism. Therefore, I deemed it safe to also remove this third loader. This leaves loader_preload as only remaining loader. It is probably unused, too, but I did not both to investigate further, as I already achieved my primary goal (getting rid of fopen/fclose use). All other removed functions were unused due to the removal of the first three loader_* functions.
2011-05-24SWORD25: Remove unused Lua print stuffMax Horn
2011-05-23SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL definesMax Horn
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-23SWORD25: Include scummsys.h from lua.h, partially deal with the consequencesMax Horn
This should help mark the spots that are still non-portable, just follow the FIXMEs.
2011-05-23SWORD25: Avoid including lua headers in other headersMax Horn
2011-05-23SWORD25: Replace some non-portable calls, add FIXMEsMax Horn
2011-05-23SWORD25: Fix Theora audio endianismAlyssa Milburn
2011-05-23SWORD25: Properly use Theora picture offset/dimensionsMatthew Hoops
2011-05-23SWORD25: Fix ambiguous typingMax Horn
2011-05-23SWORD25: Fix screenshot endianism issueAlyssa Milburn
2011-05-23SWORD25: De-hardcode target name in thumbnail codeAlyssa Milburn
This just uses the provided filename rather than trying to recreate it with a hard-coded target (causing crashes with other targets). (Also, add an error check rather then crashing there, just in case.)
2011-05-23SWORD25: Fix error string parameterAlyssa Milburn
2011-05-23SWORD25: Replaced accidental backslash in include filenamePaul Gilbert
2011-05-23SWORD25: Moved detection entries into detection_tables.hPaul Gilbert
2011-05-23SWORD25: Added detection entries for other languagesPaul Gilbert
This is needed now, since changing the language in-game updates the ScummVM language setting, and there must be a matching detection entry for each language.
2011-05-23SWORD25: Added proxy code for converting writing config.lua to update the ↵Paul Gilbert
ScummVM game settings