Sven Hesse
c66afb213b
GOB: Fix analyser warnings regarding sprintf() parameter signness
2011-11-03 17:01:54 +01:00
Sven Hesse
ac3593c631
GOB: Init "Diving" cursor
2011-09-14 18:54:28 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Sven Hesse
a1c339ea4f
GOB: Don't overwrite _destSpriteX after PRINTTEXT
...
Don't overwrite _destSpriteX after PRINTTEXT with a value that's only
appropriate for monospaced fonts; support for non-monospaced fonts
has been introduced with Woodruff.
This should fix bug #3295889 .
2011-05-04 02:34:37 +02:00
Sven Hesse
076b9c9e53
GOB: Remove the vidMode parameter from Video::initSurfDesc
...
svn-id: r55727
2011-02-02 16:48:04 +00:00
Sven Hesse
a8d62921c7
GOB: Fix text end positons for non-monospaced fonts
...
Fixes Adibou's recipices.
svn-id: r55682
2011-01-31 13:29:19 +00:00
Sven Hesse
ce3d4b5d1b
GOB: Add GobEngine::isCurrentTot()
...
svn-id: r55630
2011-01-29 22:45:51 +00:00
Sven Hesse
0c3a33c354
GOB: Change _curTotFile and _totToLoad into Common::String
...
svn-id: r55629
2011-01-29 22:45:15 +00:00
Sven Hesse
d71125dc21
GOB: Use a fake cursor for Addy for now :P
...
svn-id: r55550
2011-01-26 19:04:24 +00:00
Sven Hesse
a2afc0f4d1
GOB: Check font index for kFontCount
...
svn-id: r55547
2011-01-26 19:03:13 +00:00
Sven Hesse
e6d04b8ad6
GOB: Adding a proper shade method
...
svn-id: r55273
2011-01-16 22:29:49 +00:00
Sven Hesse
58228919fc
GOB: Use the correct font and shade color in Urban Runner
...
svn-id: r55272
2011-01-16 22:29:18 +00:00
Sven Hesse
835455798f
GOB: Remove the now useless helper.h
...
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse
5c48c3fd2b
GOB: Remove strncpy0()
...
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()
svn-id: r53490
2010-10-15 13:54:23 +00:00
Sven Hesse
947540c089
GOB: Fix 16bit cursors
...
svn-id: r52952
2010-09-30 13:04:43 +00:00
Sven Hesse
51fd528fe5
GOB: Change all drawing to use class Surface
...
svn-id: r52947
2010-09-30 13:02:16 +00:00
Arnaud Boutonné
8ed0a70b06
Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV for identifying the problem
...
svn-id: r52135
2010-08-17 07:41:15 +00:00
Sven Hesse
4415953393
GOB: Add constants for different surfaces/sprites
...
Add
static const int kFrontSurface = 20;
static const int kBackSurface = 21;
static const int kAnimSurface = 22;
static const int kCursorSurface = 23;
static const int kCaptureSurface = 30;
to class Draw and substitute the raw numbers in other files with
those aliases, for readability.
svn-id: r51852
2010-08-08 00:35:18 +00:00
Arnaud Boutonné
e011df1f68
Gob3CD - Move subtitle check to initialization
...
svn-id: r48167
2010-03-06 09:37:03 +00:00
Arnaud Boutonné
e869b5c7e6
Gob3 CD - some texts are skipped in the CD version because they are considered as subtitles. Even if this behavior is also found in the original, it's incorrect. This fixes those texts (see newspaper after death level).
...
svn-id: r48166
2010-03-06 00:35:27 +00:00
Andre Heider
a81ae427a5
Fixed warning about missing newline
...
svn-id: r44191
2009-09-18 21:34:34 +00:00
Arnaud Boutonné
6a9cc3b1e0
- Implement _pattern variable
...
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)
svn-id: r44103
2009-09-15 12:15:22 +00:00
Sven Hesse
256a27350a
Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
...
svn-id: r43147
2009-08-08 21:43:07 +00:00
Sven Hesse
550d9cf39d
More alignment-related changes
...
svn-id: r42858
2009-07-28 16:28:32 +00:00
Sven Hesse
b956c707f4
Moved the decision whether subtitles should be displayed, so that the broken subtitles in The Last Dynasty aren't shown
...
svn-id: r42767
2009-07-25 16:08:31 +00:00
Sven Hesse
02ca620d7c
Caching the subtitle font and color, because some don't assign those
...
svn-id: r42706
2009-07-24 21:31:58 +00:00
Sven Hesse
adc537161a
Adding subtitle support to Woodruff
...
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
3823ae285f
Giving Font its own real class
...
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
d6c99ae861
Renaming FontDesc::extraData to charWidths
...
svn-id: r42149
2009-07-05 19:57:55 +00:00
Sven Hesse
18550c1314
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
...
svn-id: r42123
2009-07-05 11:27:54 +00:00
Sven Hesse
d03dc08b64
Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
...
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
f6118f7a85
Added Script methods to get the TOT major and minor version
...
svn-id: r41788
2009-06-23 01:19:03 +00:00
Sven Hesse
962fc19b57
Encapsulating script file access
...
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse
acb0de6580
Warn when a sprite operation is to be performed on a nonexistent surface instead of crashing
...
svn-id: r41499
2009-06-13 22:35:22 +00:00
Sven Hesse
ccb92ebfee
Making TotTextData's item's offsets unsigned. This could fix the crash in the Polish Woodruff version (bug #2804962 )
...
svn-id: r41497
2009-06-13 22:10:55 +00:00
Max Horn
0989bb0b90
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
...
svn-id: r41299
2009-06-06 20:03:13 +00:00
Arnaud Boutonné
85950d6f6b
gob : _spriteBottom incorrectly saved and restored in Draw_v2::spriteOperation
...
svn-id: r41160
2009-06-04 09:48:56 +00:00
Sven Hesse
10b1b28610
Splitting a few helper functions out of gob.h
...
svn-id: r40765
2009-05-21 17:12:33 +00:00
Sven Hesse
c88b077fcc
Some minor clean-up
...
svn-id: r40166
2009-04-27 18:56:28 +00:00
Sven Hesse
fa07cfe7c6
Text now works in Urban Runner
...
svn-id: r35311
2008-12-12 04:31:01 +00:00
Sven Hesse
4ec3826080
Working (minus text) menu in Urban Runner
...
svn-id: r35310
2008-12-12 02:44:34 +00:00
Sven Hesse
19146fe032
Working cursor in Urban Runner
...
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse
c65886a3ea
Changing the Urban Runner sprite drawer to work more correctly. It does use YUV data, but I can use the ditherer there
...
svn-id: r35308
2008-12-11 21:57:47 +00:00
Sven Hesse
5d9c8b7c47
Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
...
svn-id: r35239
2008-12-04 18:38:55 +00:00
Sven Hesse
8da68b2964
Script variables are now always stored in the game version's native endianess.
...
This should make Woodruff playable on big-endian systems.
svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
4e785a9e73
Changing the split stuff again, fixing several scrolling and hotspot-text related issues
...
svn-id: r32161
2008-05-17 23:55:04 +00:00
Sven Hesse
cfd1fa6973
Some fixes for vertical scrolling in Woodruff
...
svn-id: r32095
2008-05-13 23:22:31 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
16abd33aea
Mouse hotspots are now properly evaluated when the mouse is set to a position via the scripts.
...
svn-id: r31911
2008-05-06 22:18:12 +00:00