aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
AgeCommit message (Collapse)Author
2009-10-16Fixed bug 2879805. Typo in inventory code made the inventory impossible to ↵Nicola Mettifogo
cleanup on loadgame. svn-id: r45140
2009-09-30Simplified inventory handling (too much information hiding will kill you).Nicola Mettifogo
svn-id: r44485
2009-09-30* Added secondary inventories for BRA.Nicola Mettifogo
* Added comments where code must be added/updated to support multiple inventories. svn-id: r44476
2009-09-30Provide only the data that is strictly needed when creating a new Inventory.Nicola Mettifogo
svn-id: r44475
2009-05-21Made BRA demos start again by partially reverting commit 39773. Multiple ↵Nicola Mettifogo
inventory support must be done somehow differently. svn-id: r40750
2009-03-31Added basic multiple inventory support. This will be used for the GIVE and ↵Nicola Mettifogo
SWAP commands. svn-id: r39773
2009-03-15Fix loading objects in the Amiga version of BRA.Travis Howell
svn-id: r39413
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2008-12-21Moved more GfxObj management to Gfx object.Nicola Mettifogo
svn-id: r35466
2008-12-13Fixed positioning of inventory.Nicola Mettifogo
svn-id: r35325
2008-12-07Fixed assorted leaks in Parallaction.Nicola Mettifogo
svn-id: r35270
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-07-29* Added flexible verb configuration for both NS and BRA.Nicola Mettifogo
* Objects can now be really opened and closed in BRA. svn-id: r33405
2008-07-28Inventory is now properly rendered. Item selection is not yet working.Nicola Mettifogo
svn-id: r33355
2008-07-27Moved inventory cursor drawing code to InventoryRenderer.Nicola Mettifogo
svn-id: r33337
2008-07-23More decoupling of inventory code.Nicola Mettifogo
svn-id: r33224
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-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
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-18Cleanup.Nicola Mettifogo
svn-id: r29562
2007-10-21Added new debug level for inventory routines.Nicola Mettifogo
svn-id: r29239
2007-10-07Fixed bug #1808529. One must use memmove() when copying overlapping blocks ↵Nicola Mettifogo
of memory (blush). svn-id: r29161
2007-10-06Fixed bug #1808620. The original Inventory::addItem routine relied on a ↵Nicola Mettifogo
trick that went undetected until r29060 actually broke it. Not all regression is bad, after all. svn-id: r29157
2007-09-25Changed InventoryRenderer to draw inventory over a Surface, thus removing ↵Nicola Mettifogo
useless drawing routines. svn-id: r29097
2007-09-24Fixed inventory regression introduced with yesterday's commit.Nicola Mettifogo
svn-id: r29091
2007-09-23Oops. Some debug code was committed.Nicola Mettifogo
svn-id: r29061
2007-09-23Moved most of inventory-related code inside classes Inventory and ↵Nicola Mettifogo
InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code). svn-id: r29060
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-02Cleanup: removed unneeded references to engine (_vm).Nicola Mettifogo
svn-id: r28826
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-24First step in restructuring engine code:Nicola Mettifogo
- code has been consolidated in fewer files - new table-driven parsers/execution - some functions has been pushed down the engine hierarchy - Parallaction_br now inherits from Parallaction_ns svn-id: r28711
2007-07-26Made screen size parameters properties of engine instead of compile-time ↵Nicola Mettifogo
constants. svn-id: r28219
2007-07-09Moved mouse cursor tampering from inventory.cpp to Gfx class, and some cleanup.Nicola Mettifogo
svn-id: r27996
2007-07-08Changed inventory graphics update from synchronous to lazy.Nicola Mettifogo
svn-id: r27975
2007-07-08Cleanup inventory code.Nicola Mettifogo
svn-id: r27974
2007-06-18Mouse is now properly hidden during dialogues, and is restored after ↵Nicola Mettifogo
load/save dialog boxes are closed. Moreover, kEngineMouse constant has been renamed to better match its meaning. svn-id: r27539
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-21Fixed the largest memory leaks.Nicola Mettifogo
svn-id: r26905
2007-05-13Reverted some changes to inventory handling.Nicola Mettifogo
svn-id: r26838
2007-05-13More cleanup.Nicola Mettifogo
svn-id: r26835
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
2007-05-06Added embryonic debugger, and some adjustments to make basic commands work.Nicola Mettifogo
svn-id: r26755
2007-04-09- moved walk code to List<>Nicola Mettifogo
- some adjustments to #include statements svn-id: r26424
2007-04-07cleanupNicola Mettifogo
svn-id: r26409
2007-03-29- implemented destructor for Cnv, thus removing calls to Gfx::freeCnv()Nicola Mettifogo
- enforced use of getFramePtr instead of Cnv::_array member svn-id: r26317
2007-03-18changed remaining stuff to Common::Point and got rid of custom Point and RectNicola Mettifogo
svn-id: r26216
2007-03-18converted input and labels to Common::PointNicola Mettifogo
svn-id: r26214
2007-03-18Made loadObjects return a new Cnv instead of accepting a parameter.Nicola Mettifogo
svn-id: r26202