2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-09 10:59:07 +00:00
metaforce/Runtime/World/CEffect.hpp
Lioncash cabbfcc320 CActor: Make AddToRenderer() non-const
This member function alters instance state in a few implementations, so
it shouldn't be made const.

The state manager parameter also shouldn't be const. Retrieved data
from the post constructed instance is further modified in some
implementations. This removes the constness on this parameter in order
to fix more const_cast usages in a follow-up change.
2020-04-06 00:52:10 -04:00

16 lines
375 B
C++

#pragma once
#include "Runtime/World/CActor.hpp"
namespace urde {
class CEffect : public CActor {
public:
CEffect(TUniqueId uid, const CEntityInfo& info, bool active, std::string_view name, const zeus::CTransform& xf);
void AddToRenderer(const zeus::CFrustum&, CStateManager&) override {}
void Render(const CStateManager&) const override {}
};
} // namespace urde