1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-14 22:03:27 +01:00

#369 add support for Fallout Tactics

This commit is contained in:
FunkyFr3sh 2024-12-19 20:33:55 +01:00
parent 067dab35e2
commit 39ba7259b8
2 changed files with 11 additions and 0 deletions

View File

@ -952,6 +952,10 @@ static void cfg_create_ini()
"[FABLE]\n"
"singlecpu=false\n"
"\n"
"; Fallout Tactics: Brotherhood of Steel\n"
"[BOS]\n"
"hook_peekmessage=true\n"
"\n"
"; Falcon 4.0 (Microprose version)\n"
"[falcon4]\n"
"singlecpu=false\n"

View File

@ -1922,6 +1922,13 @@ HWND WINAPI fake_CreateWindowExA(
dwExStyle |= WS_EX_APPWINDOW;
}
/* Fallout Tactics */
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "bosWin32Class") == 0 &&
lpWindowName && _strcmpi(lpWindowName, "Fallout: Tactics (TM)") == 0)
{
dwStyle |= WS_VISIBLE;
}
/* Center Claw DVD movies */
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "Afx:400000:3") == 0 &&
g_ddraw.ref && g_ddraw.hwnd && hWndParent == g_ddraw.hwnd &&