C2C SVN Changelog

10601
Removed unnecessary document file, that was added and last changed in distant past (RoM: A New Dawn changelog).

it was some sort of changelog at SVN 450 - 470, file was in Sources folder.
Blame tool shows that it was added and last modified at 5th revision meaning it came from ROM:AND making that file 10 year old or even older.
Those revision numbers were referencing A New Dawn changes that got added to this mod.
 
Last edited:
10604
Adjusted globals - now players on Emperor handicap can except AI to build city or two before it researches Sedentary Lifestyle on time (tech leader is supposed to be in Ancient era at 12 000 BC).
AI can now be more reckless with gold due to fact, that it is now generally better and now builds more buildings including gold producing ones.
Research/construction cost globals were reduced by 5% to make Emperor AI (tech leader) research Sedentary Lifestyle on time.
 
10605
Set back safe gold global to 40 - there might be possible issues with this on bigger maps and or higher handicaps.

Immortal somehow did worse than Emperor here with setting of 100.
Might be something else entirely though.
That is less expansion by 200th turn on Normal speed.
 
10609
Dragon, Unicorn and Phoenix myths no longer need animal myth just like Mermaid one.
This was their original effective requirement design - animal myth requirements of those myths were disabled.

@Dancing Hoskuld now you can place those as soon as you get elemental myths required them (and subdued animals to place those :p)
Animal myth requirements for those were disabled originally.
 
10610
  • A fix for an exploit in merging in SM as discussed by Anq on the forum - testing shows his fix works wonders
  • Makes transport units have a Unit Cargo Volume, including all the cargo volumes of the units they transport.
  • Makes it impossible for units to transport units of the same unit type.
  • This is on a new compiler which caught a few bugs in the process.
 
10611
Fixed pillage gold gain increments in scavenging camp improvement upgrade line.
 
10612
Removed upgrade information in improvement pedia text, as it was very outdated and only two improvements had it at all.
 
  • Like
Reactions: Anq
10615
Added Hyperloop and Gravity Train route bonus to improvements, that already got bonus from earlier routes.
Farm got bonus from Maglev route and few others got bonus from Jumplane route.
Maglev is Information era route, Hyperloop and Gravity Train routes are futuristic ones added by Pepper and Jumplane is most advanced Earthly route.

That is inconsistency in route bonuses for improvements was fixed.
Hyperloop route is Vactrain route in game.

10616
Somehow Vertical Farm was missed in route inconsistency fix.
 
Last edited:
10617
  • Fixed the DllExport CvGame::setAIAutoPlay
  • Removed all unused DllExports
  • Deleted redundant include of boost-thread in CvPathGenerator.cpp
  • Deleted Byte Order Mark in CvString.h
  • Deleted redundant `#pragma once` in various headers

Note: the latter two items are for my netbeans code assistance to analyze those headers properly.
Previously in some headers -- FAStarNode.h through FVariableSystem.h plus LinkedList.h -- there was firstly "#pragma once", then the include guard (#ifndef X_H \n #define X_H), then "#pragma once" again. Although it compiles fine, it hindered my code assistance from analyzing those headers.
 
Last edited:
10618
Fixed several mismatched tech requirements of build actions and its related improvement.
Removed improvement upgrade, that goes backwards.

Shaft mine could upgrade to Lumbermill (its unlocked much earlier than Shaft Mine).
There are several improvements, that have their (alternative) upgrade unlocked in same column or same tech.
 
10619
  • Removed unused DllExports of boost-thread. Following the way AIAndy included the thread library, I just modified thread/detail/config.hpp to remove dllexport and rebuilt these dynamic library objects. Still, as he pointed out, it could be more properly done by modifying the source of boost-thread in order to build a static library while dynamically linking the msvcprt runtime.

Discussion: https://forums.civfanatics.com/thre...f-february-2018.629241/page-191#post-15483784 onwards
 
Last edited:
10620
Reactivated all inactive cultures (-1 cost of their wonder).
Fixed two cultures (one was without tech requirement and other was without its wonder).
 
10621
  • Removed the remaining unused DllExports
10622
  • Re-eanbled /NODEFAULTLIB:msvcprtd.lib in debug lib parameters in Makefile. Unless we use another preprocessor definition than _DEBUG, this option has to be on to tell link.exe to skip searching for this debug-runtime library.
Explanation: whenever the _DEBUG preprocessor definition is active, #pragma comment(lib, "msvcprtd.lib") is enabled in toolkit's headers. (Specifically, line 25@VC2003Toolkit/include/use_ansi.h). This line adds to the DEFAULTLIB variable the debug runtime library (msvcprtd.lib). However we're not actually building a dll that links to a debug vc++ runtime. We need a NODEFAULTLIB option to override this library search path.

Perhaps use a CVDEBUG instead?

10623
  • Renamed _DEBUG to CVDEBUG, to signify we're not linking to the debug version of msvcp71 runtime, and cleared an unused preprocessor define CVGAMECOREDLL_EXPORTS since BtS core.
Therefore, /NODEFAULTLIB:msvcprtd.lib is no more needed to override searching for the debug lib.
I updated the Visual Studio project files too, to reflect the renaming change.
These two latest updates didn't require building a new dll.
 
Last edited:
Back
Top Bottom