Submission + - EA releases source code for CnC (github.com)
UnknownSoldier writes: EA has released the source code for two of their classic RTS games in the Command and Conquer series: CnC: Red Dawn and CnC: Tiberian Dawn on GitHub.
Interesting trivia:
- Source code is around 5 MB.
- There are no art of sound assets.
- Filenames are all in capitals. This makes it easy to tell what was added for the Remaster.
- The path finding is NOT using the usual A* algorithm but the "Crash and Turn" algorithm.
- Searching the source for PETROGLYPH_EXAMPLE_MOD shows an example of how to add a mod.