diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-31 22:18:08 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-31 22:20:44 -0300 |
| commit | c4b06256d92408c4e99bd37b58d66f2024ec0a70 (patch) | |
| tree | e93b6861520fddd0f49f765dd9dd83058fc80b31 /src/stubs.hh | |
| parent | d7c11b271633ee1f5b58d2b679b50cf95b2826e0 (diff) | |
| download | game-c4b06256d92408c4e99bd37b58d66f2024ec0a70.tar.gz game-c4b06256d92408c4e99bd37b58d66f2024ec0a70.zip | |
impl TCreature::Damage + overall improvements
Diffstat (limited to 'src/stubs.hh')
| -rw-r--r-- | src/stubs.hh | 5 |
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); |
