add support for 7th Legion
This commit is contained in:
parent
02f706e3bb
commit
6dcfe78398
4 changed files with 11 additions and 0 deletions
|
@ -116,6 +116,7 @@ void cfg_load()
|
|||
GET_BOOL(g_config.carma95_hack, "carma95_hack", FALSE);
|
||||
GET_BOOL(g_config.sirtech_hack, "sirtech_hack", FALSE);
|
||||
GET_BOOL(g_config.flightsim98_hack, "flightsim98_hack", FALSE);
|
||||
GET_BOOL(g_config.seventhlegion_hack, "seventhlegion_hack", TRUE);
|
||||
|
||||
GameHandlesClose = GameHandlesClose || g_config.infantryhack;
|
||||
|
||||
|
@ -391,6 +392,11 @@ static void cfg_create_ini()
|
|||
"; The following settings override all settings shown above, section name = executable name\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"; 7th Legion\n"
|
||||
"[legion]\n"
|
||||
"maxgameticks=25\n"
|
||||
"seventhlegion_hack=true\n"
|
||||
"\n"
|
||||
"; Atrox\n"
|
||||
"[Atrox]\n"
|
||||
"nonexclusive=true\n"
|
||||
|
|
|
@ -101,6 +101,9 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
}
|
||||
case WM_NCHITTEST:
|
||||
{
|
||||
if (g_config.seventhlegion_hack)
|
||||
break;
|
||||
|
||||
LRESULT result = DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
|
||||
if (!g_config.resizable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue