Add almost matched CScriptControllerAction

Former-commit-id: 5ba677a41b
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-03 13:35:43 +02:00
parent 2dc0b02295
commit a0f60b1db3
7 changed files with 101 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
#ifndef _CSCRIPTCONTROLLERACTION
#define _CSCRIPTCONTROLLERACTION
#include "MetroidPrime/CEntity.hpp"
#include "MetroidPrime/CControlMapper.hpp"
class CScriptControllerAction : public CEntity {
ControlMapper::ECommands x34_command;
uint x38_mapScreenSubaction;
bool x3c_24_mapScreenResponse : 1;
bool x3c_25_deactivateOnClose : 1;
bool x3c_26_pressed : 1;
public:
CScriptControllerAction(TUniqueId uid, const rstl::string& name, const CEntityInfo& info,
bool active, ControlMapper::ECommands command, bool b1, uint w1, bool b2);
~CScriptControllerAction();
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
};
#endif // _CSCRIPTCONTROLLERACTION