- [CODE]constants.h:237:2: error: conflicting declaration 'typedef int TSkillTree'
- 237 | }TSkillTree;
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:3:
- constants.h:237:2: note: previous declaration as 'typedef struct SSkillTree TSkillTree'
- 237 | }TSkillTree;
- | ^~~~~~~~~~
- In file included from char.h:10,
- from BattleArena.cpp:7:
- constants.h:214:16: error: redefinition of 'struct SSkillTree'
- 214 | typedef struct SSkillTree
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:3:
- constants.h:214:16: note: previous definition of 'struct SSkillTree'
- 214 | typedef struct SSkillTree
- | ^~~~~~~~~~
- In file included from char.h:10,
- from BattleArena.cpp:7:
- constants.h:237:2: error: conflicting declaration 'typedef int TSkillTree'
- 237 | }TSkillTree;
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:3:
- constants.h:237:2: note: previous declaration as 'typedef struct SSkillTree TSkillTree'
- 237 | }TSkillTree;
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'void CHARACTER::SetMaxStamina(int)':
- char.h:928:51: error: 'int character_point_instant::iMaxStamina' is protected within this context
- 928 | void SetMaxStamina(int iVal) { m_pointsInstant.iMaxStamina = iVal; }
- | ^~~~~~~~~~~
- char.h:602:9: note: declared protected here
- 602 | int iMaxStamina;
- | ^~~~~~~~~~~
- char.h: In member function 'int CHARACTER::GetMaxStamina() const':
- char.h:929:56: error: 'int character_point_instant::iMaxStamina' is protected within this context
- 929 | int GetMaxStamina() const { return m_pointsInstant.iMaxStamina; }
- | ^~~~~~~~~~~
- char.h:602:9: note: declared protected here
- 602 | int iMaxStamina;
- | ^~~~~~~~~~~
- char.h: In member function 'bool CHARACTER::IsBlockMode(BYTE) const':
- char.h:1025:65: error: 'BYTE character_point_instant::bBlockMode' is protected within this context
- 1025 | bool IsBlockMode(BYTE bFlag) const { return (m_pointsInstant.bBlockMode & bFlag) ? true : false; }
- | ^~~~~~~~~~
- char.h:604:9: note: declared protected here
- 604 | BYTE bBlockMode;
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'CItem** CHARACTER::GetCubeItem()':
- char.h:2348:49: error: 'CItem* character_point_instant::pCubeItems [24]' is protected within this context
- 2348 | LPITEM* GetCubeItem() { return m_pointsInstant.pCubeItems; }
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:585:11: note: declared protected here
- 585 | LPITEM pCubeItems[CUBE_MAX_NUM];
- | ^~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'bool CHARACTER::IsCubeOpen() const':
- char.h:2349:52: error: 'CHARACTER* character_point_instant::pCubeNpc' is protected within this context
- 2349 | bool IsCubeOpen() const { return (m_pointsInstant.pCubeNpc ? true : false); }
- | ^~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:586:15: note: declared protected here
- 586 | LPCHARACTER pCubeNpc;
- | ^~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'void CHARACTER::SetCubeNpc(LPCHARACTER)':
- char.h:2350:53: error: 'CHARACTER* character_point_instant::pCubeNpc' is protected within this context
- 2350 | void SetCubeNpc(LPCHARACTER npc) { m_pointsInstant.pCubeNpc = npc; }
- | ^~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:586:15: note: declared protected here
- 586 | LPCHARACTER pCubeNpc;
- | ^~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'CEntity* CHARACTER::DragonSoul_RefineWindow_GetOpener()':
- char.h:2553:73: error: 'CEntity* character_point_instant::m_pDragonSoulRefineWindowOpener' is protected within this context
- 2553 | LPENTITY DragonSoul_RefineWindow_GetOpener() { return m_pointsInstant.m_pDragonSoulRefineWindowOpener; }
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:607:12: note: declared protected here
- 607 | LPENTITY m_pDragonSoulRefineWindowOpener;
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'CItem** CHARACTER::GetAuraMaterials()':
- char.h:2635:54: error: 'CItem* character_point_instant::pAuraMaterials [2]' is protected within this context
- 2635 | LPITEM* GetAuraMaterials() { return m_pointsInstant.pAuraMaterials; }
- | ^~~~~~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:591:12: note: declared protected here
- 591 | LPITEM pAuraMaterials[AURA_WINDOW_MAX_MATERIALS];
- | ^~~~~~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h: In member function 'CItem** CHARACTER::GetClWindowMaterials()':
- char.h:2664:58: error: 'CItem* character_point_instant::pClMaterials [3]' is protected within this context
- 2664 | LPITEM* GetClWindowMaterials() { return m_pointsInstant.pClMaterials; }
- | ^~~~~~~~~~~~
- In file included from BattleArena.cpp:7:
- char.h:594:12: note: declared protected here
- 594 | LPITEM pClMaterials[CL_WINDOW_MAX_MATERIALS];
- | ^~~~~~~~~~~~
- [/CODE]
12