@Toffer90 alright I started to see if I could get that to run. I corrected a few minor things so that c++ is able to read the code but I'm getting issues with defining 'duration' and 'format'. Here's the error log (9 errrors):
I might ask in the CIV4 modding forum about this...
Code:
Severity Code Description Project File Line Suppression State
Error C2734 'duration' : const object must be initialized if not extern C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6593
Error C2373 'duration' : redefinition; different type modifiers C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6593
Error C3861 'duration': identifier not found, even with argument-dependent lookup C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6612
Error C2374 'format' : redefinition; multiple initialization C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6616
Error C2734 'duration' : const object must be initialized if not extern C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6616
Error C2373 'duration' : redefinition; different type modifiers C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6616
Error C2086 'char buf[2048]' : redefinition C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6617
Error C3861 'format': identifier not found, even with argument-dependent lookup C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6618
Error C3861 'format': identifier not found, even with argument-dependent lookup C2C D:\C2C\Caveman2Cosmos\Sources\CvPlayer.cpp 6618
I might ask in the CIV4 modding forum about this...
Got this while processing a turn with Vanilla:
