David Fioramonti
e2e0f9f528
TOON: Add playtime to saved game
...
Supports saved games made in the current version or the the last saved game version.
2018-08-18 14:21:28 +02:00
Adrian Frühwirth
4bf0eac94d
TOON: Enforce code formatting guidelines
2018-05-07 20:06:29 +02:00
Colin Snover
432fd522d2
ENGINES: Remove default1x scaler flag
...
This flag is removed for a few reasons:
* Engines universally set this flag to true for widths > 320,
which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
since its behaviour was almost completely undocumented and users
would need to figure out that they'd need an explicit non-default
scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
deciding how the backend may choose to render its virtual screen.
The choice of rendering behaviour belongs to the user, and the
backend, in that order.
A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Ben Castricum
ebaab44cd1
ALL: Leave out instructions for engine data issues
2016-12-08 13:38:56 +01:00
Ben Castricum
55512414dd
ALL: Change instructions for engine data file issues
...
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum
1cf3f50b74
ALL: Unify 'wrong version of engine data' message
2016-12-06 09:38:25 +01:00
Ben Castricum
eb7ffb1e2c
ALL: Unify 'corrupted engine data' message
2016-12-06 09:38:19 +01:00
Ben Castricum
e1ec91b69a
ALL: Unify 'missing engine data' message
2016-12-05 21:04:50 +01:00
Ben Castricum
38eb27212d
ALL: savegame => saved game
2016-11-29 20:15:13 +01:00
rootfather
74d2992177
TOON: Enable translation for some strings
2016-11-26 14:54:08 +01:00
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