aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
AgeCommit message (Collapse)Author
2010-04-27Fix bug 2969257 (labels) and hopefully plug all the leaks.Nicola Mettifogo
svn-id: r48811
2010-04-02Fix whitespaceWillem Jan Palenstijn
svn-id: r48477
2009-04-28Added in-game menu for BRA. Load/save is not supported yet.Nicola Mettifogo
svn-id: r40176
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-02-27The engine has now to build the drawing list for the graphic department, ↵Nicola Mettifogo
instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list. The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone. svn-id: r38928
2009-02-03Fixed support for walking zones in BRA:Nicola Mettifogo
* patches are not applied if the zone is not visible when loading * when applying a patch, always overwrite the existing data instead of OR'ing svn-id: r36209
2009-01-12Fixed regression from revision 35765. Mask and path patches were destroyed ↵Nicola Mettifogo
before getting a chance to be used. svn-id: r35835
2009-01-07Fixed warningsMax Horn
svn-id: r35780
2009-01-07Extended PathBuffer to support BRA.Nicola Mettifogo
svn-id: r35766
2009-01-07* moved more mask management to BackgroundInfoNicola Mettifogo
* simplified mask management for client code * reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp * preparation for the full implementation of BRA's PathBuffer svn-id: r35765
2009-01-05Deleted unused declarations, sorted others, and removed some dead code.Nicola Mettifogo
svn-id: r35739
2008-12-24Simplified destructions of Balloon objects.Nicola Mettifogo
svn-id: r35521
2008-12-21Moved more GfxObj management to Gfx object.Nicola Mettifogo
svn-id: r35466
2008-12-20Moved mask creation/handling to Gfx.Nicola Mettifogo
svn-id: r35447
2008-12-15Weeded out some more unused code, and some restructuring.Nicola Mettifogo
svn-id: r35377
2008-12-14Removed some unused code.Nicola Mettifogo
svn-id: r35357
2008-12-13Some more restructuring of rendering code.Nicola Mettifogo
svn-id: r35343
2008-12-13Restructuring of rendering code.Nicola Mettifogo
svn-id: r35342
2008-12-13* Replaced char* with Common::String in the parser.Nicola Mettifogo
* Enforced const-correctness on related routines. svn-id: r35326
2008-12-07Fixed some more leaks and mismatched allocations/deallocations.Nicola Mettifogo
svn-id: r35277
2008-12-06Fixed positioning of overlayed graphics (dialogues, inventory, labels) in ↵Nicola Mettifogo
all locations. These items are now all handled in screen coordinates which are translated automatically by the renderer. svn-id: r35255
2008-12-06Implemented horizontal scrolling for BRA, by using a back buffer. Dialogues ↵Nicola Mettifogo
in scrollable locations are a bit messed up for the moment. svn-id: r35253
2008-11-08Got rid of the SurfaceToMultiFrames adapter class.Nicola Mettifogo
svn-id: r34938
2008-08-31Fixed leak with Input class, introduced in commit 34206.Nicola Mettifogo
svn-id: r34224
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