From ad8213f35523cbb07f418ae275af448a47cc0288 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 25 May 2025 22:37:57 -0300 Subject: linux Makefile + fix most compilation problems I wanted to see if the compiler had any problems with the code so far and added a few stub definitions so that each file would properly compile. We still fail when linking but we're able to to find and fix compile time errors. --- src/creature.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/creature.hh') diff --git a/src/creature.hh b/src/creature.hh index a6f7678..423ad8c 100644 --- a/src/creature.hh +++ b/src/creature.hh @@ -4,6 +4,7 @@ #include "common.hh" #include "connection.hh" #include "containers.hh" +#include "map.hh" #include "skill.hh" struct TCreature; @@ -18,6 +19,7 @@ struct TCombat{ // REGULAR FUNCTIONS // ========================================================================= TCombat(void); + void CheckCombatValues(void); // DATA // ========================================================================= @@ -108,7 +110,8 @@ struct TOutfit{ struct TCreature: TSkillBase { // REGULAR FUNCTIONS // ========================================================================= - // TODO + TCreature(void); + int Damage(TCreature *Attacker, int Damage, int DamageType); // VIRTUAL FUNCTIONS // ========================================================================= -- cgit v1.2.3