Skip to content

Commit

Permalink
#369 add support for Fallout Tactics
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 19, 2024
1 parent 067dab3 commit 39ba725
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions src/winapi_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 39ba725

Please sign in to comment.