Commit Graph
30 Commits
Author SHA1 Message Date
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Vladimir Serbinenko c5373134d2 COMMON: Uplift rnc decoder from toon to common
Toon has a RNC implementation with 2 differences from the one taken from SKY:

1. Protection against overread. Add it to common version and adjust callers
   in sky.
2. Lack of key parameter for obfuscation. We ignore it anyway and don't
   support obfuscation, so delete it in common version as well
2022-11-29 04:30:36 +01:00
Donovan Watteau 5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Thanasis Antoniou 573c10f0c8 TOON: Prevent segmentation fault if PAK file is missing
Could be related to ticket #11319

https://bugs.scummvm.org/ticket/11319
2020-02-28 10:57:53 +02:00
D G Turner 29aef74f66 TOON: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-09 03:24:47 +00:00
Strangerke 460645393e TOON: Reduce the scope of a couple of variables. 2014-02-28 23:33:39 +01:00
Johannes Schickel 1d65a915ba TOON: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Strangerke 42cc71fef0 TOON: Fix CID 1002427, 1002428, 1002429 2013-10-30 00:46:52 +01:00
Johannes Schickel cbef0de3a4 TOON: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:34 +02:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
D G Turner 78b8ca5c7f TOON: Replace remaining int32 x,y,w and h coordinates with int16. 2012-06-28 07:07:08 +01:00
Willem Jan Palenstijn f9ad14dc2d TOON: Clean up Common::String usage
Thanks to Sylvain for testing.
2011-11-27 00:53:39 +01:00
Strangerke b60a706751 JANITORIAL: Fix some formatting glitches in gob, hugo and toon 2011-09-08 07:55:40 +02:00
sylvaintv 36222c747f TOON: Fixed palette problem in LoadPicture
Bug #3325272: "Toonstruck (Spanish) Bad Graphic in squirrel book"

Was a "full" palette in spanish and a "half" palette in english version.
Made it choose the good mode automatically based on color count.
2011-07-09 02:55:28 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
sylvaintv 3dc87c4f3d TOON: Fix several Valgrind issues
Maybe caused random crashes on reading invalid memory
2011-04-06 23:07:11 +02:00
sylvaintv 3964ce8123 TOON: Add more dirtyRect checks 2011-03-13 23:11:47 +01:00
strangerke fae2be668f TOON: Cleanup 2011-03-10 01:32:03 +01:00
strangerke cf657d09e8 TOON: Janitorial: Suppress blanks at end of lines 2011-03-10 00:25:29 +01:00
sylvaintv 53d6a4f831 TOON: Decrease CPU usage
Added dirty rects
Reduced the max FPS from 60 to 30
2011-03-08 00:51:21 +01:00
Sylvain Dupont ab01c8e5fc TOON: Fixed memory corruption in several rooms
Some mask line drawings were writing outside the buffer.

svn-id: r55055
2010-12-28 13:13:55 +00:00
David Turner 4acad22d6e TOON: Corrections to close some memory leaks.
These corrections close a number of leaks in the Toon engine reported by running Valgrind with --leak-check=full option.

svn-id: r54127
2010-11-07 21:08:46 +00:00
Torbjörn Andersson 54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Torbjörn Andersson 212d6cc1f0 TOON: Fix black spots in title picture.
A "full palette" is, presumably, 256 colours, not 255.

svn-id: r53101
2010-10-09 11:33:29 +00:00
Torbjörn Andersson 30556795fd TOON: Removed unnecessary "break"s (right after "return"s)
svn-id: r53100
2010-10-09 11:27:25 +00:00
Johannes Schickel eef9f7b57b TOON: Ran astyle over the toon engine (+ some manual corrections).
svn-id: r53098
2010-10-09 11:11:26 +00:00
Eugene Sandulenko e11637c7bc TOON: Normalized include paths
svn-id: r53089
2010-10-08 22:45:28 +00:00
Eugene Sandulenko cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00