aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
AgeCommit message (Collapse)Author
2014-02-18PARALLACTION: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17PARALLACTION: Prefer Surface::create taking a PixelFormat over the one ↵Johannes Schickel
taking a byte depth.
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