mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Humungous refactor
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
|
||||
#include <memory>
|
||||
#include "GCNTypes.hpp"
|
||||
#include "CVector3f.hpp"
|
||||
#include "CColor.hpp"
|
||||
#include "zeus/CVector3f.hpp"
|
||||
#include "zeus/CColor.hpp"
|
||||
#include "IOStreams.hpp"
|
||||
|
||||
namespace pshag
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class IElement
|
||||
@@ -32,26 +32,26 @@ public:
|
||||
class CVectorElement : public IElement
|
||||
{
|
||||
public:
|
||||
virtual bool GetValue(int frame, Zeus::CVector3f& valOut) const=0;
|
||||
virtual bool GetValue(int frame, zeus::CVector3f& valOut) const=0;
|
||||
virtual bool IsFastConstant() const {return false;}
|
||||
};
|
||||
|
||||
class CModVectorElement : public IElement
|
||||
{
|
||||
public:
|
||||
virtual bool GetValue(int frame, Zeus::CVector3f& pVel, Zeus::CVector3f& pPos) const=0;
|
||||
virtual bool GetValue(int frame, zeus::CVector3f& pVel, zeus::CVector3f& pPos) const=0;
|
||||
};
|
||||
|
||||
class CColorElement : public IElement
|
||||
{
|
||||
public:
|
||||
virtual bool GetValue(int frame, Zeus::CColor& colorOut) const=0;
|
||||
virtual bool GetValue(int frame, zeus::CColor& colorOut) const=0;
|
||||
};
|
||||
|
||||
class CEmitterElement : public IElement
|
||||
{
|
||||
public:
|
||||
virtual bool GetValue(int frame, Zeus::CVector3f& pPos, Zeus::CVector3f& pVel) const=0;
|
||||
virtual bool GetValue(int frame, zeus::CVector3f& pPos, zeus::CVector3f& pVel) const=0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user