2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Proper CObjectList imps; CGameLight, and CScriptAiJumpPoint imps

This commit is contained in:
2016-10-01 12:00:16 -07:00
parent 2dad2e2051
commit 06468c778c
17 changed files with 299 additions and 25 deletions

View File

@@ -28,6 +28,7 @@ class CLight
friend class CGuiLight;
friend class CBooModel;
friend class CBooRenderer;
friend class CGameLight;
zeus::CVector3f x0_pos;
zeus::CVector3f xc_dir;
@@ -67,11 +68,15 @@ public:
x0_pos = pos;
}
const zeus::CVector3f& GetPosition() const { return x0_pos; }
void SetDirection(const zeus::CVector3f& dir)
{
xc_dir = dir;
}
const zeus::CVector3f& GetDirection() const { return xc_dir; }
void SetColor(const zeus::CColor& col)
{
x18_color = col;
@@ -107,6 +112,8 @@ public:
return x44_cachedRadius;
}
ELightType GetType() const { return x1c_type; }
float GetIntensity() const;
const zeus::CColor& GetColor() const { return x18_color; }