Add IVEngineClient::GetScreenSize.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe 2016-12-19 18:55:16 +00:00
parent dc524f61aa
commit 1c2adbba17
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
class IVEngineClient {
public:
void GetScreenSize(int& width, int& height) {
return GetVirtualFunction<void(*)(IVEngineClient*, int&, int&)>(this, 5)(this, width, height);
}
bool Con_IsVisible() {
return GetVirtualFunction<bool(*)(IVEngineClient*)>(this, 11)(this);
}