mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-17 19:25:21 +00:00
@@ -26,6 +26,9 @@ public:
|
||||
void BuildConstantAmbientLighting(const CColor&);
|
||||
bool BuildAreaLightList(const CStateManager& mgr, const CGameArea& area, const CAABox& bounds);
|
||||
void BuildDynamicLightList(const CStateManager& mgr, const CAABox& bounds);
|
||||
void BuildFakeLightList(const rstl::vector<CLight>&, const CColor&);
|
||||
|
||||
void ActivateLights() const;
|
||||
|
||||
bool GetNeedsRelight() const { return x298_24_dirty == TRUE; }
|
||||
bool HasShadowLight() const { return x29c_shadowLightArrIdx != -1; }
|
||||
|
||||
34
include/MetroidPrime/CGameCubeDoll.hpp
Normal file
34
include/MetroidPrime/CGameCubeDoll.hpp
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef _CGAMECUBEDOLL
|
||||
#define _CGAMECUBEDOLL
|
||||
|
||||
#include "Kyoto/TToken.hpp"
|
||||
|
||||
#include "rstl/single_ptr.hpp"
|
||||
#include "rstl/vector.hpp"
|
||||
|
||||
class CActorLights;
|
||||
class CModel;
|
||||
class CLight;
|
||||
|
||||
class CGameCubeDoll {
|
||||
public:
|
||||
CGameCubeDoll();
|
||||
~CGameCubeDoll();
|
||||
|
||||
void Update(float dt);
|
||||
void Draw(float alpha);
|
||||
void Touch();
|
||||
bool CheckLoadComplete();
|
||||
bool IsLoaded() const;
|
||||
|
||||
private:
|
||||
CToken x0_model;
|
||||
rstl::vector< CLight > x8_lights;
|
||||
rstl::single_ptr< CActorLights > x18_actorLights;
|
||||
float x1c_fader;
|
||||
bool x20_24_loaded : 1;
|
||||
|
||||
void UpdateActorLights();
|
||||
};
|
||||
|
||||
#endif // _CGAMECUBEDOLL
|
||||
Reference in New Issue
Block a user