aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.h
AgeCommit message (Collapse)Author
2014-03-16GOB: Remove the last remnants of Draw::_vgaSmallPaletteSven Hesse
Draw::_vgaSmallPalette was supposed to be a 16-color VGA palette / EGA palette, but we've been using the first 16 entries of Draw::_vgaPalette for that for ages now. The only parts where we didn't were codepaths never actually taken in the gob games, so for the sake of clarity (and fixing Coverity issues), this commit removes those as well. Fixes Coverity issues 1192648 and 1192649.
2014-02-18GOB: Make GPL headers consistent in themselves.Johannes Schickel
2012-07-30GOB: Move drawString into FontSven Hesse
2012-06-22GOB: _renderFlags & 0x40 means the we should draw borders around hotspotsSven Hesse
Probably a debug-only flag
2012-06-22GOB: _renderFlags & 0x80 means "Do we have windows?"Sven 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-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-09-14GOB: Init "Diving" cursorSven Hesse
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-02GOB: Rename Draw::kSpritesCount to Draw::kSpriteCountSven Hesse
svn-id: r55729
2011-01-30GOB: Change SPRITES_COUNT into a constSven Hesse
svn-id: r55645
2011-01-26GOB: Increase kFontCount for AddySven Hesse
svn-id: r55548
2011-01-26GOB: Check font index for kFontCountSven Hesse
svn-id: r55547
2011-01-20GOB: Urban: Fix missing visuals at Cemetary/LabSven Hesse
Urban Runner decouples _frontSurface and _spritesArray[kFrontSurface] at that screen... *sigh* svn-id: r55346
2011-01-16GOB: Add a method to get a true palette colorSven Hesse
svn-id: r55271
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-08-21GOB: Clean up of Fascination codeArnaud Boutonné
Move Fascination specific function to appropriate classes, plus some style modifications svn-id: r52267
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-05-17Enforce conversion formatting on pointer casts in the DEV code.Johannes Schickel
svn-id: r49068
2010-02-08Fascination: - Suppress the recently added oFascin_keyFunc, replace it with ↵Arnaud Boutonné
a check in o1_keyFunc. This fixes the animation speed regression - Rename Amiga-specific protracker functions - Rewrite winDecomp. svn-id: r48011
2010-02-03Minor style-related changesSven Hesse
svn-id: r47839
2010-02-03Fascination - Fix screen transition Arnaud Boutonné
svn-id: r47830
2010-02-02Fascination - Add a window specific function, modify checkmouse() function ↵Arnaud Boutonné
in order to use it (without breaking the other games). Windows are no longer "transparent" svn-id: r47828
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-10-01Fix a regression in the first part of the intro (gitches when the paper and ↵Arnaud Boutonné
the rat are moving). svn-id: r44518
2009-09-29Playtoons - implement some functions related to hotspot textsArnaud Boutonné
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions svn-id: r44472
2009-09-15- Implement _pattern variableArnaud Boutonné
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern) svn-id: r44103
2009-09-04Gob/Adi2 - In playtoons and later, there are 50 more sprite pointers Arnaud Boutonné
svn-id: r43949
2009-08-24Playtoons uses a variable space that exceeds 32767 bytes. Changing a few ↵Sven Hesse
variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop) svn-id: r43713
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-06-06GOB: Turned _spritesArray into a Common::Array (of fixed size) to detect ↵Max Horn
out-of-bounds access to it (since access is controlled by scripts, this could (and does :/) easily happen. Also removed an obsolete swap() method, and fixed one case where _spritesArray was indeed accessed out of bounds svn-id: r41305
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-04-29Gob- Add a fascination-specific (and yet unknown) renderflag vaueArnaud Boutonné
svn-id: r40206
2009-04-21Patch #2725859 : Added some MD5 to the gob engine, modified the way the ↵Arnaud Boutonné
first STK and TOT is declared, added inter and draw skeleton for Fascination svn-id: r40059
2008-12-14Plugging leaksSven Hesse
svn-id: r35355
2008-12-04Changing the GobEngine to use its dirty rects also for OSystem-copies, ↵Sven Hesse
instead of relying on kFeatureAutoComputeDirtyRects svn-id: r35239
2008-08-30Added some The Last Dynasty stubsSven Hesse
svn-id: r34217
2008-05-22Reverting my last commit, as it breaks Gob3 (and probably elsewhere, too)Sven Hesse
svn-id: r32214
2008-05-22Fixing the flickering when changing from object animations to videosSven Hesse
svn-id: r32213
2008-03-04Added a workaround for the swapped dialog lines when talking to the mayor in ↵Sven Hesse
some versions Gob2 svn-id: r31042
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-08-03Lost in Time now (kind of) shows the title and the wobble-effect is drawnSven Hesse
svn-id: r28433
2007-07-26Corrected Woodruff's hotspot text positions.Sven Hesse
svn-id: r28208
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-01Made the collisionAreas' coordinates unsigned. This should fix bug #1706988Sven Hesse
svn-id: r26715
2007-04-25Removed some more superfluous semicolons in the gob engineSven Hesse
svn-id: r26595
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594