aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
AgeCommit message (Collapse)Author
2013-05-06Merge pull request #320 from johndoe123/sword25-gfxEugene Sandulenko
SWORD25: Optimized graphics drawing
2013-04-24SWORD25: Plug memory leak. CID 1003589Eugene Sandulenko
2013-04-20SWORD25: Fix blitting codejohndoe123
- Rename collectRenderQueue to preRender - Only do forceRefresh() in Panel::setColor() and Text::setText() if the new values are different - Move child object resorting from RenderObject::render() into RenderObject::preRender()
2013-04-18ENGINES: Silence clang warning about unused private member _vmMax Horn
This affects the Console / debugger classes of multiple engines. An alternative solution would have been to remove the unused _vm member vars. However, it seems likely that in the future, the _vm member could be useful for methods added to the console. So instead, we add a simple assert(_vm) to silence the clang warning.
2013-04-18Merge branch 'master' of github.com:scummvm/scummvm into sword25-gfxjohndoe123
2013-04-18SWORD25: Silence warning in the Lua codeMax Horn
This fixes warnings like this that crop up when compiling sword25 with Apple clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
2013-04-17SWORD25: Change absolute Z calculation to match that of absolute x/y; remove ↵johndoe123
old comment
2013-04-17SWORD25: Optimize graphics drawing codejohndoe123
2013-02-03SWORD25: Fix some spacing in LUAFilippos Karapetis
2013-02-03SWORD25: Replace calls to LUAI_THROW() with error() in LUAFilippos Karapetis
This removes one of the uses of setjmp(), but its use in LUAI_TRY still remains
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()).