EA released the source code for the original Command and Conquer & Red Alert - Github

Dr. Adam Procter @adamprocter