2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2016-05-20 02:17:51 -07:00
|
|
|
|
2019-09-23 12:00:23 -07:00
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
#include "Runtime/GCNTypes.hpp"
|
|
|
|
#include "Runtime/Camera/CCameraFilter.hpp"
|
|
|
|
#include "Runtime/World/CEntity.hpp"
|
|
|
|
|
|
|
|
#include <zeus/CColor.hpp>
|
2016-05-20 02:17:51 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2018-12-07 21:30:43 -08:00
|
|
|
class CScriptCameraFilterKeyframe : public CEntity {
|
|
|
|
EFilterType x34_type;
|
|
|
|
EFilterShape x38_shape;
|
|
|
|
u32 x3c_filterIdx;
|
|
|
|
u32 x40_;
|
|
|
|
zeus::CColor x44_color;
|
|
|
|
float x48_timeIn;
|
|
|
|
float x4c_timeOut;
|
|
|
|
CAssetId x50_txtr;
|
2016-12-19 10:27:58 -08:00
|
|
|
|
2016-05-20 02:17:51 -07:00
|
|
|
public:
|
2021-05-26 07:00:57 -07:00
|
|
|
DEFINE_ENTITY
|
2018-12-07 21:30:43 -08:00
|
|
|
CScriptCameraFilterKeyframe(TUniqueId uid, std::string_view name, const CEntityInfo& info, EFilterType type,
|
|
|
|
EFilterShape shape, u32 filterIdx, u32 unk, const zeus::CColor& color, float timeIn,
|
|
|
|
float timeOut, CAssetId txtr, bool active);
|
2017-01-14 19:07:01 -08:00
|
|
|
|
2019-08-09 05:45:18 -07:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
|
|
|
void Accept(IVisitor& visitor) override;
|
2016-05-20 02:17:51 -07:00
|
|
|
};
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|