Debug overlay cleanup

This commit is contained in:
Kawe Mazidjatari 2023-01-24 18:43:00 +01:00
parent e281aea990
commit 8d6358512b

View File

@ -47,13 +47,13 @@ struct OverlayBase_t
} }
bool IsDead(void) const; bool IsDead(void) const;
OverlayType_t m_Type {}; // What type of overlay is it? OverlayType_t m_Type; // What type of overlay is it?
int m_nCreationTick{}; // Duration -1 means go away after this frame # int m_nCreationTick; // Duration -1 means go away after this frame #
float m_flEndTime {}; // When does this box go away float m_flEndTime; // When does this box go away
int m_nServerCount {}; // Latch server count, too int m_nServerCount; // Latch server count, too
OverlayBase_t* m_pNextOverlay {}; // 16 OverlayBase_t* m_pNextOverlay; // 16
int m_nOverlayTick {}; // 24 int m_nOverlayTick; // 24
int m_nFlags{}; // Maybe int m_nFlags; // Maybe
}; };
struct OverlayBox_t : public OverlayBase_t struct OverlayBox_t : public OverlayBase_t
@ -76,40 +76,40 @@ struct OverlayBox_t : public OverlayBase_t
}; };
Transforms transforms; Transforms transforms;
Vector3D mins{}; Vector3D mins;
Vector3D maxs{}; Vector3D maxs;
int r{}; int r;
int g{}; int g;
int b{}; int b;
int a{}; int a;
bool noDepthTest{}; bool noDepthTest;
}; };
struct OverlaySphere_t : public OverlayBase_t struct OverlaySphere_t : public OverlayBase_t
{ {
OverlaySphere_t(void) { m_Type = OverlayType_t::OVERLAY_SPHERE; } OverlaySphere_t(void) { m_Type = OverlayType_t::OVERLAY_SPHERE; }
Vector3D vOrigin{}; Vector3D vOrigin;
float flRadius{}; float flRadius;
int nTheta{}; int nTheta;
int nPhi{}; int nPhi;
int r{}; int r;
int g{}; int g;
int b{}; int b;
int a{}; int a;
}; };
struct OverlayLine_t : public OverlayBase_t struct OverlayLine_t : public OverlayBase_t
{ {
OverlayLine_t(void) { m_Type = OverlayType_t::OVERLAY_LINE; } OverlayLine_t(void) { m_Type = OverlayType_t::OVERLAY_LINE; }
Vector3D origin{}; Vector3D origin;
Vector3D dest{}; Vector3D dest;
int r{}; int r;
int g{}; int g;
int b{}; int b;
int a{}; int a;
bool noDepthTest{}; bool noDepthTest;
}; };
struct OverlayTriangle_t : public OverlayBase_t struct OverlayTriangle_t : public OverlayBase_t