aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2012-04-05SWORD25: Do not cast away const qualifier.Johannes Schickel
2012-03-20GRAPHICS: Move PNG to the ImageDecoder interfaceMatthew Hoops
2012-03-17ALL: Use GCC_ATLEAST().Christoph Mallon
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2012-02-26COMMON: Move Language and Platform functionality into separate filesMax Horn
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-01-29SWORD25: Return 0 instead of false in Screenshot::createThumbnail.Johannes Schickel
This should "fix" a g++ warning.
2011-12-08SWORD25: Reduce usage of 'goto'.D G Turner
Have refrained from changing the usage of 'goto' in the embedded LUA interpreter code for the time being, as this is still in flux due to the savegame issues.
2011-11-27JANITORIAL: Remove extra semicolons.Christoph Mallon
2011-11-26SWORD25: Add the Hungarian "psylog" version from bug #3428644Filippos Karapetis
2011-11-18SWORD25: Fixed the language of the Croatian versionFilippos Karapetis
2011-11-16COMMON: Rename Common::set_to to Common::fill.Johannes Schickel
This makes the name match with the name of the STL function with the same behavior.
2011-10-24LAUNCHER: Add GUIO_NOASPECT to sword25Strangerke
2011-10-23AD: Switched rest of the engines to new GUIOEugene Sandulenko
2011-08-07SWORD25: Make sure that id is always initialized in playSoundEx()Filippos Karapetis
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-07JANITORIAL: Add missing NL at EOF.Christoph Mallon
2011-07-10SWORD25: Removed custom endianness code in persistence codeEugene Sandulenko
This is first step towards making saves portable. Binary footprint left intact, so the saves are compatible.
2011-07-10SWORD25: Fix regression introduced in 5dd8f2575b0fEugene Sandulenko
Janitorial removed function call which had a side effect. Thus the actor image load code crashed.
2011-06-30JANITORIAL: Silence a couple of "variable set but not used" warnings.eriktorbjorn
2011-06-30ALL: Require DECLARE_SINGLETON to be used in the Common namepsaceOri 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-29SWORD25: removed useless warning in setVsync()Eugene Sandulenko
2011-06-29SWORD25: Implement persistence functions for soundengineEugene Sandulenko
Now sound is properly saved/restored. Implemented savegame versioning. Compatibility with old saves pertained.
2011-06-26SWORD25: Change unknow handle error into a warningThierry 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-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