mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Add some script loaders
This commit is contained in:
18
Runtime/World/CScriptTrigger.cpp
Normal file
18
Runtime/World/CScriptTrigger.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "CScriptTrigger.hpp"
|
||||
#include "Character/CModelData.hpp"
|
||||
#include "CActorParameters.hpp"
|
||||
#include "Collision/CMaterialList.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CScriptTrigger::CScriptTrigger(TUniqueId uid, const std::string& name, const CEntityInfo& info,
|
||||
const zeus::CVector3f& pos, const zeus::CAABox&,
|
||||
const CDamageInfo& dInfo, const zeus::CVector3f& orientedForce,
|
||||
u32, bool active, bool, bool)
|
||||
: CActor(uid, active, name, info, zeus::CTransform::Translate(pos), CModelData::CModelDataNull(),
|
||||
CMaterialList(34), CActorParameters::None(), kInvalidUniqueId)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user