mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2024-11-26 23:00:25 +00:00
Library/Obj: Refactor AllDeadWatcher
(#171)
Some checks failed
Compile and verify functions / compile_verify (push) Has been cancelled
Copy headers to separate repo / copy_headers (push) Has been cancelled
lint / clang-format (push) Has been cancelled
lint / custom-lint (push) Has been cancelled
progress / publish_progress (push) Has been cancelled
Some checks failed
Compile and verify functions / compile_verify (push) Has been cancelled
Copy headers to separate repo / copy_headers (push) Has been cancelled
lint / clang-format (push) Has been cancelled
lint / custom-lint (push) Has been cancelled
progress / publish_progress (push) Has been cancelled
This commit is contained in:
parent
077aa4c654
commit
afd3be64a5
@ -60359,8 +60359,8 @@ Address,Quality,Size,Name
|
||||
0x0000007100961ee8,O,000004,_ZN2al14AllDeadWatcher4killEv
|
||||
0x0000007100961eec,O,000100,_ZN2al14AllDeadWatcher8exeWatchEv
|
||||
0x0000007100961f50,O,000076,_ZN2al14AllDeadWatcher7exeWaitEv
|
||||
0x0000007100961f9c,U,000100,
|
||||
0x0000007100962000,U,000080,
|
||||
0x0000007100961f9c,O,000100,_ZNK12_GLOBAL__N_122AllDeadWatcherNrvWatch7executeEPN2al11NerveKeeperE
|
||||
0x0000007100962000,O,000080,_ZNK12_GLOBAL__N_121AllDeadWatcherNrvWait7executeEPN2al11NerveKeeperE
|
||||
0x0000007100962050,U,000316,_ZN2al10BgmPlayObjC2EPKcb
|
||||
0x000000710096218c,U,000320,_ZN2al10BgmPlayObjC1EPKcb
|
||||
0x00000071009622cc,U,001116,_ZN2al10BgmPlayObj4initERKNS_13ActorInitInfoE
|
||||
|
Can't render this file because it is too large.
|
@ -3,10 +3,20 @@
|
||||
#include "Library/LiveActor/ActorDrawFunction.h"
|
||||
#include "Library/LiveActor/ActorInitFunction.h"
|
||||
#include "Library/LiveActor/LiveActorUtil.h"
|
||||
#include "Library/Nerve/NerveSetupUtil.h"
|
||||
#include "Library/Nerve/NerveUtil.h"
|
||||
#include "Library/Placement/PlacementFunction.h"
|
||||
#include "Library/Stage/StageSwitchKeeper.h"
|
||||
|
||||
namespace {
|
||||
using namespace al;
|
||||
|
||||
NERVE_IMPL(AllDeadWatcher, Watch)
|
||||
NERVE_IMPL(AllDeadWatcher, Wait)
|
||||
|
||||
NERVES_MAKE_STRUCT(AllDeadWatcher, Watch, Wait)
|
||||
} // namespace
|
||||
|
||||
namespace al {
|
||||
AllDeadWatcher::AllDeadWatcher(const char* name) : LiveActor(name) {}
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "Library/LiveActor/LiveActor.h"
|
||||
#include "Library/Nerve/NerveSetupUtil.h"
|
||||
|
||||
namespace al {
|
||||
class AllDeadWatcher : public LiveActor {
|
||||
@ -23,11 +22,4 @@ private:
|
||||
};
|
||||
|
||||
static_assert(sizeof(AllDeadWatcher) == 0x120);
|
||||
|
||||
namespace {
|
||||
NERVE_IMPL(AllDeadWatcher, Watch);
|
||||
NERVE_IMPL(AllDeadWatcher, Wait);
|
||||
|
||||
NERVES_MAKE_STRUCT(AllDeadWatcher, Watch, Wait);
|
||||
} // namespace
|
||||
} // namespace al
|
||||
|
Loading…
Reference in New Issue
Block a user