mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +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"
|
"[FABLE]\n"
|
||||||
"singlecpu=false\n"
|
"singlecpu=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
"; Fallout Tactics: Brotherhood of Steel\n"
|
||||||
|
"[BOS]\n"
|
||||||
|
"hook_peekmessage=true\n"
|
||||||
|
"\n"
|
||||||
"; Falcon 4.0 (Microprose version)\n"
|
"; Falcon 4.0 (Microprose version)\n"
|
||||||
"[falcon4]\n"
|
"[falcon4]\n"
|
||||||
"singlecpu=false\n"
|
"singlecpu=false\n"
|
||||||
|
@ -1922,6 +1922,13 @@ HWND WINAPI fake_CreateWindowExA(
|
|||||||
dwExStyle |= WS_EX_APPWINDOW;
|
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 */
|
/* Center Claw DVD movies */
|
||||||
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "Afx:400000:3") == 0 &&
|
if (HIWORD(lpClassName) && _strcmpi(lpClassName, "Afx:400000:3") == 0 &&
|
||||||
g_ddraw.ref && g_ddraw.hwnd && hWndParent == g_ddraw.hwnd &&
|
g_ddraw.ref && g_ddraw.hwnd && hWndParent == g_ddraw.hwnd &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user