diff options
author | Peter Kohaut | 2016-10-12 23:00:33 +0200 |
---|---|---|
committer | Peter Kohaut | 2016-10-12 23:00:33 +0200 |
commit | 577c3b56a528cd58e26882b8924b2a8b9d56148a (patch) | |
tree | 2792263ce6c6b13b58ae74478dbcd6695b0bc114 /engines/bladerunner/items.h | |
parent | 8720c3a98f8d5e36c612c4806bd6d025d409fab5 (diff) | |
download | scummvm-rg350-577c3b56a528cd58e26882b8924b2a8b9d56148a.tar.gz scummvm-rg350-577c3b56a528cd58e26882b8924b2a8b9d56148a.tar.bz2 scummvm-rg350-577c3b56a528cd58e26882b8924b2a8b9d56148a.zip |
BLADERUNNER: added picking up of items
and some formatting
Diffstat (limited to 'engines/bladerunner/items.h')
-rw-r--r-- | engines/bladerunner/items.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/bladerunner/items.h b/engines/bladerunner/items.h index 0b5c7e09a9..667117fba2 100644 --- a/engines/bladerunner/items.h +++ b/engines/bladerunner/items.h @@ -40,12 +40,13 @@ public: ~Items(); void getXYZ(int itemId, float *x, float *y, float *z); - void getWidthHeight(int itemId, int * width, int * height); + void getWidthHeight(int itemId, int *width, int *height); void tick(); - bool add(int itemId, int animationId, int setId, Vector3 position, int facing, int height, int width, bool isTargetable, bool isVisible, bool isPoliceMazeEnemy, bool b); + bool addToWorld(int itemId, int animationId, int setId, Vector3 position, int facing, int height, int width, bool isTargetable, bool isVisible, bool isPoliceMazeEnemy, bool b); + bool addToSet(int itemId); bool remove(int itemId); - + private: int findItem(int itemId); }; |