stealingjoy
Chieftain
- Joined
- Feb 3, 2007
- Messages
- 3
Hello there.
I remember when playing Civ3 there was a nifty program called Civ Assist that would provide a variety of game information in a nifty window with menus and tabs and such. I'm interested in doing something in a similar fashion, but with additional features (such as running counts of total battles lost & won, total gold earned, and other kind of statistics). I have a decent amount of experience with C++, but coming into a program that has so many source files, I'm a bit lost as to where to begin.
I've downloaded the SDK source code and such, but I don't want to mod the game, I just want to be able to access those functions for an outside program. I guess, what I'm looking for, is if someone could show me how I might go about that.
Like, for a simple example, say I wanted to use CvPlayer.cpp's getCitiesLost() function to get the number of cities lost. How can I create a project that would accomplish that? How do I actually access Civ4's gameCoreDLL (I do know where it is) to use it?
If anyone could point me on the right track for this, I would surely appreciate it. Thank you.
I remember when playing Civ3 there was a nifty program called Civ Assist that would provide a variety of game information in a nifty window with menus and tabs and such. I'm interested in doing something in a similar fashion, but with additional features (such as running counts of total battles lost & won, total gold earned, and other kind of statistics). I have a decent amount of experience with C++, but coming into a program that has so many source files, I'm a bit lost as to where to begin.
I've downloaded the SDK source code and such, but I don't want to mod the game, I just want to be able to access those functions for an outside program. I guess, what I'm looking for, is if someone could show me how I might go about that.
Like, for a simple example, say I wanted to use CvPlayer.cpp's getCitiesLost() function to get the number of cities lost. How can I create a project that would accomplish that? How do I actually access Civ4's gameCoreDLL (I do know where it is) to use it?
If anyone could point me on the right track for this, I would surely appreciate it. Thank you.