Commit graph

18 commits

Author SHA1 Message Date
Pat Hartl
51ef9b94f1 Fix additional arguments not being passed 2025-02-19 00:05:17 -06:00
Pat Hartl
dd0f1c1c1b Make application DPI aware, auto-patch video settings 2025-02-18 23:51:40 -06:00
Pat Hartl
7f9c6ecb2d Publish AOT 2025-02-18 21:11:02 -06:00
James Turner
059134f931
Merge pull request #1 from johnbrechbuhl85/mapchangefix
Fix program closing when map changes
2022-08-28 18:31:15 +09:30
johnbrechbuhl85
6ccac8e53d Moved the process.HasExited check before the Process Has Changed message and removed the process.MainWindowHandle == IntPtr.Zero check. 2022-08-27 09:15:48 -05:00
johnbrechbuhl85
3af78f4fc8 Check to see if BF1942 has been closed from the main menu and if the MainWindowHandle is equal to IntPtr.Zero or not.
If those conditions are met, then break out of the retryCount loop and set keepAlive to false.
2022-08-24 11:21:23 -05:00
johnbrechbuhl85
b9ac19053e Reverted white space changes and updated console messages to use ISO 8601 date format.
Modified the "if (oldProcessId == process.Id)" condition to call Environment.Exit(0) and close Borderless1942 when BF1942 is closed.
2022-08-20 10:38:13 -05:00
johnbrechbuhl85
1c58edc1cb Small modification to prevent the Borderless1942 program from closing when changing maps during multiplayer.
Tested the changes using the master.bf1942.org master server patch from the link below.
https://www.moddb.com/games/battlefield-1942/downloads/bf1942-masterbf1942org-patch
2022-08-19 18:11:47 -05:00
Turnerj
af6bf87f4f Add link to blog post 2022-01-21 13:40:43 +10:30
Turnerj
7d301dc2fb Updated readme 2022-01-20 01:15:32 +10:30
Turnerj
c2b02964f1 Updated readme 2022-01-20 01:02:52 +10:30
Turnerj
26ea92de9f Add readme 2022-01-20 00:48:34 +10:30
Turnerj
95e2146c4e Add basic CI build 2022-01-20 00:06:48 +10:30
Turnerj
02a8a58508 Use CsWin32 for Win32 access 2022-01-19 15:02:25 +10:30
Turnerj
4c1dd1507b Update gitignore 2022-01-19 14:54:41 +10:30
Turnerj
b7db332350 Use TerraFX Interop 2022-01-18 18:25:47 +10:30
Turnerj
a3c34feed3 Add project files. 2021-11-25 16:28:49 +10:30
Turnerj
8c0782530d Add .gitattributes and .gitIgnore. 2021-11-25 16:28:46 +10:30