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
Eugene Sandulenko
913e15db58
Merge pull request #56 from zeldin/toon-path-dynamic
...
TOON: Grow size of path finding heap dynamically
2011-08-14 05:23:01 -07:00
Christoph Mallon
e35b4f20c1
GRAPHICS: Simplify the interface of Graphics::loadThumbnail().
...
Now it returns the Surface, so the caller does not need to create one and pass it.
2011-08-07 15:19:09 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Marcus Comstedt
a7e49f2945
TOON: Grow size of path finding heap dynamically
2011-07-21 15:00:04 +02:00
Marcus Comstedt
e4427fd589
TOON: Fix off-by-one use of path heap array
...
The first element of the _data array in PathFindingHeap was never
used, fix that.
2011-07-21 13:09:18 +02:00
D G Turner
d035bcae82
TOON: Cleanup and Memory Usage Reduction fixes in PathFinding Heap.
...
This halves the size of the pathifnding heap, but adds warnings if push()
is attempted on a full heap.
2011-07-20 23:05:24 +01: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
sylvaintv
53985000db
TOON: Fix bad character visibility after restore
...
Bug #3307195 : "TOON: Two instances of Flux Wildly"
2011-07-09 01:50:38 +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
eriktorbjorn
e8c704a025
TOON: Fix the bottom pixels of text being cut off
...
It's a dirty rect problem. The computeSize() function needs to
take into consideration that the glyph may be offset, so it's not
enough to just look at its size. For now, I'm assuming that this
is only a problem with characters that stick out below the base
line, so that's all this patch tries to fix. Let's see if that's
enough.
2011-06-26 23:13:49 +02:00
Julien
367605d774
TSAGE: Allocate resource decoding buffer on the heap
2011-06-23 15:11:37 +08: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
01f806c2db
DETECTOR: Treat file based fallback like any other fallback method
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598
DETECTOR: Merge ADParams into AdvancedMetaEngine
2011-06-14 18:17:01 +02:00
Max Horn
95bfa81168
TOON: Reduce header dependencies
2011-06-10 22:15:47 +02:00
Max Horn
5e90393697
TOON: Switch to alternate AdvancedMetaEngine, avoid ADParams
2011-06-10 22:15:45 +02:00
Max Horn
4827cc914a
ENGINES: Change incorrect use of 'target' to 'gameid'
2011-06-10 22:15:40 +02:00
Alyssa Milburn
7c4f772e7e
TOON: Tidy up decodeADPCM.
2011-06-06 10:55:36 +02:00
Max Horn
477d6233c3
ENGINES: Change 2nd param of Engine::saveGameState to Common::String
2011-06-02 18:31:59 +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
185536e4b1
TOON: Remove unused variable
2011-05-25 23:12:53 +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
Thierry Crozat
3c59e37035
ENGINES: Unify engine names
...
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01: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
Bluddy
781e178df3
TOON: Reduced fragmentation by using a fixed value for pathfinding allocation
...
Toon makes some rather big allocations for pathfinding, alternating between 3MB and 6MB). In small devices, this creates really bad fragmentation which can cause crashes. I set the size at a fixed 6MB.
2011-04-28 18:02:07 +03: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
1fd034f326
TOON: Fix Flux staying outside of the dressing room
2011-04-17 15:46:55 +02:00
sylvaintv
f809e94dd2
TOON: Fix dirty rect issues with fonts
2011-04-17 15:27:18 +02:00
sylvaintv
a383fe452f
TOON: Fix palette issues in alligators scene
...
Bug #3264989 : "TOON: Palette problems"
2011-04-17 14:18:29 +02:00
Max Horn
169512852e
TOON: Use shared ADPCM data tables
2011-04-13 12:48:58 +02:00
Max Horn
79f514a397
TOON: Make ADPCM tables const
2011-04-13 11:49:24 +02:00