mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-05-15 09:51:20 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
22 lines
472 B
C++
22 lines
472 B
C++
#ifndef _CSCRIPTSWITCH
|
|
#define _CSCRIPTSWITCH
|
|
|
|
#include "types.h"
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
class CScriptSwitch : public CEntity {
|
|
public:
|
|
CScriptSwitch(TUniqueId uid, const rstl::string& name, const CEntityInfo& info, bool, bool, bool);
|
|
|
|
void Accept(IVisitor& visitor);
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr);
|
|
~CScriptSwitch();
|
|
|
|
private:
|
|
uchar mOpened;
|
|
uchar mCloseOnOpened;
|
|
};
|
|
|
|
#endif // _CSCRIPTSWITCH
|