Last updated: 2026-11-12. Update in the same commit as the change that makes a line wrong.
AGENTS.md entry point for agents
CMakeLists.txt every build (Linux, MinGW, MSVC ABI, web, x64)
cmake/ MinGW and MSVC-ABI (clang) toolchains
docs/ documentation (this layer: docs/ai/)
mods/bots/ libcod bots mod (vendored)
scripts/ build checks, generators, tests (Python)
src/PC/ reconstructed engine (client, renderer, cgame, effects, ...)
src/compat/ generated bridge engine <-> OpenCoD2-Plus Server
src/{script,server,game,bgame,qcommon,universal,xanim,libcod,...}/
vendored OpenCoD2-Plus Server (src/unix, src/win32: its platform
code plus this fork's stubs and SDL2 libs)
src/blobs/ original binaries' data
src/headers/ shared headers, layout pins
src/snd_sdl/ our sound engine on SDL2, behind the AIL_* calls
src/Mac/, src/stubs/ GL device and platform glue
test/ interface/ABI lists, allowlists, expected failures, unit tests
third_party/ dependencies fetched by scripts, SDL2's VC package (user supplied)
cod2rad/ upstream tool (not built by default)
| Executable | Build | State |
| cod2_lnxded | Linux 1.3/1.0 | works; passes OpenCoD2-Plus Server's smoke test whole; 1.3 is the Plus server unless built with -DCOD2_PLUS_PROTOCOL=OFF (stock 1.3) |
| cod2_win32_ded.exe | MinGW 1.3/1.0 | works; smoke test under Wine with test/smoke_expected_failures_wine.txt |
| cod2_linux | Linux 1.3/1.0 | works; real Direct3D 9 on DXVK native and vkd3d-shader (the game's shaders), the default (ADR 0017) |
| cod2_linux (GL) | Linux, -DCOD2_LINUX_DXVK=OFF | works; GL device (stand-in shaders) |
| cod2_linux (x86_64) | Linux, -DCOD2_X64=ON | on DXVK like the 32-bit one (ADR 0018); loads and plays a map on OpenCoD2-Plus Server's VM and server; effects and world lighting equal the 32-bit client's (fx_test.py, screenshots) |
| cod2_win32.exe (x86_64) | MinGW-w64, cmake/toolchain-mingw64.cmake | plays on real Windows, online and in local games; real Direct3D 9; no libcod; not yet equal to the 32-bit client |
| cod2_win32.exe | MinGW | works; real Direct3D 9; plays on public 1.3 servers |
| cod2_win32.exe | MSVC ABI (clang, lld-link) | builds (build_check.py msvc-client); plays a local game on Windows (msvc_run_test.py); the bridge, libcod, sound (src/snd_sdl) and HTTP downloads (WinINet) as MinGW's |
| cod2 (web) | Emscripten (third_party/emsdk) | builds on the bridge (build_check.py web, no libcod); 65 symbols link undefined, CG_Init among them; not run in a browser |