aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.cpp
AgeCommit message (Collapse)Author
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
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-27Some minor clean-upSven Hesse
svn-id: r40166
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-31Shutting up a warning on systems where char is signed by defaultSven Hesse
svn-id: r34225
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-05-08Restructured sound codeSven Hesse
svn-id: r31937
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-08-03Lost in Time now (kind of) shows the title and the wobble-effect is drawnSven Hesse
svn-id: r28433
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-04-02"char *" -> "byte *" where appropriateSven Hesse
svn-id: r26369
2007-03-29- Properly implemented the ImdPlayerSven Hesse
- Some more clean-up svn-id: r26316
2007-03-20Major clean-up, including:Sven Hesse
- Cutting down the code-dup - Plucking leaks - Removing dead/unused code - Properly naming "word_2342F"-style variables and functions (removing the warnings alongside) - Fleshing out the "stubby" functions - Moving functions and variables to more appropriate/logical places - Re-ordering functions and variables - Re-structuring functions - Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up) - Formatting - Getting rid off the classes "Anim", "Pack" and "Timer", along with their files svn-id: r26252
2007-02-07- Fixed another freeze in WeenSven Hesse
- Changed cursor visibility handling a bit svn-id: r25407
2007-02-06Implemented vertical scrollingSven Hesse
svn-id: r25401