aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.cpp
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
2013-04-15GOB: Change strcpy to strlcpy for safetySven Hesse
2012-07-30GOB: Add some PreGob and Once Upon A Time cursor functionsSven Hesse
2012-07-30GOB: Move drawString into FontSven Hesse
2012-07-30GOB: Don't crash when there's no _inter objectSven Hesse
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-02-02GOB: Remove the vidMode parameter from Video::initSurfDescSven Hesse
svn-id: r55727
2011-01-30GOB: Change SPRITES_COUNT into a constSven Hesse
svn-id: r55645
2011-01-26GOB: Check font index for kFontCountSven Hesse
svn-id: r55547
2011-01-22GOB: Fix some of the live-video glitchynessSven Hesse
svn-id: r55421
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-10-31GOB: Clean up class DataIOSven Hesse
Removing the need for class DataStream and that handle mess. svn-id: r53984
2010-10-15GOB: Remove strncpy0()Sven Hesse
Replacing it (and some strncpy + manual terminating) with Common::strlcpy() svn-id: r53490
2010-10-15GOB: Fix Code analysis warningsSven Hesse
See bug report #3087831 svn-id: r53464
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-20Fascination - (SylvainTV) Implement window tracesArnaud Boutonné
svn-id: r52238
2010-08-16Fascination - Suppress a debug warning, and replace several warnings by errors.Arnaud Boutonné
svn-id: r52133
2010-08-15Suppress some debugging warningsArnaud Boutonné
svn-id: r52104
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-04-28Only draw letters that actually fit on the surface. Should fix bug #2992268 ↵Sven Hesse
(Reproducible crash creating Intuition formula) svn-id: r48829
2010-02-13Fascination:Arnaud Boutonné
- Fix a potential bug in winDraw - Add a hack (and a todo) to work around the missing texts and windows in Amiga, Atari and early PC floppy version. svn-id: r48053
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-06Fascination - Use invalidateRect instead of dirtiedRect, fix several other ↵Arnaud Boutonné
little errors svn-id: r47947
2010-02-03Fascination - Cleanup: suppress some noisy debug output, suppress some ↵Arnaud Boutonné
obsolete and commented code. svn-id: r47851
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-27- Fixed openWin, saveWin, restoreWin, closeWin, winMove and activeWin, so ↵Arnaud Boutonné
that windows are AT LEAST working - Suppressed dirty traces. This has to be reviewed/rewritten. It looks better without. - Add initialization of two variables in one exceptional case in winDraw. (Thanks Cyx) svn-id: r47616
2009-12-08Fix some MSVC warnings (part of patch #2909981)Max Horn
svn-id: r46291
2009-10-28Style fixesSven Hesse
svn-id: r45468
2009-10-28Removing trailing spacesSven Hesse
svn-id: r45467
2009-10-07Fix an assert in activeWin(). Arnaud Boutonné
svn-id: r44746
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-07-24Caching the subtitle font and color, because some don't assign thoseSven Hesse
svn-id: r42706
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-07-05Renaming FontDesc::extraData to charWidthsSven Hesse
svn-id: r42149
2009-06-23Putting basic TOT handling into its own classSven Hesse
svn-id: r41821
2009-06-23Replacing the 2 offset functions by a generic Script::getFunctionOffset()Sven Hesse
svn-id: r41797
2009-06-23Added Script::getCenterOffset()Sven Hesse
svn-id: r41796
2009-06-22Implemented a call stackSven Hesse
svn-id: r41754
2009-06-22Encapsulating script file accessSven Hesse
svn-id: r41753
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