aboutsummaryrefslogtreecommitdiff
path: root/src/stubs.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-31 22:18:08 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-31 22:20:44 -0300
commitc4b06256d92408c4e99bd37b58d66f2024ec0a70 (patch)
treee93b6861520fddd0f49f765dd9dd83058fc80b31 /src/stubs.hh
parentd7c11b271633ee1f5b58d2b679b50cf95b2826e0 (diff)
downloadgame-c4b06256d92408c4e99bd37b58d66f2024ec0a70.tar.gz
game-c4b06256d92408c4e99bd37b58d66f2024ec0a70.zip
impl TCreature::Damage + overall improvements
Diffstat (limited to 'src/stubs.hh')
-rw-r--r--src/stubs.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stubs.hh b/src/stubs.hh
index d3cfcd0..8553177 100644
--- a/src/stubs.hh
+++ b/src/stubs.hh
@@ -19,17 +19,21 @@ extern void AbortWriter(void);
extern void AnnounceChangedCreature(uint32 CreatureID, int Type);
extern void BroadcastMessage(int Mode, const char *Text, ...) ATTR_PRINTF(2, 3);
extern void Change(Object Obj, ObjectType NewType, uint32 Value);
+extern void CharacterDeathOrder(TCreature *Creature, int OldLevel,
+ uint32 Offender, const char *Remark, bool Unjustified);
extern bool CheckRight(uint32 CreatureID, RIGHT Right);
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 void CreatePlayerList(bool Online);
+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 TConnection *GetFirstConnection(void);
extern TConnection *GetNextConnection(void);
+extern TPlayer *GetPlayer(uint32 CreatureID);
extern int GetRacePoison(int Race);
extern void GraphicalEffect(int x, int y, int z, int Type);
extern void GraphicalEffect(Object Obj, int Type);
@@ -61,6 +65,7 @@ extern void SendAll(void);
extern void SendAmbiente(TConnection *Connection);
extern void SendClearTarget(TConnection *Connection);
extern void SendMails(TPlayerData *PlayerData);
+extern void SendMarkCreature(TConnection *Connection, uint32 CreatureID, int Color);
extern void SendMessage(TConnection *Connection, int Mode, const char *Text, ...) ATTR_PRINTF(3, 4);
extern void SendPlayerData(TConnection *Connection);
extern void SendPlayerSkills(TConnection *Connection);