mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 22:27:40 +00:00
Improve match for CScriptSpecialFunction::Render
Former-commit-id: 80843df748
This commit is contained in:
@@ -67,6 +67,13 @@ public:
|
||||
CVector3f ClampToBox(const CVector3f& vec) const;
|
||||
CAABox GetTransformedAABox(const CTransform4f& xf) const;
|
||||
|
||||
inline CVector3f GetExtents() const {
|
||||
// Name is a guess
|
||||
CVector3f result = max - min;
|
||||
result *= 0.5f;
|
||||
return result;
|
||||
}
|
||||
|
||||
const CVector3f& GetMinPoint() const { return min; }
|
||||
const CVector3f& GetMaxPoint() const { return max; }
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
// RotateZ__12CTransform4fFRC9CRelAngle
|
||||
// Scale__12CTransform4fFf
|
||||
// Scale__12CTransform4fFfff
|
||||
// Scale__12CTransform4fFRC9CVector3f
|
||||
static CTransform4f Scale(const CVector3f&);
|
||||
// ScaleBy__12CTransform4fFf
|
||||
// SetRotation__12CTransform4fFRC12CTransform4f
|
||||
// SetRotation__12CTransform4fFRC9CMatrix3f
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
virtual void DrawModelFlat();
|
||||
virtual void SetWireframeFlags();
|
||||
virtual void SetWorldFog();
|
||||
virtual void RenderFogVolume();
|
||||
virtual void RenderFogVolume(const CColor&, const CAABox&, const TLockedToken<CModel>*, const CSkinnedModel*);
|
||||
virtual void SetThermal();
|
||||
virtual void SetThermalColdScale();
|
||||
virtual void DoThermalBlendCold();
|
||||
|
||||
@@ -147,6 +147,7 @@ public:
|
||||
xef4_pendingScreenTex.xc_extent = extent;
|
||||
}
|
||||
const SOnScreenTex& GetPendingScreenTex() const { return xef4_pendingScreenTex; }
|
||||
float IntegrateVisorFog(float f);
|
||||
|
||||
void SetShouldQuitGame(bool should) { xf94_25_quitGame = should; }
|
||||
void SetSkipCinematicSpecialFunction(TUniqueId id) { xf38_skipCineSpecialFunc = id; }
|
||||
|
||||
Reference in New Issue
Block a user