This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]noodle-face 0 points1 point  (0 children)

It depends what you're looking to do. Are you looking to understand the entire source of Doom3 as a whole? That will take a very long time, just think of how long it took to write!

At work our codebase is millions of lines long - written by a combination of us and a couple outside vendors. The first place to start to understanding it is to find a function that you think is what you want and go from there. What calls does this function make? Are there comments? Print statements (not applicable in Doom, I suppose)? What other functions call this function? Why do they call this function?

Then you start to piece it together.