aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
AgeCommit message (Collapse)Author
2012-07-30GOB: Add some PreGob and Once Upon A Time cursor functionsSven Hesse
2012-07-30GOB: Move drawString into FontSven Hesse
2012-06-18GOB: Add a workaround for the wrong German animal names in Little RedSven Hesse
The DOS, Amiga and Atari version of Little Red come with a small screen, accessible through the main menu, that lets children read and listen to animal names in 5 languages: French, German, English, Spanish and Italian. Unfortunately, the German names are partially wrong. This is especially tragic because this is a game for small children and they're supposed to learn something here. So I deem fixing this a very good idea. Just to be sure, someone should probably look over the French, Spanish and Italian words too.
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-05-29GOB: Fix v7 cursors drawn by the scriptsSven Hesse
When the cursor name is "", then that cursor is drawn by the scripts instead of loaded from cursor32.dll. That cursor does not have its own palette then. Fixes the cursors in the "paint" game in Adibou2.
2012-05-29GOB: Hook up the PE cursors to v7 loadCursorSven Hesse
Addy Junior / Adibou2 now shows proper cursors. Thanks to clone2727 for the constant nagging. :P
2011-11-03GOB: Fix analyser warnings regarding sprintf() parameter signnessSven Hesse
2011-09-14GOB: Init "Diving" cursorSven Hesse
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-04GOB: Don't overwrite _destSpriteX after PRINTTEXTSven Hesse
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-02-02GOB: Remove the vidMode parameter from Video::initSurfDescSven Hesse
svn-id: r55727
2011-01-31GOB: Fix text end positons for non-monospaced fontsSven Hesse
Fixes Adibou's recipices. svn-id: r55682
2011-01-29GOB: Add GobEngine::isCurrentTot()Sven Hesse
svn-id: r55630
2011-01-29GOB: Change _curTotFile and _totToLoad into Common::StringSven Hesse
svn-id: r55629
2011-01-26GOB: Use a fake cursor for Addy for now :PSven Hesse
svn-id: r55550
2011-01-26GOB: Check font index for kFontCountSven Hesse
svn-id: r55547
2011-01-16GOB: Adding a proper shade methodSven Hesse
svn-id: r55273
2011-01-16GOB: Use the correct font and shade color in Urban RunnerSven Hesse
svn-id: r55272
2010-10-15GOB: Remove the now useless helper.hSven Hesse
svn-id: r53491
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-09-30GOB: Fix 16bit cursorsSven Hesse
svn-id: r52952
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-17Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV ↵Arnaud Boutonné
for identifying the problem svn-id: r52135
2010-08-08GOB: Add constants for different surfaces/spritesSven Hesse
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-03-06Gob3CD - Move subtitle check to initializationArnaud Boutonné
svn-id: r48167
2010-03-06Gob3 CD - some texts are skipped in the CD version because they are ↵Arnaud Boutonné
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
2009-09-18Fixed warning about missing newlineAndre Heider
svn-id: r44191
2009-09-15- Implement _pattern variableArnaud Boutonné
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern) svn-id: r44103
2009-08-08Changed the scroll-handling to be more like the original. This fixes bug ↵Sven Hesse
#2832362 ("GOB3: Scrolling locked after cutscene") svn-id: r43147
2009-07-28More alignment-related changesSven Hesse
svn-id: r42858
2009-07-25Moved the decision whether subtitles should be displayed, so that the broken ↵Sven Hesse
subtitles in The Last Dynasty aren't shown svn-id: r42767
2009-07-24Caching the subtitle font and color, because some don't assign thoseSven Hesse
svn-id: r42706
2009-07-24Adding subtitle support to WoodruffSven Hesse
svn-id: r42705
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-07-05Renaming FontDesc::extraData to charWidthsSven Hesse
svn-id: r42149
2009-07-05Moving the "Collision" stuff to Hotspots in hotspots.cpp/.hSven Hesse
svn-id: r42123
2009-06-24Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own ↵Sven Hesse
class svn-id: r41839
2009-06-23Added Script methods to get the TOT major and minor versionSven Hesse
svn-id: r41788
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
2009-06-13Warn when a sprite operation is to be performed on a nonexistent surface ↵Sven Hesse
instead of crashing svn-id: r41499
2009-06-13Making TotTextData's item's offsets unsigned. This could fix the crash in ↵Sven Hesse
the Polish Woodruff version (bug #2804962) svn-id: r41497
2009-06-06GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to ↵Max Horn
SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references svn-id: r41299
2009-06-04gob : _spriteBottom incorrectly saved and restored in Draw_v2::spriteOperationArnaud Boutonné
svn-id: r41160
2009-05-21Splitting a few helper functions out of gob.hSven Hesse
svn-id: r40765
2009-04-27Some minor clean-upSven Hesse
svn-id: r40166
2008-12-12Text now works in Urban RunnerSven Hesse
svn-id: r35311
2008-12-12Working (minus text) menu in Urban RunnerSven Hesse
svn-id: r35310
2008-12-12Working cursor in Urban RunnerSven Hesse
svn-id: r35309
2008-12-11Changing the Urban Runner sprite drawer to work more correctly. It does use ↵Sven Hesse
YUV data, but I can use the ditherer there svn-id: r35308