@@ -37,7 +37,8 @@ class RuleItem
3737 float _size;
3838 int _cost, _time;
3939 bool _equip, _twoHanded;
40- int _bigSprite, _floorSprite, _handSprite;
40+ int _bigSprite, _floorSprite, _handSprite, _bulletSprite;
41+ int _fireSound, _hitSound, _hitAnimation;
4142public:
4243 // / Creates a blank item ruleset.
4344 RuleItem (std::string type);
@@ -64,19 +65,35 @@ class RuleItem
6465 // / Gets the item's reference in BIGOBS.PCK for use in inventory.
6566 int getBigSprite () const ;
6667 // / Sets the item's reference in BIGOBS.PCK for use in inventory.
67- void setBigSprite (int value );
68+ void setBigSprite (int sprite );
6869 // / Gets the item's reference in FLOOROB.PCK for use in inventory.
6970 int getFloorSprite () const ;
7071 // / Sets the item's reference in FLOOROB.PCK for use in inventory.
71- void setFloorSprite (int value );
72+ void setFloorSprite (int sprite );
7273 // / Gets the item's reference in HANDOB.PCK for use in inventory.
7374 int getHandSprite () const ;
7475 // / Sets the item's reference in HANDOB.PCK for use in inventory.
75- void setHandSprite (int value );
76+ void setHandSprite (int sprite );
7677 // / Gets if the item is two-handed.
7778 bool getTwoHanded () const ;
7879 // / Sets if the item is two-handed.
7980 void setTwoHanded (bool flag);
81+ // / Gets the item's bullet sprite reference.
82+ int getBulletSprite () const ;
83+ // / Sets the item's bulet sprite reference.
84+ void setBulletSprite (int sprite);
85+ // / Gets the item's fire sound.
86+ int getFireSound () const ;
87+ // / Sets the item's fire sound.
88+ void setFireSound (int sound);
89+ // / Gets the item's hit sound.
90+ int getHitSound () const ;
91+ // / Sets the item's hit sound.
92+ void setHitSound (int sound);
93+ // / Gets the item's hit animation.
94+ int getHitAnimation () const ;
95+ // / Sets the item's hit animation.
96+ void setHitAnimation (int animation);
8097
8198};
8299
0 commit comments