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:
parent
067dab35e2
commit
39ba7259b8
@ -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"
|
||||
|
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user