diff options
author | Nicola Mettifogo | 2008-07-27 14:21:16 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-27 14:21:16 +0000 |
commit | 387134a16a144df3c9512e8c61901e7b7142e540 (patch) | |
tree | 1a737f750fb76171fc37dbf8f033154b3a335b1e /engines/parallaction/inventory.h | |
parent | d223e90002d5e95c1dccd14aa81c7090138abbd1 (diff) | |
download | scummvm-rg350-387134a16a144df3c9512e8c61901e7b7142e540.tar.gz scummvm-rg350-387134a16a144df3c9512e8c61901e7b7142e540.tar.bz2 scummvm-rg350-387134a16a144df3c9512e8c61901e7b7142e540.zip |
Moved inventory cursor drawing code to InventoryRenderer.
svn-id: r33337
Diffstat (limited to 'engines/parallaction/inventory.h')
-rw-r--r-- | engines/parallaction/inventory.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/inventory.h b/engines/parallaction/inventory.h index 8c32c09219..eb96735c91 100644 --- a/engines/parallaction/inventory.h +++ b/engines/parallaction/inventory.h @@ -38,10 +38,6 @@ struct InventoryItem { uint16 _index; // index to frame in objs file }; -#define INVENTORYITEM_PITCH 32 -#define INVENTORYITEM_WIDTH 24 -#define INVENTORYITEM_HEIGHT 24 - #define MAKE_INVENTORY_ID(x) (((x) & 0xFFFF) << 16) typedef int16 ItemPosition; @@ -97,6 +93,7 @@ public: ItemPosition hitTest(const Common::Point &p) const; void highlightItem(ItemPosition pos, byte color); + void drawItem(ItemName name, byte *buffer, uint pitch); byte* getData() const { return (byte*)_surf.pixels; } |