engine: move Sys_SendKeyEvents to platform/win32

This commit is contained in:
Alibek Omarov
2024-12-24 09:59:47 +03:00
parent f41450127a
commit bd0d6644e0
4 changed files with 24 additions and 17 deletions
-16
View File
@@ -234,22 +234,6 @@ qboolean Sys_GetIntFromCmdLine( const char* argName, int *out )
return true;
}
void Sys_SendKeyEvents( void )
{
#if XASH_WIN32
MSG msg;
while( PeekMessage( &msg, NULL, 0, 0, PM_NOREMOVE ))
{
if( !GetMessage( &msg, NULL, 0, 0 ))
Sys_Quit ();
TranslateMessage( &msg );
DispatchMessage( &msg );
}
#endif
}
//=======================================================================
// DLL'S MANAGER SYSTEM
//=======================================================================