aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
AgeCommit message (Collapse)Author
2008-02-06Enabled moving projector in Nippon Safes. This should fix long standing bug ↵Nicola Mettifogo
#1729309. svn-id: r30811
2008-02-06Fixed broken halfbrite implementation from some time ago (nobody complained!!!).Nicola Mettifogo
svn-id: r30810
2008-02-06Made font handling stateless.Nicola Mettifogo
svn-id: r30809
2008-02-06Added experimental debug feature: variables influencing the rendering that ↵Nicola Mettifogo
can be set via console using the 'set' command. The implementation is still partial. Leveraging on this, the engine can now selectively display the current background mask instead of the background itself. svn-id: r30808
2008-02-05Fix compilationEugene Sandulenko
svn-id: r30800
2008-02-05Fixed size of temporary buffer for unpacking animation frames.Nicola Mettifogo
svn-id: r30795
2008-02-03Fixed maximum token length for the parser.Nicola Mettifogo
svn-id: r30776
2008-02-03Added code to unpack and render animations in BRA.Nicola Mettifogo
svn-id: r30755
2008-02-02Reworked menu in BRA (now functioning).Nicola Mettifogo
svn-id: r30737
2008-02-02Allowed BackgroundInfo to display bitmaps smaller than the screen and other ↵Nicola Mettifogo
small tweaks to re-enable splash screens in BRA. svn-id: r30732
2008-02-02Some more integration of background code into BackgroundInfo.Nicola Mettifogo
svn-id: r30731
2008-02-02Moved depth buffer and palette rotation data into BackgroundInfo.Nicola Mettifogo
svn-id: r30725
2008-01-29More cleanup: kBit2 is now replaced by the BackgroundInfo structure.Nicola Mettifogo
svn-id: r30697
2008-01-29Cleanup (step 2). No code outside Gfx reference screen buffers anymore.Nicola Mettifogo
svn-id: r30695
2008-01-28Replace lock/unlock/lock/unlock by lock/unlock for efficencyMax Horn
svn-id: r30693
2008-01-28Cleanup (step 1).Nicola Mettifogo
svn-id: r30689
2008-01-28Fixed warning.Torbjörn Andersson
svn-id: r30688
2008-01-28Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept ↵Nicola Mettifogo
to store the background picture. svn-id: r30687
2008-01-28Made halfbrite work again.Nicola Mettifogo
svn-id: r30685
2008-01-28Move low level background management into Gfx.Nicola Mettifogo
svn-id: r30681
2008-01-28Fixed animation sorting: everything should be drawn like before revision ↵Nicola Mettifogo
30673 now. Character may still disappear when changing location because of wrong resource management, though. svn-id: r30680
2008-01-28All interactive objects are now drawn in the framebuffer instead of using ↵Nicola Mettifogo
the old kBitBack/kBitFront buffers. Animation are not sorted yet, so they can overlap in an inconsistent fashion for the time being. svn-id: r30673
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-22Some refactoring of text drawing routines.Nicola Mettifogo
svn-id: r30615
2008-01-21Merged low level blitting functions into one single routine.Nicola Mettifogo
svn-id: r30600
2008-01-12Added function to encapsulate/protect manipulation of background.Nicola Mettifogo
svn-id: r30441
2008-01-09Refactored some text drawing code.Nicola Mettifogo
svn-id: r30362
2008-01-09Turned Gfx::setFont into a protected member, since now Gfx can automatically ↵Nicola Mettifogo
detect which font to use. Gfx still needs setFont internally to select fonts. The font shadowing introduced in revision 30221 has been removed as well, since the new approach handles it better. svn-id: r30361
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