aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
AgeCommit message (Collapse)Author
2007-08-11Added new clone method to Palette object.Nicola Mettifogo
svn-id: r28523
2007-08-09Encapsulated palette stuff into a new Palette object and got rid of a lot of ↵Nicola Mettifogo
#defines. This should ease handling of palettes in different versions of the engine. svn-id: r28509
2007-08-08Removed some duplicated code.Nicola Mettifogo
svn-id: r28491
2007-08-07Turned StaticCnv struct into stock Graphics::Surface, and changed all ↵Nicola Mettifogo
relevant code. svn-id: r28484
2007-08-07MaskBuffer and PathBuffer are now correctly freed before they are ↵Nicola Mettifogo
deallocated, and so is background Surface. svn-id: r28483
2007-08-07Cleanup.Nicola Mettifogo
svn-id: r28482
2007-08-07Location comments are now displayed by a single Gfx function.Nicola Mettifogo
svn-id: r28481
2007-08-06- Renamed BitBuffer to MaskBufferNicola Mettifogo
- Added PathBuffer to handle 1-bit buffers for walkable areas - Changed relevant walk code to use PathBuffer objects for querying screen dimensions. svn-id: r28478
2007-08-06Made sure mask buffer is zeroed to prevent bizarre artifacts.Nicola Mettifogo
svn-id: r28477
2007-08-06Made disk code directly create background Surface from resources.Nicola Mettifogo
svn-id: r28475
2007-08-06Made disk code directly create mask BitBuffer from resources.Nicola Mettifogo
svn-id: r28473
2007-08-06Changed graphics mask to a more generic BitBuffer object.Nicola Mettifogo
svn-id: r28471
2007-08-06Changed internal graphics buffers to use Surface instead of vanilla arrays. ↵Nicola Mettifogo
ScummVM's stock surfaces are used for the moment. svn-id: r28469
2007-08-04Added routine to restore door backgrounds: this means that backgrounds for ↵Nicola Mettifogo
door and get zones are now handled by two different sets of routines. This fixes bugs #1765191 and #1762643 (it was actually the same bug). svn-id: r28449
2007-07-31Changed code to use the new fadePalette function, thus removing ↵Nicola Mettifogo
fadeInPalette and some custom fade code in _c_endComment. svn-id: r28368
2007-07-31Generalized fadePalette to support custom target palette.Nicola Mettifogo
svn-id: r28367
2007-07-31Renamed palette functions.Nicola Mettifogo
svn-id: r28365
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-07-09Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.Nicola Mettifogo
svn-id: r27996
2007-07-02Removed special displayBalloonString routine.Nicola Mettifogo
svn-id: r27850
2007-07-01Introduced new flatBlitCnv to reduce code duplication.Nicola Mettifogo
svn-id: r27833
2007-07-01Re-added __attribute__(packed)Max Horn
svn-id: r27830
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-06Fixed sketch glitches in the introduction.Nicola Mettifogo
svn-id: r26765
2007-05-06Some cheap cleanup.Nicola Mettifogo
svn-id: r26757
2007-04-23Fonts have been taking care of them being proportional for some time now, so ↵Nicola Mettifogo
it's time to remove old flags. svn-id: r26585
2007-04-23Some fixes for font management:Nicola Mettifogo
- new Amiga topaz font - labels can be seen on the Amiga demo - colors are now working svn-id: r26580
2007-04-21- Implemented Amiga halfbrite mode in palette code, though usage is limited ↵Nicola Mettifogo
to displayItemComment() for the moment. - Some changes to palette routines to make them fit with the new scheme. svn-id: r26553
2007-04-16Now handling fonts with brand-new Font hierarchy. Amiga font have been ↵Nicola Mettifogo
implemented for dialogues/descriptions, but not for labels yet. svn-id: r26530
2007-04-15- Fonts are now preloaded at start.Nicola Mettifogo
- Replaced font string names with enums. - Some slight simplification to Disk. svn-id: r26518
2007-04-07cleanupNicola Mettifogo
svn-id: r26409
2007-04-07Reduced dependency between project files, and prepared defs.h for deletion ↵Nicola Mettifogo
as soon as List<>'s usage is implemented. svn-id: r26400
2007-03-29- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()Nicola Mettifogo
- enforced use of getFramePtr instead of Cnv::_array member svn-id: r26317
2007-03-28Overhaul of palette management to bring it back to its original form. Gfx ↵Nicola Mettifogo
palette code has been updated, and _c_endComment (callable from scripts) has been implemented. As a by-product, palette cycling now finally works! svn-id: r26314
2007-03-18converted input and labels to Common::PointNicola Mettifogo
svn-id: r26214
2007-03-18Made loadFont return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26203
2007-03-18- made loadPointer return a new StaticCnv instead of accepting a parameter. Nicola Mettifogo
- adjusted Gfx code handling mouse pointers. svn-id: r26201
2007-03-18removed unused parameter from Gfx::flatBlitCnvNicola Mettifogo
svn-id: r26195
2007-03-16removed a leftover extern statement causing link errors on some platformsNicola Mettifogo
svn-id: r26146
2007-03-15moved remaining background related functions to disk.cpp, and changed Gfx ↵Nicola Mettifogo
accordingly svn-id: r26145
2007-03-14removed explicit references to kMask0 since there is only 1 mask availableNicola Mettifogo
svn-id: r26140
2007-03-14implemented clipping using Common::Rect::clipNicola Mettifogo
svn-id: r26137
2007-03-13enforced use of Common::Rect on all graphic routinesNicola Mettifogo
svn-id: r26128
2007-03-13removed special case of Graphics::copyRect in favor of more general codeNicola Mettifogo
svn-id: r26126
2007-03-13Moved inventory surface management into inventory.cpp, thus removing ↵Nicola Mettifogo
Graphics::kBit3. Some duplicated code now exists in graphics.cpp and inventory.cpp. svn-id: r26123
2007-03-13made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uplesNicola Mettifogo
svn-id: r26121
2007-03-12moved background path buffer management into walk.cppNicola Mettifogo
svn-id: r26117
2007-03-12removed useless routines (maybe leftovers from the amiga conversion)Nicola Mettifogo
svn-id: r26116
2007-03-12renamed Graphics class to Gfx and Parallaction::_graphics to ↵Nicola Mettifogo
Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics svn-id: r26111
2007-03-12The only uses for StaticCnv::_data2 were by Get and Door zones, so a new ↵Nicola Mettifogo
field has been added to those structure and _data2 has been deleted. Some graphic routines has been renamed to better reflect this change, too. svn-id: r26107