aboutsummaryrefslogtreecommitdiff
path: root/src/stubs.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-01 22:51:33 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-01 22:56:01 -0300
commit189d40706feea796fe9307c915f29d2158769357 (patch)
treec9daf3b799f417ea1018960c7bde7f3fb41b05c5 /src/stubs.hh
parent9c74d168961619d754ca9f51aa86686185d3f92e (diff)
downloadgame-189d40706feea796fe9307c915f29d2158769357.tar.gz
game-189d40706feea796fe9307c915f29d2158769357.zip
more work on spell primitives
Diffstat (limited to 'src/stubs.hh')
-rw-r--r--src/stubs.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stubs.hh b/src/stubs.hh
index 3a58557..c254ec7 100644
--- a/src/stubs.hh
+++ b/src/stubs.hh
@@ -26,6 +26,7 @@ extern void CircleShapeSpell(TCreature *Actor, int DestX, int DestY, int DestZ,
int Range, int Animation, int Radius, TImpact *Impact, int Effect);
extern void CleanHouseField(int x, int y, int z);
extern int ComputeDamage(TCreature *Creature, int SpellNr, int Damage, int Variation);
+extern int CountInventoryObjects(uint32 CreatureID, ObjectType Type, uint32 Value);
extern void CreateField(int x, int y, int z, int FieldType, uint32 Owner, bool Peaceful);
extern void CreateMonster(int Race, int x, int y, int z, int Home, uint32 Master, bool ShowEffect);
extern void CreatePlayerList(bool Online);
@@ -33,6 +34,7 @@ extern void CreatePool(Object Con, ObjectType Type, uint32 Value);
extern void Delete(Object Obj, int Count);
extern Object GetBodyObject(uint32 CreatureID, int Position);
extern TCreature *GetCreature(uint32 CreatureID);
+extern TCreature *GetCreature(Object Obj);
extern TConnection *GetFirstConnection(void);
extern TConnection *GetNextConnection(void);
extern TPlayer *GetPlayer(uint32 CreatureID);