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
// Where the Modern water is compiled in: the SDL GPU device on Linux and the Direct3D 11 backend on
// Windows. macOS, -d3d9 and -headless stay on the Classic water.
// Distributed under the repository's GPL-3.0 terms; see LICENSE.md.
#pragma once
#if defined(__linux__) || defined(_WIN32)
#define ZH_MODERN_WATER 1
#else
#define ZH_MODERN_WATER 0
#endif
namespace ModernWater {
// Whether this run's device draws the Modern water: the SDL GPU device, or Direct3D 11 presenting.
// W3DWater.cpp answers for the game; the tests that link no device take HazardCloudUnsupported.cpp's no.
bool Supported();
} // namespace ModernWater