aboutsummaryrefslogtreecommitdiff
path: root/engines/toon
AgeCommit message (Collapse)Author
2013-08-03TOON: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03TOON: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-06-30TOON: Fix bug #3611869 - Drew sometimes ends up stuck walking foreversylvaintv
Canceled old character setFacing when a new one is issued during the character rotation. Bug #3611869: "TOON: Drew sometimes ends up stuck walking forever"
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2013-04-29TOON: Fix logical branch error. CID 1004062Eugene Sandulenko
2013-04-27TOON: Fix Uninitialized scalar variable CID 1003172, 1003173, 1003175, 1003176Strangerke
2013-04-25TOON: Fix memory leakWillem Jan Palenstijn
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-01-13TOON: Fix return value of saveGameState/loadGameState.Johannes Schickel
Formerly both returned an error, when the saving/loading succeeded, and success when it didn't. This fixes an incorrect dialog appearing when saving or loading via the GMM.
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-16VIDEO: Remove setSystemPalette()Matthew Hoops
2012-07-29Merge pull request #252 from DrMcCoy/detector_public_reportUnknownJohannes Schickel
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-25TOON: Fix delete[] formatting.Johannes Schickel
2012-07-23VIDEO: Rewrite SmackerDecoder to use the new APIMatthew Hoops
2012-07-07TOON: Remove unecessary getSystem() function.D G Turner
This was needed due to the unecessary protected shadow variable hiding the Engine superclass _system member variable.
2012-07-03TOON: Slight cleanup in querySaveMetaInfos.Johannes Schickel
2012-06-29TOON: Correct mismatched method definition against prototype.D G Turner
Fixes bug #3539018 - "Toon: AmigaOS4 Compiler error in anim.cpp"
2012-06-28TOON: Replace remaining int32 x,y,w and h coordinates with int16.D G Turner
2012-06-27DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizesSven Hesse
Since we need a FSNode parent for Mac resource forks, we need to change signature of detectGameFilebased(), too.
2012-06-25TOON: Fix bug #3533291 - Crash in Russian Versionsylvaintv
The Russian-localized version of an animation contained an empty frame, added a check to skip the rendering. Bug #3533291: "TOON: Russian Version Crash at Voice Scanner"
2012-06-16TOON: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-15TOON: Simplify code in Animation::drawFrameWithMaskAndScale().D G Turner
2012-06-14TOON: Fix two latent off-by-one errors in Character Class.D G Turner
These were exposed by assertions from Common::Array usage.
2012-06-14Merge branch 'toon-RAM-reduction'D G Turner
2012-06-14TOON: Change Pathfinding weight buffers to uint16.D G Turner
This should result in a significant saving in RAM usage. Have added warning outputs if the weights exceed the maximum limit.
2012-06-14TOON: Replace Character _currentPath static buffers with Common::Array.D G Turner
2012-06-14TOON: Migrate Character API x,y coordinates and subclasses to int16.D G Turner
This harmonises the usage with Common::Point.
2012-06-10TOON: Minor type fixes and cleanups in Pathfinding class.D G Turner
2012-06-10TOON: Migrate Pathfinding Path Buffers to Common::Point.D G Turner
This removes the need for i32Point, which used int32, instead of the int16 of Common::Point. Since the co-ordinates passed in are in int16, this is safe. Tested with no regressions. Also, removed return value from walkLine function as it always returned true.
2012-06-10TOON: Migrate Pathfinding API x,y coordinates to int16.D G Turner
This harmonises the usage with Common::Point.
2012-06-10GUI: Add helper to SaveLoadChooser, which uses the currently active target.Johannes Schickel
This reduces the code duplication in all client code, which formerly duplicated the querying of the plugin, game id etc. and now simply calls the newly added method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10GUI: Get rid of SaveLoadChooser::setSaveMode.Johannes Schickel
We already pass the title and process button name to the constructor of SaveLoadChooser and then do not offer any way of changing it, thus changing the edit mode of the chooser is kind of pointless and was never actually used. Instead we pass the mode on SaveLoadChooser construction now.
2012-06-09TOON: Minor cleanups in Pathfinding class. No functional change.D G Turner
2012-06-09TOON: Replace Pathfinding retPath static buffers with Common::Array.D G Turner
2012-06-09TOON: Replace Pathfinding _tempPath static buffers with Common::Array.D G Turner
2012-06-07TOON: Further cleanup to Pathfinding Class.D G Turner
Removal of some unused variables, logical reordering of functions and minor changes to reduce minor duplication. No functional changes.
2012-06-07TOON: Reduce unecessary linkages in Pathfinding class.D G Turner
2012-06-07TOON: Remove unecessary usages of g_system.D G Turner
2012-06-07TOON: Minor cleanup and formatting fixes to Pathfinding class.D G Turner
2012-06-07TOON: Move PathFindingHeap API to use int16 for x,y coordinates.D G Turner
The internal x,y point representation was already changed to int16 anyway, so this just harmonises this with the external API (and with Common::Point which uses int16).
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-12TOON: Fix bug #3467139 with russian version crashsylvaintv
Bug #3467139: "TOON: Russian Version Crashes" A frame is corrupted in an localized animation Moved the check before the Rect creation.
2012-02-12TOON: Add russian version detectionsylvaintv
2011-12-08TOON: Replace usage of 'goto'.D G Turner
2011-11-27JANITORIAL: Remove extra semicolons.Christoph Mallon
2011-11-27TOON: Clean up Common::String usageWillem Jan Palenstijn
Thanks to Sylvain for testing.
2011-11-16LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)Strangerke
2011-10-24TOON: After discussion with clone2727 and eriktorbjorn, remove ↵Strangerke
GUIO_NOASPECT from Toonstruck
2011-10-23LAUNCHER: Add GUIO_NOASPECT to ToonstruckStrangerke