Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
feat(main): launcher start check
Olcay Seygana408124de185
diff --git a/GeneralsMD/Code/Main/WinMain.cpp b/GeneralsMD/Code/Main/WinMain.cppindex b10b83a4b..528d709d7 100644--- a/GeneralsMD/Code/Main/WinMain.cpp+++ b/GeneralsMD/Code/Main/WinMain.cpp@@ -1083,6 +1083,14 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,// game sizes everything in real pixels, which is what DPI awareness hands it.::SetProcessDPIAware();+ if (findEarlyCommandLineOption( L"-rk7" ) == NULL &&+ findEarlyCommandLineOption( L"-multiInstance" ) == NULL &&+ !isUnattendedProcess())+ {+ ::MessageBoxA( NULL, "Please start Zero Hour Reforged from its launcher.", "Zero Hour Reforged", MB_OK | MB_ICONINFORMATION );+ return 1;+ }+#ifdef _PROFILEProfile::StartRange("init");#endif