From 577c3b56a528cd58e26882b8924b2a8b9d56148a Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Wed, 12 Oct 2016 23:00:33 +0200 Subject: BLADERUNNER: added picking up of items and some formatting --- engines/bladerunner/items.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/bladerunner/items.h') 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); }; -- cgit v1.2.3