From 1c2adbba17b264c4332303dcf9371a289e5a0f25 Mon Sep 17 00:00:00 2001 From: aixxe Date: Mon, 19 Dec 2016 18:55:16 +0000 Subject: [PATCH] Add IVEngineClient::GetScreenSize. Signed-off-by: aixxe --- include/cstrike/Interfaces/IVEngineClient.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/cstrike/Interfaces/IVEngineClient.h b/include/cstrike/Interfaces/IVEngineClient.h index 9e01e41..02fec91 100644 --- a/include/cstrike/Interfaces/IVEngineClient.h +++ b/include/cstrike/Interfaces/IVEngineClient.h @@ -2,6 +2,10 @@ class IVEngineClient { public: + void GetScreenSize(int& width, int& height) { + return GetVirtualFunction(this, 5)(this, width, height); + } + bool Con_IsVisible() { return GetVirtualFunction(this, 11)(this); }