aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
AgeCommit message (Collapse)Author
2009-03-23Fix pallete for label font in the Amiga version of BRA.Travis Howell
svn-id: r39632
2009-03-23Correct label font used by Amiga version of BRA.Travis Howell
svn-id: r39629
2009-03-23Fully implemented scrolling.Nicola Mettifogo
svn-id: r39622
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-26Fixed crashes and leaks when quitting BRA from menu and splash screen.Nicola Mettifogo
svn-id: r38893
2009-02-25Updated all for(;;) loops to use prefix increment on iterators.Nicola Mettifogo
svn-id: r38876
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
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-08Fixed points 2 and 3 of bug #2438549, spotlight wasn't displayed correctly.Nicola Mettifogo
svn-id: r35785
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-25Fix for bug #2464538 "PARALLACTION: Compiler error on AmigaOS4",Johannes Schickel
svn-id: r35533
2008-12-24Fixed display of location background when changing from a scrollable to a ↵Nicola Mettifogo
non-scrollable one. svn-id: r35522
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 references to _vm from the engine itself.Nicola Mettifogo
svn-id: r35358
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-07Fixed assorted leaks in Parallaction.Nicola Mettifogo
svn-id: r35270
2008-12-07Fix bug #2401150: "Compiler: No matching function (Parallaction / Amiga)"Eugene Sandulenko
svn-id: r35269
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-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-01Fixed assorted leaks in NS Amiga.Nicola Mettifogo
svn-id: r34870
2008-10-02Engine class changed:Max Horn
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine - got rid of the _autosavePeriod member (this prevented users from changing the autosave period during runtime) - Got rid of an evil 'using GUI::Dialog' statement - Clarified some Doxygen comments svn-id: r34720
2008-08-30Removed global g_system.Nicola Mettifogo
svn-id: r34209
2008-08-20* Enlarged buffer for frame decoding. Crashes in the introduction were ↵Nicola Mettifogo
caused by a small buffer and subsequent out-of-bound writes. * Disabled debug code. svn-id: r34046
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-16Fixed label positioning in BRA.Nicola Mettifogo
svn-id: r33928
2008-08-15Updated layer calculation: animations are now hidden properly by background ↵Nicola Mettifogo
elements (but not items yet). svn-id: r33894
2008-08-15Made coordinates and frame number protected into Zone and Animation, and ↵Nicola Mettifogo
changed client code to use get/set. This will allow various simplifications (e.g. when calculating Z), and is a step towards correct handling of interactive zones of Zone/Animation in BRA. svn-id: r33892
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-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-23More decoupling of inventory code.Nicola Mettifogo
svn-id: r33224
2008-07-15Made frame unpacking buffer dynamic (this frees some BSS space).Nicola Mettifogo
svn-id: r33072
2008-07-09Fixed leaks in NS and BRA.Nicola Mettifogo
svn-id: r32976
2008-07-07Fixed regression after label code refactoring.Nicola Mettifogo
svn-id: r32940
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