aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index a79d2a7183..277f3bd687 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -39,6 +39,7 @@
#include "pegasus/hotspot.h"
#include "pegasus/input.h"
#include "pegasus/notification.h"
+#include "pegasus/items/autodragger.h"
#include "pegasus/items/inventory.h"
#include "pegasus/items/itemdragger.h"
#include "pegasus/neighborhood/neighborhood.h"
@@ -157,9 +158,11 @@ public:
// Dragging
void dragItem(const Input &, Item *, tDragType);
bool isDragging() const { return _dragType != kDragNoDrag; }
- tDragType getDragType() const { return _dragType; } // TODO
- Item *getDraggingItem() const { return _draggingItem; } // TODO
+ tDragType getDragType() const { return _dragType; }
+ Item *getDraggingItem() const { return _draggingItem; }
void dragTerminated(const Input &);
+ void autoDragItemIntoRoom(Item *, Sprite *);
+ void autoDragItemIntoInventory(Item *, Sprite*);
// Save/Load
void makeContinuePoint();
@@ -268,6 +271,7 @@ private:
Item *_draggingItem;
Sprite *_draggingSprite;
tDragType _dragType;
+ AutoDragger _autoDragger;
// Interface
void toggleInventoryDisplay();