From cd8f3f412c2a5f49ee25aab83079a655b88d6def Mon Sep 17 00:00:00 2001 From: fusion32 Date: Mon, 9 Jun 2025 01:19:20 -0300 Subject: finish `cract.cc` --- src/cr.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cr.hh') diff --git a/src/cr.hh b/src/cr.hh index 2c60163..5ad1676 100644 --- a/src/cr.hh +++ b/src/cr.hh @@ -526,6 +526,11 @@ struct TCreature: TSkillBase { void ToDoAttack(void); void ToDoTalk(int Mode, const char *Addressee, const char *Text, bool CheckSpamming); void ToDoChangeState(int NewState); + void NotifyGo(void); + void NotifyTurn(Object DestCon); + void NotifyCreate(void); + void NotifyDelete(void); + void NotifyChangeInventory(void); // VIRTUAL FUNCTIONS // ================= @@ -679,6 +684,7 @@ struct TMonster: TNonplayer { struct TPlayer: TCreature { //TPlayer(void); + // TODO(fusion): Eventually sort these out when we implement player functions. uint8 GetRealProfession(void); uint8 GetEffectiveProfession(void); uint8 GetActiveProfession(void); @@ -701,6 +707,9 @@ struct TPlayer: TCreature { void ClearPlayerkillingMarks(void); void SaveInventory(void); + Object GetOpenContainer(int ContainerNr); + void SetOpenContainer(int ContainerNr, Object Con); + void RejectTrade(void); // VIRTUAL FUNCTIONS // ================= -- cgit v1.2.3