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.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/creature.cc') diff --git a/src/creature.cc b/src/creature.cc index e2cb5ce..549543e 100644 --- a/src/creature.cc +++ b/src/creature.cc @@ -1,13 +1,14 @@ #include "creature.hh" - #include "enums.hh" +#include "stubs.hh" + TCreature::TCreature(void) : TSkillBase(), Combat(), ToDoList(0, 20, 10) { - this->Master = this; + this->Combat.Master = this; this->ID = 0; this->NextHashEntry = NULL; this->NextChainCreature = 0; -- cgit v1.2.3