22 #ifndef BLADERUNNER_ITEMS_H 23 #define BLADERUNNER_ITEMS_H 25 #include "bladerunner/bladerunner.h" 26 #include "bladerunner/item.h" 28 #include "common/array.h" 32 class SaveFileReadStream;
33 class SaveFileWriteStream;
46 void getXYZ(
int itemId,
float *x,
float *y,
float *z)
const;
47 void setXYZ(
int itemId,
Vector3 position);
48 void getWidthHeight(
int itemId,
int *width,
int *height)
const;
49 void getAnimationId(
int itemId,
int *animationId)
const;
52 bool addToWorld(
int itemId,
int animationId,
int setId,
Vector3 position,
int facing,
int height,
int width,
bool isTargetFlag,
bool isVisibleFlag,
bool isPoliceMazeEnemyFlag,
bool addToSetFlag);
53 bool addToSet(
int itemId);
54 #if !BLADERUNNER_ORIGINAL_BUGS 55 bool removeFromCurrentSceneOnly(
int itemId);
56 #endif // !BLADERUNNER_ORIGINAL_BUGS 57 bool remove(
int itemId);
59 void setIsTarget(
int itemId,
bool val);
60 bool isTarget(
int itemId)
const;
61 bool isSpinning(
int itemId)
const;
62 bool isPoliceMazeEnemy(
int itemId)
const;
63 void setPoliceMazeEnemy(
int itemId,
bool val);
64 void setIsObstacle(
int itemId,
bool val);
65 bool isVisible(
int itemId)
const;
66 int findTargetUnderMouse(
int mouseX,
int mouseY)
const;
70 int getFacing(
int itemId)
const;
71 void setFacing(
int itemId,
int facing);
73 void spinInWorld(
int itemId);
79 int findItem(
int itemId)
const;
Definition: savefile.h:88
Definition: savefile.h:113
Definition: boundingbox.h:31
Definition: bladerunner.h:113