2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:51:21 +00:00
metaforce/Runtime/World/CScriptControllerAction.hpp
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00

28 lines
688 B
C++

#pragma once
#include "CEntity.hpp"
#include "Input/ControlMapper.hpp"
namespace urde {
class CScriptControllerAction : public CEntity {
ControlMapper::ECommands x34_command;
u32 x38_mapScreenSubaction;
union {
struct {
bool x3c_24_mapScreenResponse : 1;
bool x3c_25_deactivateOnClose : 1;
bool x3c_26_pressed : 1;
};
u8 _dummy = 0;
};
public:
CScriptControllerAction(TUniqueId uid, std::string_view name, const CEntityInfo& info, bool active,
ControlMapper::ECommands command, bool b1, u32 w1, bool b2);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
};
} // namespace urde