2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:07:41 +00:00

initial CGraphics class

This commit is contained in:
Jack Andersen
2016-02-11 16:36:34 -10:00
parent 93f8ae8905
commit 43a818d1a3
6 changed files with 122 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
#include "CAABox.hpp"
#include "CToken.hpp"
#include "CLight.hpp"
#include "CGraphics.hpp"
#include "CRandom16.hpp"
namespace Retro
@@ -110,7 +111,7 @@ protected:
bool x225_29 = false;
bool x226;
int x228_MBSP;
bool x22c = false;
ERglLight x22c_backupLightActive = ERglLight::None;
CRandom16 x230_randState;
std::vector<std::unique_ptr<CElementGen>> x234_activePartChildren;
int x244_CSSD = 0;
@@ -183,6 +184,10 @@ public:
u32 GetParticleCountAllInternal() const;
u32 GetParticleCountAll() const {return x20c_recursiveParticleCount;}
void RenderModels();
void RenderLines();
void RenderParticles();
virtual void Update(double);
bool InternalUpdate(double);
virtual void Render();