mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
Add AddScreenTextOverlay overload (#128)
TF2's VScript update appears to add a new member to the overlay interface. Discovered by cross-referencing VDebugOverlay003 argument counts / inferred types in disassembly on Windows. NDebugOverlay::ScreenText was affected by this change differently on Windows and Linux, so it suggests an overload.
This commit is contained in:
parent
7baac403d7
commit
2d3560994f
@ -39,6 +39,7 @@ public:
|
||||
virtual void AddTextOverlay(const Vector& origin, float duration, const char *format, ...) = 0;
|
||||
virtual void AddTextOverlay(const Vector& origin, int line_offset, float duration, const char *format, ...) = 0;
|
||||
virtual void AddScreenTextOverlay(float flXPos, float flYPos,float flDuration, int r, int g, int b, int a, const char *text) = 0;
|
||||
virtual void AddScreenTextOverlay(float flXPos, float flYPos, int line_offset, float flDuration, int r, int g, int b, int a, const char *text) = 0;
|
||||
virtual void AddSweptBoxOverlay(const Vector& start, const Vector& end, const Vector& mins, const Vector& max, const QAngle & angles, int r, int g, int b, int a, float flDuration) = 0;
|
||||
virtual void AddGridOverlay(const Vector& origin) = 0;
|
||||
virtual int ScreenPosition(const Vector& point, Vector& screen) = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user