I'm trying to get started with mod development (well, actually, to tweak Rom:AND), and since I like to go by a top-down approach in programming, I'd like to start with a high level overview of how all the pieces fit together. 
So, the general idea I've gotten so far is: civ4bts.exe loads the CvGameCoreDLL, which then in turns loads & executes all the XML and Python files. CvGameCoreDLL then does all the actual game work, while calling back into civ4bts.exe for visual/sound stuff.
The next questions I have then are:
I know this seems like a very broad list, and I don't expect that I'll get answers to all of these questions here, but anything is better than nothing, since it will save me time finding those things out myself.
Thank you all in advance! 

So, the general idea I've gotten so far is: civ4bts.exe loads the CvGameCoreDLL, which then in turns loads & executes all the XML and Python files. CvGameCoreDLL then does all the actual game work, while calling back into civ4bts.exe for visual/sound stuff.
The next questions I have then are:
- What is the "surface area" between civ4bts.exe and CvGameCoreDLL? That is, what are the function/classes that civ4bts.exe uses from CvGameCoreDLL, and vice versa?
- Does civ4bts.exe also load any XML/Python files, or is that solely the domain of CvGameCoreDLL?
- Who is responsible for non-game logic (various menus before game)? Seems that it should be the domain of civ4bts.exe, however mods can influence the title screen, so I guess there's some collaboration. What are the functions on both sides that facilitate this?
- What does the whole life cycle look like? That is, what functions does civ4bts.exe call at various points in time? Also, this includes the main game loop - where is it defined (civ4bts.exe I presume?) and what functions does it invoke in CvGameCoreDLL?
I know this seems like a very broad list, and I don't expect that I'll get answers to all of these questions here, but anything is better than nothing, since it will save me time finding those things out myself.

