diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-25 22:37:57 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-25 22:37:57 -0300 |
| commit | ad8213f35523cbb07f418ae275af448a47cc0288 (patch) | |
| tree | 4d77b8ff2b44461734b5a2cbaad5402b4a94736f /src/creature.hh | |
| parent | 5f883a80175a4cc9abda9d647a6a0d73bda84878 (diff) | |
| download | game-ad8213f35523cbb07f418ae275af448a47cc0288.tar.gz game-ad8213f35523cbb07f418ae275af448a47cc0288.zip | |
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.
Diffstat (limited to 'src/creature.hh')
| -rw-r--r-- | src/creature.hh | 5 |
1 files changed, 4 insertions, 1 deletions
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 // ========================================================================= |
