Im modding the game teeworlds, and i have an error like field ‘m_Core’ has incomplete type ‘CCharacterCore’ in character.h, all files who use gamecore.h have like this error.
My gamecore.h is almost the same but I just changed the Init method to
void Init(CWorldCore *pWorld, CCollision *pCollision, CGameContext *pGameServer);
and then all the errors appeared.
I try to write
class CCharacterCore;
in character.h but encountered an error field ‘m_Core’ has incomplete type ‘CCharacterCore’.
New contributor
4ipset is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.