C2C SVN Changelog

10685
Fixed typo in unit class - now cloud destroyer unit is buildable.

Now how many such typos are hiding units and buildings from city build screen?
Hopefully it was only one such example....
That unit has typo rendering it unbuildable since Faustmouse added it in 2013.
 
Last edited:
10686
Revert Grammaticus Maint costs to Pre SVN 10031 level.
 
10687
  • Corrects the movement rules regarding feature movement costs
  • Adjustments to some naval features and to some unitcombats in light of the above corrections
 
10690
Removed redundant art files.
For example: art/example/art.file in FPK1 was sometimes overwriting art/example/art.file in FPK2, when file in FPK2 was fix, adjustment, or exact copy of said file in FPK1.
Removed unneeded copy of texture folder, and unnecessary txt and jpg files.
Merged Terrain (Terrain+Terrain1) and Unit (Units1+Units2) FPKs to reduce chance of accidental rewriting of files, so same file has less chance to end up in different FPKs.
Terrain stuff is now in Terrain FPK and Structure stuff is now in Structures FPK (both of these were in C2C1).

It will take awhile.

And its uploaded now.
Here is discussion.
 
Last edited:
Branch only changes (trunk stays at 10690), in 4 parts:
10691
branch out to develop the removal of BuildingClasses and UnitClasses - part 1 (source code)​
10692
branch out to develop the removal of BuildingClasses and UnitClasses - part 2 (assets modules)​
10693
branch out to develop the removal of BuildingClasses and UnitClasses - part 3 (assets python)​
10694
branch out to develop the removal of BuildingClasses and UnitClasses - part 4 (assets xml)​
 
10696
  • Corrects the movement cost system where double moves are concerned - Feature double moves (as well as hills) actually now supersede terrain ones when the plot has the feature that the unit has double move through and they actually reduce the cost by 3/4 rather than just half to account for the additive nature of the underlying terrain cost being compiled into the total. If the feature doesn't apply to a double move ability on the unit, a terrain double move may yet still apply but if it does, it only does so at the 1/2 cost rather than 1/4 that it seems to indicate. I know this seems funny on first glance, but it makes everything work as design intended it.
 
10697
  • Adjusts movement costs on reefs and coral a bit
  • Fixes a calculation error that was keeping cities from actually getting the extra (or penalty) points from traits towards a Great Person every round
I did some stress testing in playtesting with these changes - it's more involved than I would've wanted to do this close to release BUT it was definitely a critical thing to fix. Thanks to the poster on Discord, Pellona, for pointing out the problem.
 
10698
Units, that had restricted movement into Deep Sea (can enter here after Seafaring) now can't enter Tropical and Polar Deep Sea until Seafaring too.
Similarly there was missing Polar/Tropical variant of trench for some units in movement rules.
Three units could enter Ocean/Trench on Optics tech, changed that to Astronomy.

Those units had uprades before Astronomy.
If someone upgraded them between Optics and Astronomy then their ships could be suddenly stuck in ocean until Astronomy.

Inconsistency was reported by Joseph.
 
Last edited:
10699
Deleted two very outdated document files and unneeded schema file.

@Anq you forgot to delete schema file in Assets/res/Fonts :)
Looks like this schema file was unnecessary for long time...
 
Last edited:
10700 <branch limited>
Merged revisions 10696,10697 from trunk/Sources.
Preliminary update. BuildingClasses are eliminated. What doesn't work:
<CivilizationInfo> native cultures, barbarian denial of access to advanced buildings and wonders​

I only committed the c++ source code modifications. That's why it is only a preliminary update. What's left to do is devise some tags here to re-enable these two functionalities.

The branch shares its revision counter in series with the trunk so I have to post an update here no matter how reluctant I was....
 
Last edited:
10701
Wooden Palisades now can be placed at distance of two or more tiles from each other just like Forts (Wooden Palisades upgrade to Forts).
Command Center (upgrade of Command Bunker) can be placed on all terrains just like Command Bunker (upgrade of Fort).
 
10702
Restored Palisade ability to be built close to each other.
Commented out upgrade from Radio Tower to Listening Node as latter one is space improvement.

Tip: Disable "Hide Obsolete Worker Actions" in BUG options to build palisades after unlocking forts - this option hides earlier version of improvements and routes.
 
Last edited:
10704
  • Applied a fix by Alberts2 to potential pointer invalidation issue when dealing with units through plot access
  • Moved most headers into CvGameCoreDLL.h precompiled header
  • Merged python exports of Building and Unit {Filter, Grouping, Sort} Enums into CyEnumsInterface
  • Added code to enable limiting animal myth buildings to one instance as if they were national wonders, without control through myth effect free-buildings
However, some myth effect buildings enable more buildings to be built, so they are not all replaceable.

10705 <branch limited>
Merged revision 10704 from trunk/Sources.
Changed SAVE_FORMAT_VERSION from 1 to 2.​
 
Last edited:
10706
Fixed color of civ text in leaderboard - now they match civ border.

Somehow those module files never got updated.

10707
Now all civs have matching color of name in leaderboard and color of borders.

In total 5 civs had mismatching border color and civ name in leaderboard.
 
Last edited:
  • Like
Reactions: Anq
10708 <branch limited>
first WIP update on what building-class removal looks like in the xmls (ALERT - brutal force substitution and need to be fixed carefully)
EST. time of completion: 2-3 weeks
 
Back
Top Bottom