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(tools): eip_sampler - a sampling profiler for a debuggerless machine
Olcay Seygand6709668033c
diff --git a/GeneralsMD/Code/CMakeLists.txt b/GeneralsMD/Code/CMakeLists.txtindex b866e9de2..67d12bdda 100644--- a/GeneralsMD/Code/CMakeLists.txt+++ b/GeneralsMD/Code/CMakeLists.txt@@ -218,6 +218,11 @@ target_link_options(ww3d2 INTERFACE /SAFESEH:NO /NODEFAULTLIB:libci.lib)# edits in render code. Burn the sites down later, then drop the flag.target_compile_options(ww3d2 PRIVATE /Zc:forScope-)+# Phase 8: 1 kHz EIP sampler that symbolizes against the linker map - the+# machine has no debugger, so this is how hotspots get names.+add_executable(eip_sampler ${CMAKE_CURRENT_SOURCE_DIR}/Tools/ProfileSampler/eip_sampler.cpp)+set_target_properties(eip_sampler PROPERTIES CXX_STANDARD 17)+# Phase 1 checkpoint: vendored DX8 SDK + OS d3d8.dll create a real device.add_executable(dx8_smoke ${WW}/WW3D2/test_dx8_smoke.cpp)target_include_directories(dx8_smoke PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Libraries/DirectX/Include)