diff options
Diffstat (limited to 'src')
31 files changed, 205 insertions, 8 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp index b87b371e..96fbad4c 100644 --- a/src/00_Core/Item/ItemManager.cpp +++ b/src/00_Core/Item/ItemManager.cpp @@ -2,8 +2,8 @@ #include "DTCM/UnkStruct_027e0d38.hpp"
#include "DTCM/UnkStruct_027e0f78.hpp"
#include "Map/MapManager.hpp"
-#include "Player/HealthManager.hpp"
#include "Player/PlayerLinkBase.hpp"
+#include "Player/PlayerManager.hpp"
#include "Save/AdventureFlags.hpp"
#include "System/OverlayManager.hpp"
@@ -692,7 +692,7 @@ THUMB void ItemManager::GiveItem(ItemId id) { case ItemId_SalvageArm: {
SET_FLAG(mItemFlags.flags, ItemFlag_SalvageArm);
gAdventureFlags->Set(AdventureFlag_SalvageArm, true);
- gHealthManager->mSalvageArmHealth = 5;
+ gPlayerManager->mSalvageArmHealth = 5;
} break;
case ItemId_SwordsmanScroll: {
diff --git a/src/00_Core/Map/MapData.cpp b/src/00_Core/Map/MapData.cpp index 2df3b5c8..12e485e0 100644 --- a/src/00_Core/Map/MapData.cpp +++ b/src/00_Core/Map/MapData.cpp @@ -1,6 +1,6 @@ #include "Map/MapData.hpp" -MapData::MapData(u8 *map, unk8 param2, unk8 param3, unk32 param4, unk32 param5) {} +MapData::MapData(u8 *map, unk8 x, unk8 y, unk32 param4, unk32 param5) {} MapData::~MapData() {} void MapData::func_ov000_020972e4(u16 *param1, unk32 *param2, bool param3) {} void MapData::func_ov000_02097354() {} diff --git a/src/00_Core/Player/HealthManager.cpp b/src/00_Core/Player/HealthManager.cpp deleted file mode 100644 index aef87357..00000000 --- a/src/00_Core/Player/HealthManager.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include "Player/HealthManager.hpp" - -void HealthManager::Save(SaveItemManager *save) {} -void HealthManager::IncreaseMaxHealth(s16 amount) {} -void HealthManager::UpdateShipMaxHealth() {} diff --git a/src/00_Core/Player/PlayerManager.cpp b/src/00_Core/Player/PlayerManager.cpp new file mode 100644 index 00000000..c5e67e1d --- /dev/null +++ b/src/00_Core/Player/PlayerManager.cpp @@ -0,0 +1,5 @@ +#include "Player/PlayerManager.hpp" + +void PlayerManager::Save(SaveItemManager *save) {} +void PlayerManager::IncreaseMaxHealth(s16 amount) {} +void PlayerManager::UpdateShipMaxHealth() {} diff --git a/src/04_Load/Actor/ActorManager.cpp b/src/04_Load/Actor/ActorManager.cpp new file mode 100644 index 00000000..a1ace7fe --- /dev/null +++ b/src/04_Load/Actor/ActorManager.cpp @@ -0,0 +1,13 @@ +#include "Actor/ActorManager.hpp" + +void ActorManager::Create() {} +void ActorManager::Destroy() {} +ActorManager::ActorManager() {} +ActorManager::~ActorManager() {} +void ActorManager::func_ov004_0210532c() {} +void ActorManager::func_ov004_021053dc() {} +void ActorManager::func_ov004_021054a4(s32 *param1, s32 param2, unk32 param3) {} +void ActorManager::func_ov004_0210554c() {} +bool ActorManager::func_ov004_02105578(unk32 param1) {} +bool ActorManager::func_ov004_02105608(unk32 param1, unk32 param2, unk32 param3) {} +void ActorManager::func_ov004_021056b8() {}
\ No newline at end of file diff --git a/src/04_Load/Actor/Navi/ActorNaviBase.cpp b/src/04_Load/Actor/Navi/ActorNaviBase.cpp new file mode 100644 index 00000000..c4f5a069 --- /dev/null +++ b/src/04_Load/Actor/Navi/ActorNaviBase.cpp @@ -0,0 +1,6 @@ +#include "Actor/Navi/ActorNaviBase.hpp" + +ActorNaviBase::ActorNaviBase() {} +ActorNaviBase::~ActorNaviBase() {} +void func_ov004_021079d4(unk32 *param1) {} +bool ActorNaviBase::vfunc_08() {} diff --git a/src/04_Load/Cutscene/CutsceneHandler.cpp b/src/04_Load/Cutscene/CutsceneHandler.cpp new file mode 100644 index 00000000..924d03e3 --- /dev/null +++ b/src/04_Load/Cutscene/CutsceneHandler.cpp @@ -0,0 +1,6 @@ +#include "Cutscene/CutsceneHandler.hpp" + +CutsceneHandler::CutsceneHandler() {} +CutsceneHandler::~CutsceneHandler() {} +void CutsceneHandler::func_ov004_0210f3e4(s32 param1) {} +void CutsceneHandler::func_ov004_0210f46c() {} diff --git a/src/04_Load/DTCM/UnkStruct_027e103c.cpp b/src/04_Load/DTCM/UnkStruct_027e103c.cpp new file mode 100644 index 00000000..b14c5226 --- /dev/null +++ b/src/04_Load/DTCM/UnkStruct_027e103c.cpp @@ -0,0 +1,14 @@ +#include "DTCM/UnkStruct_027e103c.hpp" + +UnkStruct_027e103c::UnkStruct_027e103c() {} +void _Z19func_ov004_02104ce0v() {} +UnkStruct_027e103c::~UnkStruct_027e103c() {} +void UnkStruct_027e103c::Create() {} +void UnkStruct_027e103c::Destroy() {} +void UnkStruct_027e103c::func_ov004_02104d68() {} +bool UnkStruct_027e103c::func_ov004_02104f5c() {} +void UnkStruct_027e103c::func_ov004_02104f78() {} +void UnkStruct_027e103c::func_ov004_02104fa8() {} +void UnkStruct_027e103c::func_ov004_02104fb8() {} +void UnkStruct_027e103c::func_ov004_02104ffc(unk32 param1, unk32 param2) {} +void UnkStruct_027e103c::func_ov004_0210504c() {} diff --git a/src/04_Load/Debug/DebugHierarchy.cpp b/src/04_Load/Debug/DebugHierarchy.cpp new file mode 100644 index 00000000..a759227d --- /dev/null +++ b/src/04_Load/Debug/DebugHierarchy.cpp @@ -0,0 +1,3 @@ +#include "Debug/DebugHierarchy.hpp" + +DebugHierarchy::~DebugHierarchy() {} diff --git a/src/04_Load/Item/ItemManager.cpp b/src/04_Load/Item/ItemManager.cpp new file mode 100644 index 00000000..98475a9b --- /dev/null +++ b/src/04_Load/Item/ItemManager.cpp @@ -0,0 +1,11 @@ +#include "Item/ItemManager.hpp" + +ItemManager::ItemManager() {} +void ItemManager::Init() {} +ItemManager::~ItemManager() {} +void ItemManager::InitEquipItems() {} +void ItemManager::func_ov004_02107648() {} +void ItemManager::func_ov004_02107650() {} +void ItemManager::func_ov004_02107698() {} +void ItemManager::func_ov004_021076bc() {} +void ItemManager::SpawnFairies() {} diff --git a/src/04_Load/Item/ItemModelLoader.cpp b/src/04_Load/Item/ItemModelLoader.cpp new file mode 100644 index 00000000..b7d0e845 --- /dev/null +++ b/src/04_Load/Item/ItemModelLoader.cpp @@ -0,0 +1,4 @@ +#include "Item/ItemModelLoader.hpp" + +void ItemModelLoader::Create() {} +void ItemModelLoader::Destroy() {} diff --git a/src/04_Load/Map/Course.cpp b/src/04_Load/Map/Course.cpp new file mode 100644 index 00000000..6217d8b8 --- /dev/null +++ b/src/04_Load/Map/Course.cpp @@ -0,0 +1,10 @@ +#include "Map/Course.hpp" + +Course::Course() {} +Course::~Course() {} +bool Course::func_ov004_0210ee84(char *param1) {} +unk32 Course::func_ov004_0210ef90(unk32 param1) {} +void Course::func_ov004_0210f010() {} +void Course::LoadMapData(u8 *map, s32 x, s32 y, char param4, unk32 param5) {} +bool Course::func_ov004_0210f0fc(unk32 param1, unk16 *param2, s32 param3) {} +void Course::func_ov004_0210f140(s32 param1) {} diff --git a/src/04_Load/Map/MapBase.cpp b/src/04_Load/Map/MapBase.cpp new file mode 100644 index 00000000..7e93b2f0 --- /dev/null +++ b/src/04_Load/Map/MapBase.cpp @@ -0,0 +1,20 @@ +#include "Map/MapBase.hpp" + +MapBase_Unk_180::MapBase_Unk_180() {} +MapBase::MapBase(u32 param1, u32 param2) {} +void MapBase::vfunc_14() {} +void MapBase::func_ov004_0210c118() {} +void MapBase::vfunc_08(u32 param_2, u32 param_3, Course *param_4) {} +void MapBase::vfunc_0c(Course *param_2) {} +void MapBase::vfunc_10() {} +void MapBase::vfunc_2c() {} +void MapBase::vfunc_30(s32 param_2) {} +bool MapBase::vfunc_34(char *param_2) {} +void MapBase::vfunc_38() {} +void MapBase::vfunc_3c() {} +void MapBase::vfunc_40() {} +void MapBase::vfunc_44() {} +void MapBase::func_ov004_0210cb1c() {} +void MapBase::func_ov004_0210cb38() {} +void MapBase::func_ov004_0210cc20(Course *course) {} +void MapBase::func_ov004_0210cc58(Course *course, u32 map) {} diff --git a/src/04_Load/Map/MapManager.cpp b/src/04_Load/Map/MapManager.cpp new file mode 100644 index 00000000..74f9c617 --- /dev/null +++ b/src/04_Load/Map/MapManager.cpp @@ -0,0 +1,11 @@ +#include "Map/MapManager.hpp" + +MapManager::MapManager() {} +MapManager::~MapManager() {} +void MapManager::Create() {} +void MapManager::Destroy() {} +void MapManager::LoadMapTexSprites(s32 param1) {} +void MapManager::func_ov004_02102260() {} +void MapManager::func_ov004_02102264(unk32 *param1, char *param2) {} +void MapManager::func_ov004_021024c4(s32 param1, unk32 param2, unk32 param3) {} +void MapManager::func_ov004_021025d8() {} diff --git a/src/04_Load/Player/EquipItem.cpp b/src/04_Load/Player/EquipItem.cpp new file mode 100644 index 00000000..1192a561 --- /dev/null +++ b/src/04_Load/Player/EquipItem.cpp @@ -0,0 +1,5 @@ +#include "Player/EquipItem.hpp" + +EquipItem::EquipItem() {} +EquipItem::~EquipItem() {} +void EquipItem::vfunc_10() {} diff --git a/src/04_Load/Player/EquipShield.cpp b/src/04_Load/Player/EquipShield.cpp new file mode 100644 index 00000000..9dac9b72 --- /dev/null +++ b/src/04_Load/Player/EquipShield.cpp @@ -0,0 +1,4 @@ +#include "Player/EquipShield.hpp" + +EquipShield::EquipShield() {} +EquipShield::~EquipShield() {} diff --git a/src/04_Load/Player/EquipSword.cpp b/src/04_Load/Player/EquipSword.cpp new file mode 100644 index 00000000..d1ce0b39 --- /dev/null +++ b/src/04_Load/Player/EquipSword.cpp @@ -0,0 +1,4 @@ +#include "Player/EquipSword.hpp" + +EquipSword::EquipSword() {} +EquipSword::~EquipSword() {} diff --git a/src/04_Load/Player/LinkStateBase.cpp b/src/04_Load/Player/LinkStateBase.cpp new file mode 100644 index 00000000..183d78a4 --- /dev/null +++ b/src/04_Load/Player/LinkStateBase.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateBase.hpp" + +LinkStateBase::LinkStateBase(PlayerLinkBase *link) {} +LinkStateBase::~LinkStateBase() {} +void LinkStateBase::CreateDebugHierarchy() {} diff --git a/src/04_Load/Player/LinkStateCutscene.cpp b/src/04_Load/Player/LinkStateCutscene.cpp new file mode 100644 index 00000000..2d68fa4d --- /dev/null +++ b/src/04_Load/Player/LinkStateCutscene.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateCutscene.hpp" + +LinkStateCutscene::LinkStateCutscene(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateCutscene::~LinkStateCutscene() {} diff --git a/src/04_Load/Player/LinkStateDamage.cpp b/src/04_Load/Player/LinkStateDamage.cpp new file mode 100644 index 00000000..2eecae46 --- /dev/null +++ b/src/04_Load/Player/LinkStateDamage.cpp @@ -0,0 +1,6 @@ +#include "Player/LinkStateDamage.hpp" + +LinkStateDamage::LinkStateDamage(PlayerLinkBase *link) : + LinkStateBase(link) {} +unk32 *_Z19func_ov004_021083f4Piiii(unk32 *param1, unk32 param2, unk32 param3, unk32 param4) {} +LinkStateDamage::~LinkStateDamage() {} diff --git a/src/04_Load/Player/LinkStateFollow.cpp b/src/04_Load/Player/LinkStateFollow.cpp new file mode 100644 index 00000000..72e3789b --- /dev/null +++ b/src/04_Load/Player/LinkStateFollow.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateFollow.hpp" + +LinkStateFollow::LinkStateFollow(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateFollow::~LinkStateFollow() {} diff --git a/src/04_Load/Player/LinkStateInteract.cpp b/src/04_Load/Player/LinkStateInteract.cpp new file mode 100644 index 00000000..7775cf81 --- /dev/null +++ b/src/04_Load/Player/LinkStateInteract.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateInteract.hpp" + +LinkStateInteract::LinkStateInteract(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateInteract::~LinkStateInteract() {} diff --git a/src/04_Load/Player/LinkStateItem.cpp b/src/04_Load/Player/LinkStateItem.cpp new file mode 100644 index 00000000..b6d31fea --- /dev/null +++ b/src/04_Load/Player/LinkStateItem.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateItem.hpp" + +LinkStateItem::LinkStateItem(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateItem::~LinkStateItem() {} diff --git a/src/04_Load/Player/LinkStateMove.cpp b/src/04_Load/Player/LinkStateMove.cpp new file mode 100644 index 00000000..ffd5c89e --- /dev/null +++ b/src/04_Load/Player/LinkStateMove.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateMove.hpp" + +LinkStateMove::LinkStateMove(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateMove::~LinkStateMove() {} diff --git a/src/04_Load/Player/LinkStateRoll.cpp b/src/04_Load/Player/LinkStateRoll.cpp new file mode 100644 index 00000000..f2eea62f --- /dev/null +++ b/src/04_Load/Player/LinkStateRoll.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateRoll.hpp" + +LinkStateRoll::LinkStateRoll(PlayerLinkBase *link) : + LinkStateBase(link) {} +LinkStateRoll::~LinkStateRoll() {} diff --git a/src/04_Load/Player/PlayerBase.cpp b/src/04_Load/Player/PlayerBase.cpp new file mode 100644 index 00000000..de9d78a3 --- /dev/null +++ b/src/04_Load/Player/PlayerBase.cpp @@ -0,0 +1,4 @@ +#include "Player/PlayerBase.hpp" + +PlayerBase::PlayerBase() {} +PlayerBase::~PlayerBase() {} diff --git a/src/04_Load/Player/PlayerControl.cpp b/src/04_Load/Player/PlayerControl.cpp new file mode 100644 index 00000000..19c9ab7a --- /dev/null +++ b/src/04_Load/Player/PlayerControl.cpp @@ -0,0 +1,9 @@ +#include "Player/PlayerControl.hpp" + +PlayerControl::PlayerControl() {} +PlayerControl::~PlayerControl() {} +void PlayerControl::Create() {} +void PlayerControl::Destroy() {} +void PlayerControl::Init() {} +void PlayerControl::func_ov004_0210b1d0() {} +void PlayerControl::func_ov004_0210b1f0() {} diff --git a/src/04_Load/Player/PlayerControlData.cpp b/src/04_Load/Player/PlayerControlData.cpp new file mode 100644 index 00000000..a9be443d --- /dev/null +++ b/src/04_Load/Player/PlayerControlData.cpp @@ -0,0 +1,7 @@ +#include "Player/PlayerControlData.hpp" + +PlayerControlData::PlayerControlData() {} +PlayerControlData::~PlayerControlData() {} +void func_ov004_0210b634(unk32 *param1) {} +void PlayerControlData::vfunc_18() {} +void PlayerControlData::vfunc_1c() {} diff --git a/src/04_Load/Player/PlayerLinkBase.cpp b/src/04_Load/Player/PlayerLinkBase.cpp new file mode 100644 index 00000000..ab82b4dd --- /dev/null +++ b/src/04_Load/Player/PlayerLinkBase.cpp @@ -0,0 +1,6 @@ +#include "Player/PlayerLinkBase.hpp" + +PlayerLinkBase::PlayerLinkBase() {} +PlayerLinkBase::~PlayerLinkBase() {} +void PlayerLinkBase::Init() {} +void PlayerLinkBase::vfunc_20() {} diff --git a/src/04_Load/Player/PlayerManager.cpp b/src/04_Load/Player/PlayerManager.cpp new file mode 100644 index 00000000..d7e5cdb9 --- /dev/null +++ b/src/04_Load/Player/PlayerManager.cpp @@ -0,0 +1,8 @@ +#include "Player/PlayerManager.hpp" + +void PlayerManager::Create() {} +void PlayerManager::Destroy() {} +PlayerManager::PlayerManager() {} +PlayerManager::~PlayerManager() {} +void PlayerManager::Init(bool param1) {} +void PlayerManager::func_ov004_02108008() {} diff --git a/src/04_Load/Save/AdventureFlags.cpp b/src/04_Load/Save/AdventureFlags.cpp new file mode 100644 index 00000000..8588afef --- /dev/null +++ b/src/04_Load/Save/AdventureFlags.cpp @@ -0,0 +1,11 @@ +#include "Save/AdventureFlags.hpp" + +AdventureFlags::AdventureFlags() {} +AdventureFlags::~AdventureFlags() {} +void AdventureFlags::Create() {} +void AdventureFlags::Destroy() {} +void AdventureFlags::func_ov004_021044f8(s32 param1) {} +void AdventureFlags::func_ov004_0210453c() {} +bool AdventureFlags::func_ov004_0210455c(s32 param1) {} +void AdventureFlags::func_ov004_021046c8(unk32 param1) {} +void AdventureFlags::func_ov004_021046d4() {} |
