45°38'N-13°47'E
Deity
Hi everyone,
as maybe someone of you already knows, there's been an attempt to restart "Rise of Mankind - A New Dawn 2" development. Right now, I'm trying to fix some bugs in AND2 (Afforess has given me SVN control for AND). At the moment, I'm trying to fix some inflation bugs and I'm here to ask advice from C2C gurus
It looks like in AND2 inflationoffset in gamespeedinfo.xml doesn't work. No matter what value I choose, inflation always starts at the same turn. I was wondering if inflation works correctly in C2C and if it's possible to get inflation code from C2C and import it in AND2.
As far as I've seen, inflation code is placed inside CvPlayer.cpp. Are there other places where inflation code is present? Would it suffice to insert the inflation code found in
http://caveman2cosmos.svn.sourcefor...ources/CvPlayer.cpp?revision=4152&view=markup
inside cvplayer.cpp of AND2 http://anewdawn.svn.sourceforge.net...Sources/CvPlayer.cpp?revision=586&view=markup ?
(I've simply looked inside C2C cvplayer.cpp to find where the word "inflation" occurs to understand which parts are connected to inflation: basically the code looks the same except in a small section).
From what I've seen, it should be an easy job to do, but I hope I'm not missing anything important. Any advice?
Thank you in advance
as maybe someone of you already knows, there's been an attempt to restart "Rise of Mankind - A New Dawn 2" development. Right now, I'm trying to fix some bugs in AND2 (Afforess has given me SVN control for AND). At the moment, I'm trying to fix some inflation bugs and I'm here to ask advice from C2C gurus

It looks like in AND2 inflationoffset in gamespeedinfo.xml doesn't work. No matter what value I choose, inflation always starts at the same turn. I was wondering if inflation works correctly in C2C and if it's possible to get inflation code from C2C and import it in AND2.
As far as I've seen, inflation code is placed inside CvPlayer.cpp. Are there other places where inflation code is present? Would it suffice to insert the inflation code found in
http://caveman2cosmos.svn.sourcefor...ources/CvPlayer.cpp?revision=4152&view=markup
inside cvplayer.cpp of AND2 http://anewdawn.svn.sourceforge.net...Sources/CvPlayer.cpp?revision=586&view=markup ?
(I've simply looked inside C2C cvplayer.cpp to find where the word "inflation" occurs to understand which parts are connected to inflation: basically the code looks the same except in a small section).
From what I've seen, it should be an easy job to do, but I hope I'm not missing anything important. Any advice?
Thank you in advance
