Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-30 | ALL: Require DECLARE_SINGLETON to be used in the Common namepsace | Ori Avtalion | |
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning. | |||
2011-06-29 | SWORD25: removed useless warning in setVsync() | Eugene Sandulenko | |
2011-06-29 | SWORD25: Implement persistence functions for soundengine | Eugene Sandulenko | |
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained. | |||
2011-06-26 | SWORD25: Change unknow handle error into a warning | Thierry Crozat | |
Also add sanity checks when calling findHandle() in the SoundEngine. This fixes an issue when functions of SoundEngine are called on a sound that has already finished playing (the most common occurrences are calls to isSoundPlaying()). | |||
2011-06-26 | SWORD25: Fixed bug with concurrent sounds. Reported by criezy | Eugene Sandulenko | |
2011-06-26 | SWORD25: Fix bug with loading saves when some saves are missing | Eugene Sandulenko | |
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
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-23 | SWORD25: Add error checks after allocating memory with malloc | Julien | |
2011-06-23 | ANALYSIS: Fix potential memory leak when using realloc | Julien | |
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-20 | ALL: Remove trailing whitespaces | Max 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-18 | SWORD25: Fix locale-related bug when reading the volume settings | eriktorbjorn | |
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-18 | SWORD25: Fix getting volume settings from config file | eriktorbjorn | |
The tests had been inverted, so that if there were config file settings it would use the default settings instead. | |||
2011-06-17 | Merge pull request #30 from tsoliman/configure-enhancement-warning-clean | Eugene Sandulenko | |
Configure enhancement warning clean | |||
2011-06-17 | SWORD25: Fix image blending for black | Eugene Sandulenko | |
This fixes exit menu. | |||
2011-06-16 | SWORD25: flag all WIP games with ADGF_UNSTABLE | Tarek Soliman | |
all | |||
2011-06-14 | DETECTOR: Merge ADParams into AdvancedMetaEngine | Max Horn | |
2011-06-12 | SWORD25: Removed leftover dead code | Filippos Karapetis | |
2011-06-11 | SWORD25: Unstub more sound-related functions | Eugene Sandulenko | |
2011-06-10 | SWORD25: Fix warning | Max Horn | |
2011-06-10 | SWORD25: Switch to alternate AdvancedMetaEngine, avoid ADParams | Max Horn | |
2011-06-10 | ENGINES: Change incorrect use of 'target' to 'gameid' | Max Horn | |
2011-06-10 | SWORD25: Unstub SoundEngine::set/getVolume | Eugene Sandulenko | |
2011-06-06 | COMMON: Make more symbols forbidden | Max Horn | |
2011-06-06 | COMMON: Remove vfprintf call from XML parser | Max Horn | |
2011-06-06 | SWORD25: Remove redundant bounds check | Max Horn | |
2011-06-06 | SWORD25: Fix whitespace | Max Horn | |
2011-06-02 | ENGINES: Change 2nd param of Engine::saveGameState to Common::String | Max Horn | |
2011-05-26 | SWORD25: Fix making multiple saves at the same time. | Alyssa Milburn | |
This adds a missing seek. Thanks to [md5] for guessing the cause. | |||
2011-05-26 | SWORD25: Committed changes to module.mk which were forgotten in my previous ↵ | md5 | |
commit | |||
2011-05-26 | SWORD25: Merged the PNG and thumbnail decoding code into a common class | md5 | |
2011-05-26 | SWORD25: Removed the leftover libpng code | md5 | |
2011-05-26 | SWORD25 (LUA): Removed unused code for handling precompiled LUA scipts | md5 | |
2011-05-26 | SWORD25: Const correctness | Max Horn | |
2011-05-26 | SWORD25: Fix warning: double format, float arg on DC | Max Horn | |
2011-05-26 | SWORD25: Avoid using strcoll | Max Horn | |
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-25 | ALL: behaviour -> behavior | Matthew Hoops | |
2011-05-25 | SWORD25: Remove more unused loadlib code + use of fopen | Max 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-24 | SWORD25: Remove unused Lua print stuff | Max Horn | |
2011-05-23 | SWORD25: Remove obsolete FORBIDDEN_SYMBOL_ALLOW_ALL defines | Max Horn | |
2011-05-23 | COMMON: Add exit() to list of forbidden symbols | Max Horn | |
2011-05-23 | SWORD25: Include scummsys.h from lua.h, partially deal with the consequences | Max Horn | |
This should help mark the spots that are still non-portable, just follow the FIXMEs. | |||
2011-05-23 | SWORD25: Avoid including lua headers in other headers | Max Horn | |
2011-05-23 | SWORD25: Replace some non-portable calls, add FIXMEs | Max Horn | |
2011-05-23 | SWORD25: Fix Theora audio endianism | Alyssa Milburn | |
2011-05-23 | SWORD25: Properly use Theora picture offset/dimensions | Matthew Hoops | |
2011-05-23 | SWORD25: Fix ambiguous typing | Max Horn | |
2011-05-23 | SWORD25: Fix screenshot endianism issue | Alyssa Milburn | |
2011-05-23 | SWORD25: De-hardcode target name in thumbnail code | Alyssa 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-23 | SWORD25: Fix error string parameter | Alyssa Milburn | |