22 #ifndef SHERLOCK_INVENTORY_H 23 #define SHERLOCK_INVENTORY_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/str-array.h" 28 #include "sherlock/objects.h" 29 #include "sherlock/resources.h" 30 #include "sherlock/saveload.h" 48 PLAIN_INVENTORY = 0, LOOK_INVENTORY_MODE = 1, USE_INVENTORY_MODE = 2,
49 GIVE_INVENTORY_MODE = 3, INVENTORY_DONT_DISPLAY = 128
52 enum InvSlamMode { SLAM_DONT_DISPLAY, SLAM_DISPLAY = 1, SLAM_SECONDARY_BUFFER };
66 InventoryItem() : _requiredFlag(0), _lookFlag(0), _requiredFlag1(0) {}
86 void copyToInventory(
Object &obj);
89 bool _invGraphicsLoaded;
128 int putItemInInventory(
Object &obj);
144 virtual void loadInv() = 0;
Definition: inventory.h:55
Definition: inventory.h:78
Definition: animation.h:29
Definition: serializer.h:79
Definition: sherlock.h:76
Definition: objects.h:363
void synchronize(Serializer &s)
Definition: objects.h:168