From 42be37f4ad99fc8580415fed89939e305d56193e Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 20 May 2025 16:41:03 -0300 Subject: implement `main.cc`, `shm.cc`, and `time.cc` + overall tweeks --- src/player.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/player.hh') diff --git a/src/player.hh b/src/player.hh index b6009a1..0a3f583 100644 --- a/src/player.hh +++ b/src/player.hh @@ -3,6 +3,7 @@ #include "main.hh" #include "creature.hh" +#include "containers.hh" struct TPlayerData { uint32 CharacterID; @@ -43,7 +44,7 @@ struct TPlayerData { int InventorySize; uint8 *Depot[9]; int DepotSize[9]; - ulong AccountID; + uint32 AccountID; int Sex; char Name[30]; uint8 Rights[12]; @@ -76,7 +77,7 @@ struct TPlayer: TCreature { // DATA // ========================================================================= //TCreature super_TCreature; // IMPLICIT - ulong AccountID; + uint32 AccountID; char Guild[31]; char Rank[31]; char Title[31]; @@ -98,10 +99,10 @@ struct TPlayer: TCreature { uint8 SpellList[256]; int QuestValues[500]; Object OpenContainer[16]; - vector AttackedPlayers; + vector AttackedPlayers; int NumberOfAttackedPlayers; bool Aggressor; - vector FormerAttackedPlayers; + vector FormerAttackedPlayers; int NumberOfFormerAttackedPlayers; bool FormerAggressor; uint32 FormerLogoutRound; -- cgit v1.2.3