aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
AgeCommit message (Collapse)Author
2008-01-09Replaced the remaining old string code with the new label code. All the text ↵Nicola Mettifogo
is now drawn in the framebuffer instead of being blitted onto the internal game screen buffer. svn-id: r30360
2008-01-08Restructured label handling and moved all related code to Gfx.Nicola Mettifogo
svn-id: r30345
2008-01-08Added a proper _name member to Zone, instead of using the label text.Nicola Mettifogo
svn-id: r30343
2008-01-06Removed now useless functions.Nicola Mettifogo
svn-id: r30314
2008-01-06Indent with tabs instead of spaces.Torbjörn Andersson
svn-id: r30312
2008-01-06Moved balloons management into Gfx, which is now responsible for positioning ↵Nicola Mettifogo
and drawing. All balloons are now drawn on a different layer than the game graphics, thus simplifying screen management. Dialogue code has undergone a major revision, and the superior implementation of answer selection in the Amiga version is now used in place of the poor PC one. Other bits (where some changes had already been introduced) have been updated, too. svn-id: r30311
2008-01-04Fix for bug# 1729307. Fonts are now displayed with shadows when needed on ↵Nicola Mettifogo
Amiga. The correct font for intro screen has also been selected. svn-id: r30221
2007-12-15Added halfbrite effect to Nippon Safes Amiga. Implementation is not ↵Nicola Mettifogo
complete, since the spotlight during Donna's dance is not moving yet. svn-id: r29863
2007-11-22* added adapter from Graphics::Surface to FramesNicola Mettifogo
* changed all Disk routines to return Frames* instead of Graphics::Surface* * changed displayItemComment to use new gfx routines * merged code for Examine zones into displayComment svn-id: r29615
2007-11-22* added (incomplete) explicit state machine handling in engine class (see ↵Nicola Mettifogo
_inputMode) * added service routines to Gfx * changed displayCharacterComment to work with the new state machine and gfx routines svn-id: r29613
2007-11-21* moved label drawing into Gfx, to be drawn directly in the framebufferNicola Mettifogo
* changed low level blitting function to accept Graphics::Surface to ease development * temporarily disabled labels/subtitles in BRA svn-id: r29593
2007-11-19* made engine use Inventory and InventoryRendererNicola Mettifogo
* inventory drawing is now performed directly in the framebuffer instead of using the game screen buffer * specialized jobs to handle inventory drawing have been deleted as they had become obsolete svn-id: r29571
2007-11-01Added color-inversion effect in character selection screen. The effect ↵Nicola Mettifogo
doesn't exactly work like the original yet (Amiga only). svn-id: r29372
2007-10-15Cut down screen updates when palette is not animated: should lead to ↵Nicola Mettifogo
performance increase on systems with low resources svn-id: r29225
2007-10-13Decoupled password request from actual rendering of the dialogue screen, ↵Nicola Mettifogo
thus making it possible to fix bug #1765300. This bug was present in the original game, causing garbled text to appear when asking for password (only in the English version). svn-id: r29213
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-02Simplified global label management and added subtitles for BRA.Nicola Mettifogo
svn-id: r28828
2007-09-02Jobs are now members of the engine and are handled with a table, instead of ↵Nicola Mettifogo
being external functions. svn-id: r28824
2007-08-25Added an abstract base class for representing multiple-frames for ↵Nicola Mettifogo
animations. Changed user code to rely on the new interface. Cnv has been turned into an implementation of the new interface, and it is now known as a concrete class only to Disk and Font code for Nippon Safes. svn-id: r28734
2007-08-12Oops. Buffers are now initialized properly.Nicola Mettifogo
svn-id: r28559
2007-08-12Change BRA to default to 1x scaler.Travis Howell
svn-id: r28558
2007-08-12Moved intro hack routines to Parallaction_ns callables, where they belonged ↵Nicola Mettifogo
from the beginning. svn-id: r28541
2007-08-12Even better large background support. Now internal buffers aren't ↵Nicola Mettifogo
reallocated if not background size stays the same across location switches. svn-id: r28540
2007-08-12Better support for large backgrounds.Nicola Mettifogo
svn-id: r28539
2007-08-12Added very basic support for backgrounds larger than screen:Nicola Mettifogo
- background surfaces are now reallocated for every location - screen is copied according to _scrollX/Y position svn-id: r28538
2007-08-11Moved cursor handling from Gfx to engine subclasses.Nicola Mettifogo
svn-id: r28534
2007-08-11Moved core font management from Gfx to engine. Gfx still retains features ↵Nicola Mettifogo
related to displaying text on screen. svn-id: r28530
2007-08-11Overhaul of background/mask/path handling:Nicola Mettifogo
- added new BackgroundInfo structure - added helper functions to aid management of BackgroundInfo. Engine is now responsible for allocation/deallocation. - simplified loading and handling of background resources. svn-id: r28524
2007-08-11Added new clone method to Palette object.Nicola Mettifogo
svn-id: r28523
2007-08-09Removed an extra semicolon.Kari Salminen
svn-id: r28512
2007-08-09Fix warning.Nicola Mettifogo
svn-id: r28510
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-07Fix memory leak.Nicola Mettifogo
svn-id: r28485
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-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 disk code directly create background Surface from resources.Nicola Mettifogo
svn-id: r28475
2007-08-06Removed useless mask width and size data members from engine.Nicola Mettifogo
svn-id: r28474
2007-08-06Made disk code directly create mask BitBuffer from resources.Nicola Mettifogo
svn-id: r28473
2007-08-06Cleanup.Nicola Mettifogo
svn-id: r28472
2007-08-06Changed graphics mask to a more generic BitBuffer object.Nicola Mettifogo
svn-id: r28471
2007-08-06Made thickness of balloon borders consistent with original games.Nicola Mettifogo
svn-id: r28470
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