mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +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:
@@ -49,7 +49,7 @@ private:
|
||||
u32 x30_w2;
|
||||
|
||||
public:
|
||||
CVisorFlare(EBlendMode blendMode, bool, float, float, float, u32, u32, const std::vector<CFlareDef>& flares);
|
||||
CVisorFlare(EBlendMode blendMode, bool, float, float, float, u32, u32, std::vector<CFlareDef> flares);
|
||||
void Update(float dt, const zeus::CVector3f& pos, const CActor* act, CStateManager& mgr);
|
||||
void Render(const zeus::CVector3f& pos, const CStateManager& mgr) const;
|
||||
static std::optional<CFlareDef> LoadFlareDef(CInputStream& in);
|
||||
|
||||
Reference in New Issue
Block a user