2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

D3D CElementGen rendering

This commit is contained in:
Jack Andersen
2016-02-16 17:42:27 -10:00
parent 468db3b203
commit 13e3afa72f
14 changed files with 429 additions and 16 deletions

View File

@@ -27,6 +27,9 @@ struct SParticleModel
TLockedToken<CModel> m_token;
bool m_found = false;
CModel* m_model = nullptr;
SParticleModel() = default;
SParticleModel(CToken&& tok, bool found)
: m_token(std::move(tok)), m_found(found) {}
};
struct SChildGeneratorDesc
@@ -34,6 +37,9 @@ struct SChildGeneratorDesc
TLockedToken<CGenDescription> m_token;
bool m_found = false;
CGenDescription* m_gen = nullptr;
SChildGeneratorDesc() = default;
SChildGeneratorDesc(CToken&& tok, bool found)
: m_token(std::move(tok)), m_found(found) {}
};
struct SSwooshGeneratorDesc
@@ -41,6 +47,9 @@ struct SSwooshGeneratorDesc
TLockedToken<CSwooshDescription> m_token;
bool m_found = false;
CSwooshDescription* m_swoosh = nullptr;
SSwooshGeneratorDesc() = default;
SSwooshGeneratorDesc(CToken&& tok, bool found)
: m_token(std::move(tok)), m_found(found) {}
};
struct SElectricGeneratorDesc
@@ -48,6 +57,9 @@ struct SElectricGeneratorDesc
TLockedToken<CElectricDescription> m_token;
bool m_found = false;
CElectricDescription* m_electric = nullptr;
SElectricGeneratorDesc() = default;
SElectricGeneratorDesc(CToken&& tok, bool found)
: m_token(std::move(tok)), m_found(found) {}
};
class CParticleDataFactory