aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
AgeCommit message (Collapse)Author
2008-08-18* Split up blt routine (there is room for a ton of improvements)Nicola Mettifogo
* Added scaling as a new blt option * Activated scaling for the main character in BRA svn-id: r33985
2008-08-16Extended balloon manager to handle color constants and fixed color of text ↵Nicola Mettifogo
in balloons for BRA. svn-id: r33940
2008-08-15Implemented raster operation for masks and postponed blitting of zones after ↵Nicola Mettifogo
everything in the location has been loaded. This fixes the remaining problems with animations not being masked by items. svn-id: r33903
2008-08-15Added routines to load and handle item masks: animation are now correctly ↵Nicola Mettifogo
hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground). svn-id: r33900
2008-07-31Made changing of background more flexible, in that the engine can now ↵Nicola Mettifogo
configure its BackgroundInfo before passing it to Gfx. svn-id: r33469
2008-07-31Changed Gfx::_backgroundInfo to be a pointer. This temporarily kills all ↵Nicola Mettifogo
z-buffering. svn-id: r33468
2008-07-30Reordered initialization lists to silence warning.Nicola Mettifogo
svn-id: r33432
2008-07-29Added dialogue text rendering for BRA.Nicola Mettifogo
svn-id: r33402
2008-07-28Inventory is now properly rendered. Item selection is not yet working.Nicola Mettifogo
svn-id: r33355
2008-07-26BRA now parses path data from the scripts.Nicola Mettifogo
svn-id: r33295
2008-07-24* Moved end intro and end game sequences code to gui.Nicola Mettifogo
* Rewrote all gui code to be run inside the main loop * Added code to avoid crashes when a scene with no standard background is drawn svn-id: r33260
2008-07-15Made frame unpacking buffer dynamic (this frees some BSS space).Nicola Mettifogo
svn-id: r33072
2008-07-09Fixed regression introduced with GfxObj: the character sprite was sometimes ↵Nicola Mettifogo
removed from the rendering list. svn-id: r32974
2008-07-04- Moved dialogue balloon management code from Gfx to its own classNicola Mettifogo
- Added a class to draw balloons in BRA (still without text and with wrong placement) svn-id: r32902
2008-07-03Changed balloons to use GfxObj as well. Next step is to integrate balloons ↵Nicola Mettifogo
for BRA. svn-id: r32883
2008-07-02- Changed labels to be GfxObj's, thus removing the Label object altogether.Nicola Mettifogo
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
2008-06-30Small cleanup/shuffling of Gfx code.Nicola Mettifogo
svn-id: r32847
2008-06-29Merged the three render lists (for animations, doors and objects) into a ↵Nicola Mettifogo
single one. svn-id: r32834
2008-06-29Changed all remaining code to use the GfxObj class to keep frames data. This ↵Nicola Mettifogo
allows for more uniform processing during rendering, and also fixes the display of dialogue faces for BRA. svn-id: r32833
2008-06-05Merged revisions ↵Christopher Page
32507-32513,32516,32518,32520-32521,32523-32524,32526-32548,32550-32562 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32563
2008-06-04Return to menu after introduction has played (with glitches).Nicola Mettifogo
svn-id: r32523
2008-06-02PARA: Got rid of calls to system->quit() so that the Parallaction engine can ↵Christopher Page
return to the launcher. Also fixed a couple of memory leaks. svn-id: r32504
2008-04-06Replaced custom ManagedList with Common::SharedPtr.Nicola Mettifogo
svn-id: r31415
2008-02-07Implemented scroll command and added a couple more debug variables.Nicola Mettifogo
svn-id: r30814
2008-02-06Enabled moving projector in Nippon Safes. This should fix long standing bug ↵Nicola Mettifogo
#1729309. svn-id: r30811
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-06Correctly implemented little-endian masks in BRA.Nicola Mettifogo
svn-id: r30807
2008-02-03Added code to unpack and render animations in BRA.Nicola Mettifogo
svn-id: r30755
2008-02-02Cleanup of BRA menu code.Nicola Mettifogo
svn-id: r30739
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-28Cleanup (step 1).Nicola Mettifogo
svn-id: r30689
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-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-28Fix compilationSven Hesse
svn-id: r30676
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