Revert "Implemented frontend inputs."

This commit is contained in:
aap 2019-07-02 22:05:11 +02:00 committed by GitHub
parent 743668c5c4
commit e8215cf560
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 126 additions and 1488 deletions

View file

@ -1355,14 +1355,10 @@ psSelectDevice()
{
while ( !modeFound && GcurSelVM < RwEngineGetNumVideoModes() )
{
RECT Rect;
GetWindowRect(GetDesktopWindow(), &Rect);
printf(gString, "Cannot find %dx%dx32 video mode", Rect.right, Rect.bottom);
RwEngineGetVideoModeInfo(&vm, GcurSelVM);
if ( defaultFullscreenRes && vm.width != Rect.right
|| vm.height != Rect.bottom
|| vm.depth != 32
if ( defaultFullscreenRes && vm.width != 640
|| vm.height != 480
|| vm.depth != 16
|| !(vm.flags & rwVIDEOMODEEXCLUSIVE) )
++GcurSelVM;
else
@ -1371,7 +1367,7 @@ psSelectDevice()
if ( !modeFound )
{
MessageBox(nil, gString, "GTA3", MB_OK);
MessageBox(nil, "Cannot find 640x480 video mode", "GTA3", MB_OK);
return FALSE;
}
}