C2C SVN Changelog

SVN-11379
v41.2.5835 - 2021-09-15

All Changes

Merge pull request [#1157](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1157) from caveman2cosmos/master -- raxo2222
wrapped some array with boost::scoped_array ([#1155](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1155)) -- MattOttawa
added value to var incase it's not saved ([#1156](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1156)) -- MattOttawa
Added new building - Healthcare Megacomplex. It is Transhuman era building, that merges standalone health related buildings -- raxo2222
Someone forgot to add TXT key for bug option... -- raxo2222
Converted <TechCommerceChanges> into <TechCommercePercentChanges> -- raxo2222
 
SVN-11380
v41.2.5842 - 2021-09-15

All Changes

Merge pull request [#1158](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1158) from caveman2cosmos/master -- raxo2222
Removed duplicate tag in schema and renamed building tag in modules -- raxo2222
Renamed building tag, fixed recalc issue with same tag. TechCommerceChanges -- Toffer
Cleaned up the redundant TechCommerceChanges tag code, some refactoring and tweaks to the one that is not redundant. -- Toffer
Added safety measure needed for old save compatibility, next time we break saves they will all become redundant, some may already be redundant since last save break, but we should just keep that safety measure as a template for when new values of that format is aded to the save read/write functions in the future. -- Toffer
Minor tweaks to debug funcrion -- raxo2222
 
SVN-11381
v41.2.5873 - 2021-09-19

All Changes

Merge pull request [#1169](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1169) from caveman2cosmos/master -- raxo2222
Cleared a vector on city object creation, just in case it's vector declaration doesn't create an empty vector, raxo said user reported an issue that can only be explained by vector not being empty upon declaration. -- Toffer
Added <FreePromoTypes> checker, no issues detected -- raxo2222
Moved free promotion tags to vectorized tag -- raxo2222
Added bunch of buildings to be replaced by existing buildings, also some buildings were changed to never obsolete -- raxo2222
revert changes to tag I broke ([#1167](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1167)) -- MattOttawa
more code for loading xml ([#1165](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1165)) -- MattOttawa
Merge branch 'master' of https://github.com/caveman2cosmos/Caveman2Cosmos -- drd-avel
Added replacements to core traits -- raxo2222
disabled pylint error checking for python 3 ([#1161](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1161)) -- MattOttawa
Exposed CvInfoUtil to python ([#1159](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1159)) -- MattOttawa
added templated CvXMLLoadUtility::InitList methods ([#1160](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1160)) -- MattOttawa
Added bunch of buildings to be replaced by hypermarket -- raxo2222
Changed flavor text of housing autobuild -- raxo2222
Moved all group wonders to Group Wonders building file -- raxo2222
Space race victory projects now are located in second half of Transhuman era, as this is where civilization is getting ready for interstellar colonization -- raxo2222
Streamlined Prehistoric housing upgrade lines - now there are at least 3 columns between upgrades -- raxo2222
code that can help adding/changing xml tags in the dll ([#1152](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1152)) -- MattOttawa
Refactor -- Toffer
Added icons for IMPERIAL_FORTRESS and RENEWABLE_MEGACOMPLEX_PLANT -- drd-avel
 
SVN-11382
v41.2.5877 - 2021-09-19

All Changes

Merge branch 'master' into release -- Toffer
Fixed a pretty bad bug with city caching of terrain yield changes. -- Toffer
Added building commerce changes from tech text to tech tooltips. -- Toffer
Cleanup/refactor, removed bug option without any function. -- Toffer
 
SVN-11383
v41.2.5902 - 2021-09-22

All Changes

Merge pull request [#1170](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1170) from caveman2cosmos/master -- raxo2222
Now very few standalone regular buildings obsolete. Refactored debug function to list all standalone regular buildings, amount of buildings they potentially unlock, and potential obsoletion -- raxo2222
Slight improvement to city yield tooltip. -- Toffer
Text tweaks for building yields tooltip info and minor fixes -- Toffer
Renamed some stuff related to the techYieldChange handling. -- Toffer
Merge branch 'TechYieldChanges100' -- Toffer
Fixed issue in CvCity::getAdditionalExtraYieldByBuilding() -- Toffer
All buildings got their production modifier nerfed to low but consistent value, that is now they will slighly boost production of units and buildings -- raxo2222
Added Tourism Megacomplex - late Nanotech era building -- raxo2222
Revised trade related buildings - those now boost regional commerce, not just national and global trade, their national and global trade impact was nerfed -- raxo2222
Halved all regular building trade route modifiers, as trade is very overpowered -- raxo2222
Deleted dead sound defines -- raxo2222
Conwerted new building to new tech yield format -- raxo2222
Merge branch 'master' into TechYieldChanges100 -- raxo2222
Added new building - Ancient Customs, it is building that replaces varienty of prehistoric buildings to reduce amount of stuff to build -- raxo2222
Fixed some issues, wrapped up some loose ends in AI code. -- Toffer
Multiplied tech yields by 100 -- raxo2222
Changed TechYieldChanges building tag to function like TechCommerceChanges. -- Toffer
Attached two fishery related buildings to Aquafarm -- raxo2222
Removed some more unnecessary obsoletionsm and attached misc buildings to various upgrade chains -- raxo2222
Integrated obsoleteing education buildings into upgrade chain -- raxo2222
Unobsoleted bunch of buildings, as those are bit too valuable, and their obsoletion is set effectivelly when they technically should be replaced after a while -- raxo2222
Nerfed regular buildings that had tech commerce modifiers -- raxo2222
Halved all maintaince reducing tags to nerf gold overabudance -- raxo2222
Nerfed commerce modifiers from regular buildings -- raxo2222
Strong nerf of commerce from buildings: Instead of city wide bonus commerce modifiers now we are using flat bonus commerce changes, as they affect building only -- raxo2222
 
11385
v41.2.5950 - 2021-10-04

  • Exile practices somehow stopped obsoleting at classical lifestyle, rather than adding back the obsoletion tech I made it require primitive or tribal society civic. (Toffer)
  • switched vector to IDValueMap (#1186) (#1185) (MattOttawa)
  • iterator/filter code for CvTraitInfo vectors (#1183) (MattOttawa)
  • added (CvInfoUtil code to CvTraitInfo to help add/change tags (#1184) (MattOttawa)
  • switched CvBuildingInfo :: prereqOrImprovement from array to vector (#1177) (MattOttawa)
  • switched CvBuildingInfo::ImprovementFreeSpecialist array to IDValueMap (#1182) (MattOttawa)
  • Replaced SeaPlotYieldChanges building tag with PlotYieldChanges, it can change yields of water, hills, peaks and flatland.. (Toffer)
  • Tweaked natural wonder placement code; cleaned it up as well. (Toffer)
  • moved EnablesOtherBuildings to CvBuildingInfo::doPostLoadCaching() (#1181) (MattOttawa)
  • Somewhat random refactor/tweak/optimization of CvPlayerAI::AI_techUnitValue(...) function. (Toffer)
  • Rewrote TechCommerceModifiers building tag implementation. (Toffer)
  • deleted unused python event (#1175) (MattOttawa)
  • switched CvBuilding::ReligionChnge array to IDValueMap (#1174) (MattOttawa)
  • exposed vector to python (#1173) (MattOttawa)
  • exposed IDValueMap to python (#1171) (MattOttawa)
  • Updated debug functions to new standard (raxo2222)
  • Rewrote how the TechYieldModifiers building tag is implemented. Fixed issue with yield tooltip in cities. (Toffer)
  • Fixed a text bug in CvGameTextMgr::setBuildingHelp(...) (Toffer)
https://sourceforge.net/p/caveman2cosmos/code/11385/
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/6ec5d06328bc...e45a9c7e35ed
 
11386
v41.2.5983 - 2021-10-18

  • Fixed oversight that caused partisan advisor to not open when told to. (Toffer)
  • cleaned up some CvXMLLoadUtilitySet code (#1203) (MattOttawa)
  • exposed UNITAI_SUBDUED_ANIMAL enum to python (#1202) (MattOttawa)
  • fixed find start plot for parallel maps (#1200) (MattOttawa)
  • fixed error when opening build list screen (#1199) (MattOttawa)
  • switched TCHAR to char (#1198) (MattOttawa)
  • switched CvXMLLoadUtilityModTools from class to namespace (#1197) (MattOttawa)
  • switched CvXMLLoadUtilitySetMod from class to namespace (#1196) (MattOttawa)
  • code to get CvInfo class from Info type and vice versa (#1193) (MattOttawa)
  • feat(Language) (Marco Bellmann)
  • added free promo text for buildings (#1191) (MattOttawa)
  • switched vector to IDValueMap (#1187) (#1188) (#1189) (#1190) (MattOttawa)
https://sourceforge.net/p/caveman2cosmos/code/11386
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/e45a9c7e35ed...dfafb068f027
 
SVN-11387
v41.2.6004 - 2021-10-31

All Changes

Merge branch 'master' into release -- Toffer
Merge pull request [#1215](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1215) from Jonius7/master -- Kristoffer
New Industrial Tech Quote Audio, Matchlock remove noise -- Jonius7
fixed python error reported by jatkinson ([#1214](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1214)) -- MattOttawa
deleted extra SetVariableListTagPair functions ([#1212](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1212)) -- MattOttawa
merged 2 info types maps ([#1211](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1211)) -- MattOttawa
switched the default value for the bActsAsCity tag to false ([#1209](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1209)) -- MattOttawa
switched int to enum ([#1207](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1207)) -- MattOttawa
fixed ai choosing worst available fort to build after deciding to build a fort ([#1206](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1206)) -- MattOttawa
More continuation of recent refactor. -- Toffer
Continuation of last commit. -- Toffer
Some CvCityAI code refactoring. -- Toffer
 
SVN-11388
v41.2.6025 - 2021-11-12

All Changes

Merge pull request [#1218](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1218) from caveman2cosmos/master -- raxo2222
Merge pull request [#1216](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1216) from caveman2cosmos/CvValueSerivce -- flabbert
fixed crash reported by strategyonly ([#1217](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1217)) -- MattOttawa
Fixed a typo reported by `khalighnayao (Remco de G)` -- Toffer
remove AI_bestplotbuild (900 lines poof) -- flabbert
apparently old bestplotbuild is still used somewhere, readding and will investigate -- flabbert
commented out include "CvPlayerAI.h" -- MattOttawa
use outputratios struct for value comparing of existing and potential new upgrades. -- flabbert
added tools filter, put bbailogger in there -- flabbert
move the ratios and calculation of ratios to its own struct, remove dependency on vector -- flabbert
reuse the default weights for food output -- flabbert
added includes because debug compiler yelled. -- flabbert
moved production ratio to valuesservice, moved plotinfo struct to separate file. -- flabbert
add filters for structs and services -- flabbert
add words to vs dictionary -- flabbert
 
SVN-11389
v41.2.6037 - 2021-11-29

All Changes
Merge branch 'master' into release -- flabbert
Merge pull request [#1220](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1220) from caveman2cosmos/worker_tweaks_and_other_refactor -- flabbert
Merge branch 'master' into worker_tweaks_and_other_refactor -- flabbert
remove need for freshwater from farms -- flabbert
remove iInstanceCostModifier on culture units -- flabbert
switched an array that wasn't being deleted ([#1210](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1210)) -- MattOttawa
test: remove dependency on freshwater for farm -- flabbert
add editorconfig into project -- flabbert
used autoformatter -- flabbert
adding more potential value service functions they still need to be thought out how to work -- flabbert
worker check build list, and even improve currently unworked plots -- flabbert
add editorconfig in root -- flabbert
add editorconfig -- flabbert
make ai use bigger defenders for settlers again -- flabbert
add int to for loops in cvplayer -- flabbert
various minor code tweaks -- flabbert
create separate settlerai files, not used yet -- flabbert
create separate workerai file, not used yet. -- flabbert
move grouping params to separate file -- flabbert
Fixed pseudo-features (coral/reef with beacon/lighthouse) being placed by the simple map scripts. Pyython change is just a minor optimization, not the fix. -- Toffer
Merge pull request [#1219](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1219) from khalighnayao/master -- MattOttawa
fixed 3 typos in Great People Text -- Remco de G
 
SVN-11390
v41.2.6039 - 2021-11-30

All Changes

Merge branch 'master' into release -- Toffer
Revamped religion spread and decay code, should not favour spreading and decaying religions that are defined early in xml anymore, and decay can now happen even in games without multiple religion spread option active. Fixed a bug with <ReligionChanges> building tag. -- Toffer
Refactoring. py sanity code. -- Toffer
 
SVN-11391
v41.2.6049 - 2021-12-05


All Changes
Merge pull request [#1223](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1223) from caveman2cosmos/master -- raxo2222
typo -- raxo2222
Cleared trailing space -- raxo2222
Refactored renamed tag, no ingame issues detected -- raxo2222
Cleared up some crumbs -- raxo2222
Merge pull request [#1222](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1222) from dsmabell/master -- dsmabell
Language: German translations -- Marco Bellmann
Merge pull request [#28](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/28) from caveman2cosmos/master -- dsmabell
Added semicolons to help Visual Studio predict tabs correctly ([#1221](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1221)) -- MattOttawa
Made Religion decay a BUG option, and improved the ctrl+shift+Q popup a bit. -- Toffer
 
11392
v41.2.6061 - 2021-12-07

  • Some tweaks to the flag tooltip. (Toffer)
  • Removed unnecessary OR requirement (special free building given by wonder itself) from Lascaux Paints wonder (raxo2222)
  • Misc improvement to in game text related to combat types, e.g. unit pedia, promo pedia and combat type inspection for specific units on the map or default unit types in city screen. Some refactoring in CvGameTextMgr.cpp. (Toffer)
  • Renamed a pedia subcategory from Unit Types to Combat Types. (Toffer)
  • Minor refactor in CvPlayerAI::AI_cityTrade (Toffer)
  • Removed Advanced Economy option, it was only a minor extension to the advanced diplomacy option, adding one more possible trade to diplomacy, free trade agreements. (Toffer)
  • Unified Animal -> Subdued Animal naming scheme (raxo2222)
  • deleted BULL version (#1224) (MattOttawa)
https://sourceforge.net/p/caveman2cosmos/code/11392
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/441c471f8069...8f77da73e16e
 
11393
v41.2.6074 - 2021-12-10

  • Some tweaks to the sub combat list in unit pedia page. (Toffer)
  • Added unit cost checker (raxo2222)
  • Nerfed culture unit - was too powerful compared to its standard counterpart (raxo2222)
  • Beacon/lighthouse version of Great Reef Barrier still could spawn on maps. (raxo2222)
  • Increased the veracity of the CvUnitInfo::setQualifiedPromotionTypes() function, should filter out some invalid promotions in the unit pedia page's valid promotion list. (Toffer)
  • Upgraded Unit Combat pedia page from sevopedia code to.... my own pedia standard. (Toffer)
  • Revised Outcomes: Removed unused ones, ensured that existing ones still work with replaced buildings, unified animal combat outcome (raxo2222)
  • Removed production speedups of no cost buildings - those tags did nothing for them. (raxo2222)
  • cleaned-up compiler warning 4127: conditional expression is constant (#1225) (MattOttawa)
  • Replaced some unsupported characters. (Toffer)
  • Fixed a potential rare CTD in pedia when holding down shift or ctrl or alt and at the same time right clicking the "Pedia" header.. (Toffer)
  • added const to a couple DllExport functions (#1035) (MattOttawa)
https://sourceforge.net/p/caveman2cosmos/code/11393/
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/8f77da73e16e...15ededea8171
 
SVN-11394
v41.2.6089 - 2021-12-13

All Changes

Merge pull request [#1227](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1227) from caveman2cosmos/master -- raxo2222
Nuked unusable Discovery buildings -- raxo2222
Minor clean up. -- Toffer
Optimization and simplification of the code dealing with evaluating if a unit can get a specific promotion, and when to remove which promotions from a unit. -- Toffer
Fixed a recent mistake of mine. -- Toffer
Added "tech levels" to combat type pedia - effectively you can see unit XGrid there, that is location in tech tree -- raxo2222
Unit pedia page will now correctly asess unit strength when Size Matters is enabled. -- Toffer
Continuing now units that were too cheap compared to base, now all units have at least 75% of base cost -- raxo2222
Due to tech movements in last 2 years some units got too expensive (cost scaling wasn't straightforward). Max price is now 125% of base cost -- raxo2222
Ensured that Global units cost 4x base, some of them were WAY off. -- raxo2222
Some text XML restructuring, and improved text for the building stat that change how much the city spreads a religion. -- Toffer
Revert "Replaced some unsupported characters." -- Toffer
pylinter nitpick -- raxo2222
 
SVN-11395
v41.2.6098 - 2021-12-15

All Changes

Merge pull request [#1228](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1228) from caveman2cosmos/master -- raxo2222
Removed copper requirement from planetary maglev -- raxo2222
Cleaned up some legacy code in python for UserSettings.. -- Toffer
Refactoring in CvUnit -- Toffer
Some bonus prereq tweaks to some S.American cultures. -- Toffer
PerfectWorld2f script is now aware that bonuses can be coastal only, and can thus place them accordingly. -- Toffer
added a couple more functions to the algo namespace from the boost library ([#1226](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1226)) -- MattOttawa
Deleted useless debug test code -- raxo2222
 
Last edited:
SVN-11397
v41.2.6106 - 2021-12-16

All Changes

Merge branch 'master' into release -- Toffer
Reverted save breaking change. -- Toffer
CvUnit refactor -- Toffer
moved 2 boost python includes back to where they were before my recent commit ([#1229](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1229)) -- MattOttawa
 
Back
Top Bottom