aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.h
AgeCommit message (Collapse)Author
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
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-06Implemented vertical scrollingSven Hesse
svn-id: r25401
2007-02-04- Plugged some leaks and fixed some memory errorsSven Hesse
- Fixed the cursor animation loops in Ween and Bargon - Added Draw_Bargon + Inter_Bargon - Implemented Bargon Attack's hardcoded intro parts svn-id: r25387
2007-01-29- Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)Sven Hesse
- Implemented wide surfaces + scrolling - Some clean-up svn-id: r25253
2006-11-20Changed the way sprites-freeing is handled, now the menu sprites and window ↵Sven Hesse
decorations are drawn svn-id: r24752
2006-11-19Implemented (currently still endian-unsafe) save/loadSven Hesse
svn-id: r24745
2006-07-09Instead of drawing the mouse cursor as a sprite, let the backend handle itSven Hesse
svn-id: r23464
2006-07-08- Fixed a few mistakes that added up to look correct, fixing bargon's cursorSven Hesse
- Updated cursor drawing in general svn-id: r23429
2006-06-10More stub-filling + small clean-upSven Hesse
svn-id: r23012
2006-05-01- More differences in Draw_v2::spriteOperation()Sven Hesse
- GOB2 handles _frontSurface/_backSurface a bit differently, this fixes (most of) the drawing glitches in the intro - Added using a fallback when the user's game version doesn't have the requested language - off_2E51B et al. stubs, I think it has something to do with the menu svn-id: r22254
2006-04-18- I misunderstood Draw::initBigSprite(); fixedSven Hesse
- Changed Draw::spriteOperation() for blitting from/to/between and fillrecting to big sprites - Enabled drawing of text svn-id: r22001
2006-04-13- More stubs, the intro now works completely (with extreme graphicalSven Hesse
glitches and without sound in the floppy version), the title screen is shown afterwards - Added skipping of the floppy version's copy protection screen, since the CD version doesn't show it either svn-id: r21845
2006-02-16Updating more opcodes for Gob2Sven Hesse
svn-id: r20731
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582