mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
34 lines
906 B
C++
34 lines
906 B
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
#include "Game/MapObj/MapObjConnector.hpp"
|
|
|
|
class ValveSwitch : public LiveActor {
|
|
public:
|
|
ValveSwitch(const char *);
|
|
|
|
virtual ~ValveSwitch();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual void initAfterPlacement();
|
|
virtual void control();
|
|
virtual void calcAndSetBaseMtx();
|
|
virtual bool receiveOtherMsg(u32, HitSensor *, HitSensor *);
|
|
|
|
void exeWait();
|
|
void exeAdjust();
|
|
void exeValve();
|
|
void exeEnd();
|
|
void updateBindActorMtx();
|
|
|
|
LiveActor* _8C;
|
|
TPos3f _90;
|
|
MapObjConnector* mObjConnector; // 0xC0
|
|
bool _C4;
|
|
};
|
|
|
|
namespace NrvValveSwitch {
|
|
NERVE_DECL_EXE(ValveSwitchNrvWait, ValveSwitch, Wait);
|
|
NERVE_DECL_EXE(ValveSwitchNrvAdjust, ValveSwitch, Adjust);
|
|
NERVE_DECL_EXE(ValveSwitchNrvValve, ValveSwitch, Valve);
|
|
NERVE_DECL_EXE(ValveSwitchNrvEnd, ValveSwitch, End);
|
|
}; |