Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko
e629de317f
TOON: Fix logical branch error. CID 1004062
2013-04-29 23:23:45 +03:00
Strangerke
34ded75f40
TOON: Fix Uninitialized scalar variable CID 1003172, 1003173, 1003175, 1003176
2013-04-27 11:19:05 +02:00
Willem Jan Palenstijn
1841d18497
TOON: Fix memory leak
2013-04-25 23:22:55 +02:00
Max Horn
cdfd5f85c8
ENGINES: Silence clang warning about unused private member _vm
...
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-18 23:50:19 +02:00
Johannes Schickel
e474f695df
TOON: Fix return value of saveGameState/loadGameState.
...
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.
2013-01-13 17:56:55 +01: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
Matthew Hoops
857b92f8ff
Merge pull request #268 from clone2727/video-rewrite
...
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Matthew Hoops
fb35c7f46f
VIDEO: Remove setSystemPalette()
2012-08-16 13:30:32 -04:00
Johannes Schickel
e8fd51e56b
Merge pull request #252 from DrMcCoy/detector_public_reportUnknown
...
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-29 16:19:00 -07:00
Johannes Schickel
3351707b2d
TOON: Fix delete[] formatting.
2012-07-25 21:11:22 +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
Johannes Schickel
b9ac34272d
TOON: Slight cleanup in querySaveMetaInfos.
2012-07-03 18:39:50 +02:00
D G Turner
100ff974cb
TOON: Correct mismatched method definition against prototype.
...
Fixes bug #3539018 - "Toon: AmigaOS4 Compiler error in anim.cpp"
2012-06-29 22:13:19 +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
Sven Hesse
2c760cb15e
DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes
...
Since we need a FSNode parent for Mac resource forks, we need to change
signature of detectGameFilebased(), too.
2012-06-27 05:14:18 +02:00
sylvaintv
20a781c020
TOON: Fix bug #3533291 - Crash in Russian Version
...
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-25 00:49:33 +02:00
Johannes Schickel
58bf8090cc
TOON: Get rid of casts on OSystem::copyRectToScreen calls.
2012-06-16 02:39:00 +02:00
D G Turner
c668431522
TOON: Simplify code in Animation::drawFrameWithMaskAndScale().
2012-06-15 12:11:01 +01:00
D G Turner
acaf8f7623
TOON: Fix two latent off-by-one errors in Character Class.
...
These were exposed by assertions from Common::Array usage.
2012-06-14 21:02:44 +01:00
D G Turner
57d34d2576
Merge branch 'toon-RAM-reduction'
2012-06-14 17:45:30 +01:00
D G Turner
4aa0ec7fc4
TOON: Change Pathfinding weight buffers to uint16.
...
This should result in a significant saving in RAM usage.
Have added warning outputs if the weights exceed the maximum limit.
2012-06-14 17:23:01 +01:00
D G Turner
d2eab05e7d
TOON: Replace Character _currentPath static buffers with Common::Array.
2012-06-14 13:38:45 +01:00
D G Turner
87eb651886
TOON: Migrate Character API x,y coordinates and subclasses to int16.
...
This harmonises the usage with Common::Point.
2012-06-14 00:19:34 +01:00
D G Turner
fcfff28c5f
TOON: Minor type fixes and cleanups in Pathfinding class.
2012-06-10 21:12:01 +01:00
D G Turner
1383258000
TOON: Migrate Pathfinding Path Buffers to Common::Point.
...
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-10 20:45:37 +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
2d0cedab1f
TOON: Minor cleanups in Pathfinding class. No functional change.
2012-06-09 13:43:42 +01:00
D G Turner
fae9f4d5ba
TOON: Replace Pathfinding retPath static buffers with Common::Array.
2012-06-09 12:33:30 +01:00
D G Turner
a693603e1e
TOON: Replace Pathfinding _tempPath static buffers with Common::Array.
2012-06-09 11:58:26 +01:00
D G Turner
380d3f000a
TOON: Further cleanup to Pathfinding Class.
...
Removal of some unused variables, logical reordering of functions and
minor changes to reduce minor duplication. No functional changes.
2012-06-07 14:41:04 +01: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
D G Turner
8deb8b3d42
TOON: Minor cleanup and formatting fixes to Pathfinding class.
2012-06-07 12:33:13 +01:00
D G Turner
dd558510dc
TOON: Move PathFindingHeap API to use int16 for x,y coordinates.
...
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-06-07 08:39:38 +01:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
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-15 10:07:10 -06: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
sylvaintv
8b39b0b0fa
TOON: Add russian version detection
2012-02-12 23:16:54 +01:00
D G Turner
c619b8d981
TOON: Replace usage of 'goto'.
2011-12-08 03:10:17 +00:00
Christoph Mallon
a78b2d777d
JANITORIAL: Remove extra semicolons.
2011-11-27 12:54:22 +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
bab4b6f729
LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)
2011-11-16 22:38:58 +01:00
Strangerke
364bc27225
TOON: After discussion with clone2727 and eriktorbjorn, remove GUIO_NOASPECT from Toonstruck
2011-10-24 07:05:26 +02:00
Strangerke
51ed1bc221
LAUNCHER: Add GUIO_NOASPECT to Toonstruck
2011-10-23 21:51:25 +02:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +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