mirror of
https://github.com/zeldaret/ph
synced 2026-06-10 20:58:33 -04:00
Remove #ifdef STUBS
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#include "Actor/Actor.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
Actor::Actor() {}
|
||||
Actor::~Actor() {}
|
||||
bool Actor::vfunc_08() {}
|
||||
@@ -105,5 +103,3 @@ void Actor::vfunc_b0() {}
|
||||
void Actor::GetLinkPos(Vec3p *result) {}
|
||||
void Actor::GetLinkDummyPos(Vec3p *result) {}
|
||||
Actor_UnkStruct_09c::Actor_UnkStruct_09c() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void ActorManager::DeleteActor(u32 index, bool param2) {}
|
||||
void ActorManager::func_ov00_020c3484(ActorRef *ref, Actor *actor, unk32 param3) {}
|
||||
void ActorManager::Actor_vfunc_10(u32 param1) {}
|
||||
@@ -19,5 +17,3 @@ s32 ActorManager::func_ov00_020c3bb0(unk32 param1, s32 *param2) {}
|
||||
void ActorManager::func_ov00_020c3ce8(unk32 param1, unk32 param2) {}
|
||||
void ActorManager::Actor_vfunc_28() {}
|
||||
bool ActorManager::ActorTypeIsOneOf(u32 type, u32 *types) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "Item/Item.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
bool Item::func_ov00_020ad020(ItemId item) {}
|
||||
bool Item::func_ov00_020ad068(ItemId item) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Map/Course.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void Course::GetDungeonProgress(CourseProgress *param_2) {}
|
||||
void Course::func_ov00_0207ca28(s32 param_2, unk32 param_3, unk32 param_4) {}
|
||||
char* Course::SetCourseName(char *src) {}
|
||||
@@ -51,5 +49,3 @@ void Course::SetMapDataFlag4(unk32 param_2, unk32 param_3) {}
|
||||
bool Course::GetMapDataFlag4(unk32 param_2) {}
|
||||
MapData* Course::FindMapData(u32 map) {}
|
||||
MapData* Course::FindCurrentMapData() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "Map/MapBase.hpp"
|
||||
#include "Map/MapManager.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
MapBase::~MapBase() {}
|
||||
MapBase_Unk_180::~MapBase_Unk_180() {}
|
||||
void MapBase::SetBounds(unk32 map, unk32 course) {}
|
||||
@@ -112,5 +110,3 @@ unk32 TriggerBase::vfunc_10() {}
|
||||
void MapBase::func_ov00_02080de4() {}
|
||||
unk8 MapBase::func_ov00_02080de8(unk32 param_2) {}
|
||||
void MapBase::func_ov00_02080edc() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Map/MapManager.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void MapManager::func_ov00_020820ec(unk32 *param_2) {}
|
||||
void MapManager::func_ov00_020820fc(s32 param_2, unk32 param_3, unk32 param_4) {}
|
||||
unk8 MapManager::func_ov00_0208210c(unk32 param_2, unk32 param_3) {}
|
||||
@@ -200,5 +198,3 @@ unk8 MapManager::func_ov00_02085c60(unk32 param_2, unk32 param_3, unk32 param_4,
|
||||
unk8 MapManager::func_ov00_02086044(unk32 param_2, unk32 param_3, unk32 param_4) {}
|
||||
bool MapManager::func_ov00_02086284(s32 *param_2, Vec3p *param_3, Vec3p *param_4, s32 param_5, u16 param_6, Vec3p *param_7, Vec3p *param_8) {}
|
||||
bool MapManager::func_ov00_02086a84(s32 *param_2, Vec3p *param_3, Vec3p *param_4, s32 param_5, s32 param_6, unk32 param_7, Vec3p *param_8, Vec3p *param_9) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateBase.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateBase::vfunc_00() {}
|
||||
void LinkStateBase::OnStateEnter() {}
|
||||
void LinkStateBase::OnStateLeave(s32 param1) {}
|
||||
@@ -85,5 +83,3 @@ unk32 LinkStateBase::Get_PlayerControlData_Unk120() {}
|
||||
s32 LinkStateBase::Get_PlayerLinkBase_Unk38() {}
|
||||
DebugHierarchy* LinkStateBase::GetDebugHierarchy0() {}
|
||||
DebugHierarchy* LinkStateBase::GetDebugHierarchy1() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateDamage.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateDamage::vfunc_00() {}
|
||||
void LinkStateDamage::CreateDebugHierarchy() {}
|
||||
void LinkStateDamage::OnStateEnter() {}
|
||||
@@ -16,5 +14,3 @@ bool LinkStateDamage::vfunc_24(s32 param1) {}
|
||||
bool LinkStateDamage::vfunc_20(s32 param1) {}
|
||||
void LinkStateDamage::func_ov00_020acfe8(bool param1) {}
|
||||
LinkStateId LinkStateDamage::GetId() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateFollow.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateFollow::vfunc_00() {}
|
||||
LinkStateId LinkStateFollow::GetId() {}
|
||||
void LinkStateFollow::MoveTowardTarget() {}
|
||||
@@ -12,5 +10,3 @@ LinkStateCutscene* LinkStateFollow::GetLinkStateCutscene() {}
|
||||
bool LinkStateFollow::vfunc_34(Vec3p *param1) {}
|
||||
bool LinkStateFollow::func_ov00_020a9180(Vec3p *param1) {}
|
||||
bool LinkStateFollow::func_ov00_020a9210(Vec3p *param1, Actor *param2) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateInteract.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateInteract::vfunc_00() {}
|
||||
LinkStateId LinkStateInteract::GetId() {}
|
||||
void LinkStateInteract::CreateDebugHierarchy() {}
|
||||
@@ -30,5 +28,3 @@ void LinkStateInteract::func_ov00_020abbdc(ActorRef *ref) {}
|
||||
void LinkStateInteract::func_ov00_020abc18(ActorRef *ref) {}
|
||||
bool LinkStateInteract::func_ov00_020abc40() {}
|
||||
bool LinkStateInteract::func_ov00_020abc78(ActorRef *ref) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateItem.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateItem::vfunc_00() {}
|
||||
LinkStateId LinkStateItem::GetId() {}
|
||||
s32 LinkStateItem::IsHammerEquipped() {}
|
||||
@@ -10,5 +8,3 @@ EquipBombchu* LinkStateItem::GetEquipBombchu() {}
|
||||
LinkStateMove* LinkStateItem::GetLinkStateMove() {}
|
||||
bool LinkStateItem::func_ov00_020abf70() {}
|
||||
bool LinkStateItem::vfunc_28() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateMove.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateMove::vfunc_00() {}
|
||||
LinkStateId LinkStateMove::GetId() {}
|
||||
void LinkStateMove::CreateDebugHierarchy() {}
|
||||
@@ -10,5 +8,3 @@ void LinkStateMove::OnStateLeave(s32 param1) {}
|
||||
bool LinkStateMove::vfunc_24(s32 param1) {}
|
||||
bool LinkStateMove::func_ov00_020a8f2c() {}
|
||||
bool LinkStateMove::func_ov00_020a8f4c() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/LinkStateRoll.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
void LinkStateRoll::vfunc_00() {}
|
||||
LinkStateId LinkStateRoll::GetId() {}
|
||||
void LinkStateRoll::CreateDebugHierarchy() {}
|
||||
@@ -12,5 +10,3 @@ bool LinkStateRoll::vfunc_24(s32 param1) {}
|
||||
void LinkStateRoll::func_ov00_020aee58(s16 param1, u16 param2) {}
|
||||
void LinkStateRoll::func_ov00_020aee84() {}
|
||||
bool LinkStateRoll::func_ov00_020aeeac() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/PlayerLinkBase.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
bool PlayerBase::vfunc_04() {}
|
||||
ItemFlag PlayerBase::GetEquipId() {}
|
||||
bool PlayerBase::CanMove() {}
|
||||
@@ -20,5 +18,3 @@ void PlayerBase::AddHealth(s16 amount) {}
|
||||
bool PlayerBase::Teleport(Vec3p *pos, s16 angle, unk32 param3, bool param4, bool param5) {}
|
||||
bool PlayerBase::TeleportToEntrance(unk32 entranceId, bool param2) {}
|
||||
bool PlayerBase::TeleportToLastEntrance(bool param1) {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/PlayerControl.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
bool PlayerControl::func_ov00_020aeeac() {}
|
||||
void PlayerControl::func_ov00_020aeef8() {}
|
||||
void PlayerControl::func_ov00_020aef30() {}
|
||||
@@ -52,5 +50,3 @@ bool PlayerControl::IsNotTouching() {}
|
||||
bool PlayerControl::IsTouchingFast() {}
|
||||
bool PlayerControl::IsTappedNow() {}
|
||||
bool PlayerControl::func_ov00_020b13c4() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/TouchControl.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
TouchControl::TouchControl() {}
|
||||
void TouchControl::IncreaseSpeed(s16 increase) {}
|
||||
void TouchControl::UpdateFlags(u16 speed) {}
|
||||
@@ -11,5 +9,3 @@ bool TouchControl::func_ov00_0207aeac() {}
|
||||
void TouchControl::UpdateConditionally(TouchState *state, u16 speed) {}
|
||||
void TouchControl::func_ov00_0207af38(u16 speed, bool param2) {}
|
||||
TouchControl::~TouchControl() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Player/TouchGesture.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
TouchGesture::TouchGesture() {}
|
||||
void TouchGesture::ResetTouchHistory() {}
|
||||
void TouchGesture::Update(void *param1) {}
|
||||
@@ -9,5 +7,3 @@ TouchGesture::~TouchGesture() {}
|
||||
|
||||
void TouchGestureBase::ResetTouchHistory() {}
|
||||
TouchGestureBase::~TouchGestureBase() {}
|
||||
|
||||
#endif STUBS
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Save/AdventureFlags.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
bool AdventureFlags::Exists() {}
|
||||
void AdventureFlags::CopyTo(unk32 *flags) {}
|
||||
void AdventureFlags::func_ov00_02097674() {}
|
||||
@@ -50,5 +48,3 @@ bool AdventureFlags::func_ov00_0209809c() {}
|
||||
bool AdventureFlags::func_ov00_020980ac() {}
|
||||
void AdventureFlags::func_ov00_020980bc(s32 param1) {}
|
||||
void AdventureFlags::func_ov00_020980d0() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Actor/ActorRupee.hpp"
|
||||
|
||||
#ifdef STUBS
|
||||
|
||||
Resource ActorRupee::gResource;
|
||||
ActorType ActorRupee::gType;
|
||||
|
||||
@@ -21,5 +19,3 @@ void ActorRupee::func_ov14_0213b5f4(RupeeId id, unk32 param2, Vec3p *param3, boo
|
||||
void ActorRupee::func_ov14_0213b6a4(RupeeId id, void *param2) {}
|
||||
bool ActorRupee::func_ov14_0213b70c(RupeeId id) {}
|
||||
ActorRupee::~ActorRupee() {}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,63 +33,45 @@ DTCM_OBJECTS = [
|
||||
ov00 = Overlay(name='ov00', after='ARM9', objects=[
|
||||
'asm/ov00/ov00_020773c0.s',
|
||||
|
||||
'src/00_Core/Player/TouchControl.cpp',
|
||||
'asm/ov00/Player/TouchControl.s',
|
||||
|
||||
'asm/ov00/ov00_0207afa0.s',
|
||||
|
||||
'asm/ov00/Map/Course.s',
|
||||
'src/00_Core/Map/Course.cpp',
|
||||
'asm/ov00/Map/MapBase.s',
|
||||
'src/00_Core/Map/MapBase.cpp',
|
||||
|
||||
'asm/ov00/ov00_0207da38.s',
|
||||
|
||||
'asm/ov00/Map/MapManager.s',
|
||||
'src/00_Core/Map/MapManager.cpp',
|
||||
|
||||
'asm/ov00/ov00_02086cd0.s',
|
||||
|
||||
'src/00_Core/Save/AdventureFlags.cpp',
|
||||
'asm/ov00/Save/AdventureFlags.s',
|
||||
|
||||
'asm/ov00/ov00_020980f4.s',
|
||||
|
||||
'src/00_Core/Player/PlayerBase.cpp',
|
||||
'asm/ov00/Player/PlayerBase.s',
|
||||
'src/00_Core/Player/LinkStateBase.cpp',
|
||||
'asm/ov00/Player/LinkStateBase.s',
|
||||
'src/00_Core/Player/LinkStateMove.cpp',
|
||||
'asm/ov00/Player/LinkStateMove.s',
|
||||
'src/00_Core/Player/LinkStateFollow.cpp',
|
||||
'asm/ov00/Player/LinkStateFollow.s',
|
||||
'src/00_Core/Player/TouchGesture.cpp',
|
||||
'asm/ov00/Player/TouchGesture.s',
|
||||
|
||||
'asm/ov00/ov00_020a8e04.s',
|
||||
|
||||
'src/00_Core/Player/LinkStateInteract.cpp',
|
||||
'asm/ov00/Player/LinkStateInteract.s',
|
||||
'src/00_Core/Player/LinkStateItem.cpp',
|
||||
'asm/ov00/Player/LinkStateItem.s',
|
||||
'src/00_Core/Player/LinkStateDamage.cpp',
|
||||
'asm/ov00/Player/LinkStateDamage.s',
|
||||
'src/00_Core/Item/Item.cpp',
|
||||
'asm/ov00/Item/Item.s',
|
||||
'src/00_Core/Item/ItemManager.cpp',
|
||||
'src/00_Core/Player/LinkStateRoll.cpp',
|
||||
'asm/ov00/Player/LinkStateRoll.s',
|
||||
'src/00_Core/Player/PlayerControl.cpp',
|
||||
'asm/ov00/Player/PlayerControl.s',
|
||||
|
||||
'asm/ov00/ov00_020b1498.s',
|
||||
|
||||
'src/00_Core/Actor/Actor.cpp',
|
||||
'asm/ov00/Actor/Actor.s',
|
||||
|
||||
'asm/ov00/ov00_020c3348.s',
|
||||
|
||||
'src/00_Core/Actor/ActorManager.cpp',
|
||||
'asm/ov00/Actor/ActorManager.s',
|
||||
|
||||
'asm/ov00/ov00_020c3e54.s',
|
||||
@@ -136,7 +118,6 @@ ov13 = Overlay(name='ov13', after=[ov04, ov05, ov06, ov07], objects=[
|
||||
ov14 = Overlay(name='ov14', after=[ov08, ov09, ov10, ov13], objects=[
|
||||
'asm/ov14/ov14_0211f640.s',
|
||||
|
||||
'src/14_Land/Actor/ActorRupee.cpp',
|
||||
'asm/ov14/Actor/ActorRupee.s',
|
||||
|
||||
'asm/ov14/ov14_0213b778.s',
|
||||
|
||||
@@ -38,7 +38,6 @@ cc.extend([
|
||||
'-i', include_dir,
|
||||
'-i', libc_include_dir,
|
||||
'-i', libcpp_include_dir,
|
||||
'-DSTUBS',
|
||||
args.file
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user