Commit Graph
131 Commits
Author SHA1 Message Date
Strangerke 010e676184 TOON: Fix uninitialized variable 2016-06-13 07:13:46 +02:00
Eugene Sandulenko b53d8104b7 TOON: Plug memory leak 2016-05-31 17:12:18 +02:00
Eugene Sandulenko 29d6e9a754 JANITORIAL: Whitespace fixes 2016-05-31 17:12:18 +02:00
Ori Avtalion 253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Thierry Crozat 41ff2a9f02 TOON: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Torbjörn Andersson 404839bda6 TOON: Check for quitting in runEventScript()
This keeps the game from hanging when trying to quit during Jim's
gym demonstration. Hopefully any other effect of it is also good.
2015-05-15 11:13:13 +02:00
sylvaintv 15a4371b2d TOON: Fix bad enum syntax 2015-03-19 22:40:29 +01:00
sylvaintv e73faeee68 TOON: Add options menu
- Add options menu when pressing F1
- Add in-game font change
2015-03-19 21:42:08 +01:00
Strangerke 37b77168ec TOON: Remove some dead code 2014-08-06 20:57:30 +02:00
Strangerke c456b0e0e3 TOON: Reduce the scope of some more variables. 2014-02-28 23:39:35 +01:00
Strangerke a8e17552ce TOON: Remove double identical check. 2014-02-28 23:33:19 +01:00
Johannes Schickel 1d65a915ba TOON: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Johannes Schickel 4e290bf475 TOON: Use keycodes for hotkey handling. 2014-02-14 18:21:57 +01:00
Johannes Schickel b91e96e26a TOON: Ignore hotkeys when *any* modifier is used.
This makes, for example, META+d also be ignored and not only CTRL+d etc.
2014-02-14 18:21:57 +01:00
Johannes Schickel f5a77e1380 TOON: Do not use KeyState::hasFlags when only presence of any flag should be checked.
hasFlags has the semantics to check whether *all* of the supplied flags are
active. Toon looks like it rather wants to know whether any modifier is
active and thus not use hasFlags.
2014-02-14 18:21:57 +01:00
Strangerke 1c0367d5a6 TOON: Fix unintialized variables. Fix CID 1002424 2013-11-09 18:20:29 +01:00
Strangerke 809aaead09 TOON: Fix CID 1002424 2013-10-29 08:18:54 +01:00
Johannes Schickel 7455cd4e35 TOON: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Johannes Schickel cbef0de3a4 TOON: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:34 +02:00
Strangerke 34ded75f40 TOON: Fix Uninitialized scalar variable CID 1003172, 1003173, 1003175, 1003176 2013-04-27 11:19:05 +02:00
Matthew Hoops a652f6669e VIDEO: Rewrite SmackerDecoder to use the new API 2012-07-23 21:04:51 -04:00
D G Turner cfe7bf614b TOON: Remove unecessary getSystem() function.
This was needed due to the unecessary protected shadow variable
hiding the Engine superclass _system member variable.
2012-07-07 14:37:15 +01: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
D G Turner 57d34d2576 Merge branch 'toon-RAM-reduction' 2012-06-14 17:45:30 +01:00
D G Turner 5458127d97 TOON: Migrate Pathfinding API x,y coordinates to int16.
This harmonises the usage with Common::Point.
2012-06-10 16:00:26 +01:00
Johannes Schickel 7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
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-10 04:53:17 +02:00
Johannes Schickel 15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
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-10 04:19:45 +02:00
D G Turner 70f09e4ee3 TOON: Reduce unecessary linkages in Pathfinding class. 2012-06-07 13:50:24 +01:00
D G Turner 6cda28adc9 TOON: Remove unecessary usages of g_system. 2012-06-07 13:20:53 +01:00
sylvaintv 24e50eb218 TOON: Fix bug #3467139 with russian version crash
Bug #3467139: "TOON: Russian Version Crashes"
A frame is corrupted in an localized animation
Moved the check before the Rect creation.
2012-02-12 23:18:40 +01:00
D G Turner c619b8d981 TOON: Replace usage of 'goto'. 2011-12-08 03:10:17 +00:00
Willem Jan Palenstijn f9ad14dc2d TOON: Clean up Common::String usage
Thanks to Sylvain for testing.
2011-11-27 00:53:39 +01:00
sylvaintv dedbfb836a TOON: Fix Flux jumpy animation when imprisoned
Idle animation was reset every frame when changing facing point.
Fix also Drew description when right-clicking on Flux
2011-10-07 01:10:51 +02:00
Strangerke b60a706751 JANITORIAL: Fix some formatting glitches in gob, hugo and toon 2011-09-08 07:55:40 +02:00
sylvaintv ab5850af62 TOON: Fix default walk to object with screen scrolling
Bug #3363119: "Toon: Player desapear when you use a object in pepper plant"
2011-07-12 22:55:14 +02:00
sylvaintv 831d358d42 TOON: Fix rare palette glitch during one frame after cutscene 2011-07-09 03:26:43 +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
eriktorbjorn 4b51bef7ae TOON: Add delay to inventory rendering loop. Uses a bit less CPU now. 2011-06-27 21:48:00 +02:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
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-20 00:59:48 +02:00
Max Horn 95bfa81168 TOON: Reduce header dependencies 2011-06-10 22:15:47 +02:00
Max Horn 59dfd6e859 TOON: Remove all instances of s(n)printf 2011-06-02 10:22:23 +02:00
sylvaintv 3429a14c11 TOON: Fix crash #3308220
Bug #3308220: "Crashes"
Added clipping to magnifier effect
2011-06-01 23:49:19 +02:00
Max Horn a3c3264561 TOON: Use RandomSource instead of rand() 2011-05-17 12:28:39 +02:00
Max Horn 4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +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 f246382f4b TOON: fix main title crash - Bug #3291725 fixed
Bug #3291725: "TOON: Crash on the title screen"
2011-04-23 21:06:36 +02:00
Johannes Schickel 0342332be0 TOON: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:34:00 +02:00
sylvaintv a383fe452f TOON: Fix palette issues in alligators scene
Bug #3264989: "TOON: Palette problems"
2011-04-17 14:18:29 +02:00