mirror of
https://github.com/zeldaret/botw
synced 2026-10-13 22:55:34 -04:00
fa2b8b7d47
Rename classes and files so that they sort where their code is linked,
and move code that is linked inside another TU into that TU's file.
| Old | New | TU start |
|---|---|---|
| ActorAreaInOutSendMessage | AreaInOutSendMessage | 0x710009fa64 |
| AreaTagAction | AreaActionBase | 0x7100e21e64 |
| sndResource.{h,cpp} | sndSound.{h,cpp} | |
| Code | From | To |
|---|---|---|
| SoundMgr | sndMgr.h | sndSound.h |
| PlayReport | PlayReportMgr.cpp | PlayReport.cpp |
| PlayReport::addPlayTimes, addPosition | PlayReportMgr.cpp | ProductReporter.cpp |
(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
27 lines
670 B
C++
27 lines
670 B
C++
#pragma once
|
|
|
|
#include "Game/Actor/Area/Action/actionAreaActionBase.h"
|
|
#include "KingSystem/ActorSystem/actAiAction.h"
|
|
|
|
namespace uking::action {
|
|
|
|
class SetComebackPosition : public AreaActionBase {
|
|
SEAD_RTTI_OVERRIDE(SetComebackPosition, AreaActionBase)
|
|
public:
|
|
explicit SetComebackPosition(const InitArg& arg);
|
|
~SetComebackPosition() override;
|
|
|
|
bool init_(sead::Heap* heap) override;
|
|
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
|
void leave_() override;
|
|
void loadParams_() override;
|
|
|
|
protected:
|
|
void calc_() override;
|
|
|
|
// map_unit_param at offset 0x38
|
|
const float* mAngleY_m{};
|
|
};
|
|
|
|
} // namespace uking::action
|