OK, so Thomas SG very kindly updated TheLopez's original mod, and it now works in BtS, which is great. My problem is, I am trying to port in the iUpgradeCost modifier for buildings that was developed in the CCCP, as I really like a Civ III style Leonardo's workshop.
So, I was able to isolate all the changed DLL files in the CCCP where that tag showed up, and started bringing it into Thomas's update GGfBC mod. CodeBlocks gave all sorts of errors when I tried to compile it though, so I did a little digging.
Turns out that the changed DLL files Thomas included in the updated GGfBC mod are hugely different from the BtS originals, and when I try to compile a DLL using just those (without my changes) the compile fails, citing many, mnay errors in CvGame.cpp.
So, I'm attaching those files, and I hope someone can clear up what's wrong for me, because I am in way over my head, and I haven't got a clue what's going on...
In particular, I should note that CvUnit.cpp is way bigger, and CvGame.cpp & CvPlayer.cpp are way smaller, than the BtS v3.17 originals.
View attachment C++ source (changed files only).rar
And here's a copy of what CodeBlocks tells me:
Thanks!!!
So, I was able to isolate all the changed DLL files in the CCCP where that tag showed up, and started bringing it into Thomas's update GGfBC mod. CodeBlocks gave all sorts of errors when I tried to compile it though, so I did a little digging.
Turns out that the changed DLL files Thomas included in the updated GGfBC mod are hugely different from the BtS originals, and when I try to compile a DLL using just those (without my changes) the compile fails, citing many, mnay errors in CvGame.cpp.
So, I'm attaching those files, and I hope someone can clear up what's wrong for me, because I am in way over my head, and I haven't got a clue what's going on...
In particular, I should note that CvUnit.cpp is way bigger, and CvGame.cpp & CvPlayer.cpp are way smaller, than the BtS v3.17 originals.
View attachment C++ source (changed files only).rar
And here's a copy of what CodeBlocks tells me:
Spoiler :
||=== CvGameCoreDLL, Final Release Win32 ===|
CvGame.cpp|327|error C2039: 'clearSigns' : is not a member of 'CvDLLEngineIFaceBase'|
CvGame.cpp|629|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|2216|error C2660: 'CvPlayer::updateCitySight' : function does not take 2 arguments|
CvGame.cpp|6552|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|7205|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|7223|error C2660: 'CvPlayer::acquireCity' : function does not take 4 arguments|
CvGame.cpp|8650|error C2660: 'CvPlayerAI::AI_diploVote' : function does not take 3 arguments|
CvGame.cpp|8699|error C2065: 'NO_PLAYER_VOTE_CHECKED' : undeclared identifier|
CvGame.cpp|8703|error C2678: binary '==' : no operator found which takes a left-hand operand of type 'PlayerVoteTypes' (or there is no acceptable conversion)|
CvGame.cpp|8703|error C3861: 'NO_PLAYER_VOTE_CHECKED': identifier not found, even with argument-dependent lookup|
||=== Build finished: 10 errors, 0 warnings ===|
CvGame.cpp|327|error C2039: 'clearSigns' : is not a member of 'CvDLLEngineIFaceBase'|
CvGame.cpp|629|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|2216|error C2660: 'CvPlayer::updateCitySight' : function does not take 2 arguments|
CvGame.cpp|6552|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|7205|error C2660: 'CvTeam::declareWar' : function does not take 3 arguments|
CvGame.cpp|7223|error C2660: 'CvPlayer::acquireCity' : function does not take 4 arguments|
CvGame.cpp|8650|error C2660: 'CvPlayerAI::AI_diploVote' : function does not take 3 arguments|
CvGame.cpp|8699|error C2065: 'NO_PLAYER_VOTE_CHECKED' : undeclared identifier|
CvGame.cpp|8703|error C2678: binary '==' : no operator found which takes a left-hand operand of type 'PlayerVoteTypes' (or there is no acceptable conversion)|
CvGame.cpp|8703|error C3861: 'NO_PLAYER_VOTE_CHECKED': identifier not found, even with argument-dependent lookup|
||=== Build finished: 10 errors, 0 warnings ===|
Thanks!!!