A Nudge in the right direction

civ4modnoob

Chieftain
Joined
Nov 8, 2007
Messages
4
Hi. I am new to this board and to civ 4 modding. But I am not new to Civ 4 and to programming. I have many ideas, and the ability to implement them. But I must admit, the SDK is overwhelming and not documented very well. I have already got the core dll compiled and my ide is all setup, etc.

At this point I am just looking for a reference to what each file refers to? Is this available? Or should I just try and study them long enough and deduce?

Appreciated.
 
You've made it further than most, welcome to the club (you do know the secret handshake, right?) :)

I don't think there are any references out there specifically for which files cover what. Most of the names kind of make sense once you look around a bit. I learned my way around by searching for specific text in the cpp files. For instance when trying to figure out how an xml tag worked, like bNormalize, I would search for that until I found the xml read entry for it which would tell me the member variable name which I could then search for in the methods which I could then trace to figure out what the heck was going on.

Fortunately even if the code isn't written the way I would have written it they were at least consistent (most of the time anyway). So once you get used to their code it gets a lot easier to follow, especially if you have any C++ experience.

Hope that helps :)
 
Ok thanks for the quick reply. I sort of figured as much. Maybe when i get to know these files more I will document them appropriately and put that up.

i have discovered that this visual c++ ide has a "go to definition" function that i can see being quite helpful.
 
Yes, go to definition and go to declaration are both very helpful. You also have the method browsing and autocomplete to use.
 
There is the Wiki. But it's not very much Information in it. Feel free to add. And try Google.
 
Back
Top Bottom