If you buy "Red Alert: Remastered" on Steam, there's a directory that lists the entire source code of Red Alert: Remastered.
-------
They probably did that because OpenRA was so popular, and that people would be curious how the original was also coded. The "Remastered" edition only came out in 2020.
Warning: Red Alert: Remastered includes a bunch of x86 assembly files for 64-bit MMX SIMD. Some ugly, 90s-era assembly language there for pathfinding...