aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.cpp
AgeCommit message (Collapse)Author
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
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-04Return to menu after introduction has played (with glitches).Nicola Mettifogo
svn-id: r32523
2008-05-14- Moved input code to its own class.Nicola Mettifogo
- Slightly simplified inventory highlight code thanks to changes in input code. svn-id: r32115
2008-04-17Replaced unpackBlt with a more general version that can also unpack ↵Nicola Mettifogo
animation in BRA. svn-id: r31532
2008-02-07Implemented scroll command and added a couple more debug variables.Nicola Mettifogo
svn-id: r30814
2008-02-06Silence MSVC warning about uninitialized variablesFilippos Karapetis
svn-id: r30812
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