aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2013-01-09SWORD25: Silence C++11 narrowing warnings.Johannes Schickel
2012-12-13COMMON: Forbid symbols for the rest of is* from ctype.h.Johannes Schickel
I also moved the isprint case to the correct position. This adds a FIXME to our lua code from sword25, which uses iscntrl directly.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-20SWORD25: Fix loading savegames on 64-bit archs.upthorn
2012-08-20SWORD25: Improve sound persistence.Alyssa Milburn
Keep track of volume/panning state, and don't restart sounds which already finished playing.
2012-08-13VIDEO: Convert TheoraDecoder to the new AdvancedVideoDecoder APIMatthew Hoops
2012-08-12VIDEO: Move TheoraDecoder to video/Matthew Hoops
2012-06-16SWORD25: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-13SWORD25: Janitorial: Apply coding conventionsStrangerke
2012-05-28VIDEO: Add volume/balance control to VideoDecoderMatthew Hoops
2012-05-12VIDEO: Change getElapsedTime() into getTime()Matthew Hoops
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-04-22SWORD25: Correct stack dump debug function output.D G Turner
This was introduced by the change from C++ output streams (<<) to Common::String output. Thanks to salty-horse for finding this.
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.