Jump to content
Thirsty Panther

Command and Conquer Source Code

Recommended Posts

It's always interesting to see conventions used.They must have had the 8 character filename limitation, or someone wanted to hold it over (I've seen this even today by older programmers lol). Interesting that they put Class in every classes name. Not something you see much of these days with modern IDE's. They use inheritance over composition which is different from today's thoughts on game development thanks to the idea of entity programming. Browsing the code I'm shocked they didn't abuse the hell out of macros. That was a pretty common thing back in the day. Pretty much each method fits on 1 screen which is good, but some files are thousands of lines of code which suggest they could refactor things more. Good commenting. 

  • Like 2

Share this post


Link to post

Rick, if I ever forget how knowledgeable you are about coding, it doesn't last long haha.  Nice analysis.

  • Like 1
  • Haha 1

Share this post


Link to post

Thanks for link was interesting to look.
I assumed that the games of the era were written in c :)  , but yeah c++ is old also

  • Like 1

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...