mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
CVisorFlare: Pass flares by value and use std::move
Same behavior, but allows calling code to move into the parameter and avoid copies entirely.
This commit is contained in:
@@ -12,9 +12,9 @@ class CScriptVisorFlare : public CActor {
|
||||
bool x11c_notInRenderLast = true;
|
||||
|
||||
public:
|
||||
CScriptVisorFlare(TUniqueId, std::string_view name, const CEntityInfo& info, bool, const zeus::CVector3f&,
|
||||
CVisorFlare::EBlendMode blendMode, bool, float, float, float, u32, u32,
|
||||
const std::vector<CVisorFlare::CFlareDef>& flares);
|
||||
CScriptVisorFlare(TUniqueId uid, std::string_view name, const CEntityInfo& info, bool active,
|
||||
const zeus::CVector3f& pos, CVisorFlare::EBlendMode blendMode, bool, float, float, float, u32, u32,
|
||||
std::vector<CVisorFlare::CFlareDef> flares);
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
void Think(float, CStateManager& stateMgr) override;
|
||||
|
||||
Reference in New Issue
Block a user