From 0590a5f1b3e0ffe295d7894a16b9d8aff3fae586 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 7 Jun 2025 23:52:37 -0300 Subject: implement monster raids --- src/stubs.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stubs.hh') diff --git a/src/stubs.hh b/src/stubs.hh index 3495a59..d936ab5 100644 --- a/src/stubs.hh +++ b/src/stubs.hh @@ -28,12 +28,13 @@ extern void ChallengeMonster(TCreature *Challenger, TCreature *Monster); extern int CountInventoryObjects(uint32 CreatureID, ObjectType Type, uint32 Value); extern Object Create(Object Con, ObjectType Type, uint32 Value); extern Object CreateAtCreature(uint32 CreatureID, ObjectType Type, uint32 Value); -extern void CreateMonster(int Race, int x, int y, int z, int Home, uint32 Master, bool ShowEffect); +extern TCreature *CreateMonster(int Race, int x, int y, int z, int Home, uint32 Master, bool ShowEffect); extern void CreatePlayerList(bool Online); extern void CreatePool(Object Con, ObjectType Type, uint32 Value); extern void Delete(Object Obj, int Count); extern bool FieldPossible(int x, int y, int z, int FieldType); extern Object GetBodyObject(uint32 CreatureID, int Position); +extern Object GetBodyContainer(uint32 CreatureID, int Position); extern void GetExitPosition(uint16 HouseID, int *x, int *y, int *z); extern TConnection *GetFirstConnection(void); extern TConnection *GetNextConnection(void); @@ -62,7 +63,6 @@ extern void ProcessCommunicationControl(void); extern void ProcessConnections(void); extern void ProcessCronSystem(void); extern void ProcessMonsterhomes(void); -extern void ProcessMonsterRaids(void); extern void ProcessReaderThreadReplies(TRefreshSectorFunction *RefreshSector, TSendMailsFunction *SendMails); extern void ProcessWriterThreadReplies(void); extern void ReceiveData(void); -- cgit v1.2.3