Jayman1000
Prince
- Joined
- May 6, 2006
- Messages
- 319
Im a c++ noob and a sort of civ modding noob too, but I have some wishes for changes to make to one of my favourite mods, and that requires knowledge of the programming found in the c++ files.
So my question is this: Does a documentation exist for everything in the c++ files? While trying to learn about how stuff works browsing the programming files I keep seeing references to stuff I don't know where is defined. For example what is gDLL exactly? It is referenced an awful lot, but what is it exactly? (this gDLL is just one example there are tons of other stuff I don't know what actually contains: another example is NUM_CITY_PLOTS (which is a constant, right?). I see this accessed in CvCity.app, but it is not declared there, so where is NUM_CITY_PLOTS actually declared?). I can read and understand (mostly) the code I am reading, the logic etc. but so much is defined elsewhere. Perhaps this is a laughable question to c++ programmers. But please help me Where should I begin? Hope someone can help push me in the right direction and/or provide valuable insight. Thanks in advance!
So my question is this: Does a documentation exist for everything in the c++ files? While trying to learn about how stuff works browsing the programming files I keep seeing references to stuff I don't know where is defined. For example what is gDLL exactly? It is referenced an awful lot, but what is it exactly? (this gDLL is just one example there are tons of other stuff I don't know what actually contains: another example is NUM_CITY_PLOTS (which is a constant, right?). I see this accessed in CvCity.app, but it is not declared there, so where is NUM_CITY_PLOTS actually declared?). I can read and understand (mostly) the code I am reading, the logic etc. but so much is defined elsewhere. Perhaps this is a laughable question to c++ programmers. But please help me Where should I begin? Hope someone can help push me in the right direction and/or provide valuable insight. Thanks in advance!
Last edited: