• Advertisement
Sign in to follow this  

Study Doom 3 code

This topic is 1832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I want to study the Doom 3 code and I would like some help. How can I start reading it? Should i find a main() function and go on from there?

Any other tips that may help me?

Thank you for your time

Share this post


Link to post
Share on other sites
Advertisement
Are you sure you want to study the Doom 3 src code?

I would suggest only studying it if you are very familiar with C/C++. Likewise I would only suggest studying a large Unity codebase if you are familiar with Unity.

The fact that you need to ask this question kinda seems that you have been recommended Doom 3 by someone a little unfamiliar with how software (especially games development) is best learnt.

Share this post


Link to post
Share on other sites

[quote name='Ravyne' timestamp='1358364407' post='5022272']
There was a recent opinion article on the "beauty" of the Doom 3 source code, but exercise caution and judgment, as it was just that--an opinion of one person, who, in the very same article, says that he considers himself "not a coder", although he has published a game himself.
[/quote]

 

I think he's just being humble, as in that same opinion piece he showed quite a bit of knowledge of C++, the STL and code readability in general.

 

Anyway in answer to the original post, Doom3 is a MASSIVE codebase, by a team of programmers conforming to a set of standards in terms of code layout and practices. If you  have little experience in 3d game programming maybe looking at the original Doom source code would be good, despite in being in C and hard to understand at times refactoring the code into an object oriented style of your choice (either using inheritance or a flat component based hierarchy) would be a good learning exercise albeit a long one. 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement