C2C SVN Changelog

SVN-11239
v40.1.3107 - 2020-11-07

All Changes

Merge branch 'master' into release -- Toffer
Removed unused and duplicate art files. -- Toffer
Another pack of minor graphical improvements -- drd-avel
deleted CvCity::getFreshWaterBadHealth() ([#650](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/650)) -- MattOttawa
switched an array to a vector in CvBuildingInfo ([#701](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/701)) -- MattOttawa
Switched selection group loops to foreach_ ([#681](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/681)) -- MattOttawa
Merge pull request [#718](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/718) from dsmabell/master -- dsmabell
More nitpick -- Toffer
Some nitpicking in code -- Toffer
Changed icons of Stone and Silk, updated others -- drd-avel
Update loadingscreenbgbeyondthesword.dds -- drd-avel
Update C2C_Main_Menu_BG.dds -- drd-avel
Misc cleanup -- Toffer
Updated main menu bacground to use the refurbished image by DrD_Avel. -- Toffer
German translations -- Marco Bellmann
Merge pull request [#19](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/19) from caveman2cosmos/master -- dsmabell
 
11240 - Old saves won't work
v40.1.3121 - 2020-11-09

  • deleted ifdef parallel maps (#727) (MattOttawa)
  • CvCity DisabledBuilding array 2 vector. (Toffer)
  • Revert "Update loadingscreenbgbeyondthesword.dds" (drd-avel)
  • Removed redundant py function (Toffer)
  • Rewrote free building code, big RAM saving, and possibly resolved the odd behavior it had. (Toffer)
  • added break (#726) (MattOttawa)
  • Fixed a bug from the city loop to algo change some time ago (Toffer)
  • Removed obsolete unit tag. (Toffer)
  • Added actual thresholds for last culture level (raxo2222)
  • Removed NO_ESPIONAGE game option, re-enabled the monumental cultural level. (Toffer)
  • CvCity BonusDefenseChanges array 2 map. (Toffer)
  • CvCity unit prod mod array 2 map (Toffer)
  • CvCity building prod mod array to map. (Toffer)
  • Changed CvTeam unit count array to map. (Toffer)
  • Removed unused stuff related to unit strength change from tech (Toffer)
  • Centralized the CvTeam unit count change call (Toffer)
  • Changed CvTeam noTradeTech array to vector, related to the tech brokering option. (Toffer)
  • Another array in CvPlayer converted to more efficient datastructure.. (Toffer)
  • Another unit array changed to map in CvPlayer. (Toffer)
  • changed unitCombatFreeXP array to map. (Toffer)
  • Changed unitCombatProductionMod array to map. (Toffer)
  • Minor tweaks and fixes in CvUnit read/write code. (Toffer)
  • Fixed mistake I made in CvUnit read/write code almost a month ago at the very beginning of this savebraeak branch, made it so that units lost all promos when loading saves. (Toffer)
  • converted player unitProductionMod array to map. (Toffer)
  • Changed goldenAgeOnBirthOfGreatPerson from array to map. (Toffer)
  • changed GG-pointsForUnit array to a map, there's only like 4 different units that can accumulate GG points, so no need to store over 2000 zero integers for this purpose all the time per player. (Toffer)
  • Converted two more building array in CvPlayer to maps. (Toffer)
  • Converted bonusImport/export arrays to maps. (Toffer)
  • Converted freebuilding array to map. (Toffer)
  • Changed the two extra happy/health from buildings arrays to maps. (Toffer)
  • Converted big buildingMaking array to small map. (Toffer)
  • Changed huge unitMaking array to a small map. (Toffer)
  • Changed player unit count from an array of as many elements as there are unit types in the game, to a vector that is only as long as the amount of different unit types the player currently have. (Toffer)
  • Fixed rev problem spot related to NPC reordering. (Toffer)
  • modified feature keyed info read/write (MattOttawa)
  • Minor thing I forgot in last commit. (Toffer)
  • revised the feat coding a bit and brought back the you've trained your first naval unit feat that raxo recently removed. (Toffer)
  • modified terrain keyed info read/write (MattOttawa)
  • Careful refactor of CvPathGenerator::generatePath while investigating an assert. (Toffer)
  • Fixed a bad bug in CvUnitAI::AI_subduedAnimalMove() (Toffer)
  • Fixed faulty attitude switch in CvTeamAI::AI_contactTradeVal (Toffer)
  • Removed unused/broken italic font tags from pedia entries (dzfischer)
  • Got rid of the "AI could not choose production for city %S" assert and refactored CvCityAI::AI_chooseProduction() quite a bit, with a few minor tweaks. (Toffer)
  • Refactor with minor tweak in CvUnitAI::AI_workerMove() (Toffer)
  • Refactor and tweaks in CvPlayerAI::AI_bestJoinWarTeam & AI_bestStopTradeTeam (Toffer)
  • Stopped NPC teams from updating their worst enemy every turn, only regular AI's should have a worst enemy. Misc refactoring. (Toffer)
  • Improvements in CvUnitAI::AI_InfiltratorMove(), infiltrator units should now act more sensible when in enemy cities. (Toffer)
  • Refactor continuation in CvTeamAI (Toffer)
  • Refactor: CvPlayerAI::AI_diploVote (Toffer)
  • Misc refactoring (Toffer)
  • **audio:** New audio and some new quotes for Classical era technologies (dzfischer)
  • Refactoring, mainly CvTeamAI where I unified AI_getAttitude & AI_getAttitudeVal so they returns the same attitude for a given team. (Toffer)
  • Removed feat references to nonexistant combat classes. (raxo2222)
  • removed python class PlotCaptions (MattOttawa)
  • deleted CvInitCore::m_aszSaveGameVector (Toffer)
  • deleted unused flags for expansion (MattOttawa)
  • Removed unused option, SM uncut. (Toffer)
  • Added a comment related to SAVEBREAK (Toffer)
  • Reordered NPC teams, as barbs must be last. (Toffer)
  • CvInitCore read/write cleanup (Toffer)
  • Found oversight in the SAVEBREAK comment notes that tripped me up a bit. (Toffer)
  • deleted CvGame::setFutureEras() (MattOttawa)
  • Two small ones. (Toffer)
  • CvPlayer read/write cleanup (Toffer)
  • Semi-reverted the widget commit as the exe has hardcoded enum values higher than the one I deleted. (Toffer)
  • CvPlot read/write cleanup, not entirely sure how to handle m_paiBuildProgress compat code atm, so I let that mostly be. (Toffer)
  • CvUnit read/write cleanup (Toffer)
  • Removed an unused widget type, probably more, this was the only one I know about atm. (Toffer)
  • CvCity read/write cleanup (Toffer)
https://sourceforge.net/p/caveman2cosmos/code/11240
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/5a0163238653...8fd3e321feac
Old saves won't work
 
SVN-11242
v40.1.3135 - 2020-11-12

All Changes

Merge pull request [#729](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/729) from caveman2cosmos/master -- raxo2222
dummy change to restart appveyor -- raxo2222
Merge branch 'master' into release -- Toffer
Fixed bug in spawnInfo xml located in modules, they were forgotten about when a systematic xml change was needed for spawn xml. -- Toffer
2nd try to enhance gfx of Loading screen -- drd-avel
Tiny nitpick in spawn infos -- raxo2222
Minor building nitpick -- raxo2222
Removed unnecessary tag fron regular building -- raxo2222
Refactoring and refined AI move order priority for units who can withdraw. -- Toffer
 
Last edited:
SVN-11244
v40.1.3148 - 2020-11-15

All Changes

Merge branch 'master' into release -- Toffer
Fixed tech requirements of slave build actions -- raxo2222
Reverted last temp fix in python and fixed the real bug in which was on the dll side. -- Toffer
Simple temp fix for a python bug. -- Toffer
 
11246 - v41
v40.1.3181 - 2020-11-18 .... Forgot to increment the git version number....

  • 3rd try to enhance loading screen (used DeNoise AI) (drd-avel)
  • Enhance of other pictures (drd-avel)
  • New ~60 pictures for almost wonders of Special tab, removed unused .bik (drd-avel)
  • Bamboo MK2 number 14, only 1 more left to do. (Toffer)
  • German translations (Marco Bellmann)
  • Upscaled loading screen image. (Toffer)
  • Revert "2nd try to enhance gfx of Loading screen" (drd-avel)
https://sourceforge.net/p/caveman2cosmos/code/11246/
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/78f85f0d595e...d27eb04e0d87
 
Last edited:
5 days old update log we forgot to post here, mostly because there's no real change here.
I've no idea why there's a 11247 revision there...

11247 - v41
40.1.3189 - 2020-11-18
11248 - v41
v40.1.3190 - 2020-11-18
  • Incremented version number (Toffer)
 
Last edited:
11250 - Incomplete revision.
v41.0.3244 - 23-11-20
  • This is a manual commit using tortoise.
    • Minor expansion to the isAliveAndTeam helper function, + refactoring -- Toffer
    • CvGame refactor -- Toffer
    • Refactoring, mainly CvCityAI::CalculateAllBuildingValues -- Toffer
    • deleted extra bool ([#733](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/733)) -- MattOttawa
    • Fixed old stuff referencing nonexistant items. -- raxo2222
    • 32 new Medieval tech quote audio, new Neanderthal diplo music ([#742](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/742)) -- dzfischer
    • New steel tower icon, minor tweaks&fixes -- drd-avel
    • Fills in several building TBDs with text. ([#741](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/741)) -- FirinMaLazors
    • added includes ([#739](https://github.com/caveman2cosmos/Caveman2Cosmos/issues/739)) -- MattOttawa
    • Refactor CvPlot -- Toffer
    • Refactored CvDeal. -- Toffer
    • Revealed plots can now give value to map trading if one player has more info than the other player about what's on the plot; so more up to date maps has value over inaccurate maps. -- Toffer
    • CvTeamAI refactor, also made map trading more valuable and tweaked some AI trade denial logic. -- Toffer
    • Some CvTeamAI refactor, I'll stop here as it causes conflicts with a branch MattCA is working on that I just learned about. -- Toffer
    • CvGame refactoring -- Toffer
    • Tweaked icons and all group wonders now in one folder -- drd-avel
    • Sort&redone goods icons, new lobster icon, minor cleanups -- drd-avel
    • CvPlayer refactor. -- Toffer
    • Expanded the new CvPlayer::isAliveAndTeam helper function -- Toffer
    • Minor optimization. -- Toffer
    • Figured out how to make the git build number correct. -- Toffer
    • Fix for alphabetical order of Effects and other build names (only for English) -- drd-avel
    • Global_CIV4GameText.xml -- Sannita
    • fix labels -- Sannita
    • renaming special buildings to match alphabetical list order -- Sannita
    • CvTeamAI refactor -- Toffer
    • Refactoring of CvTeam. -- Toffer
    • Added a helper function to CvPlayer and took it in use here and there, still lots of places to use it. -- Toffer
    • Fixed bugs in improvement health calcs, and refactored CvCityAI::AI_bestPlotBuild() further. -- Toffer
    • Refactoring, mainly CvUnit::pillage() -- Toffer
    • Misc refactoring, mainly autosave stuff. -- Toffer
    • Some CvCityAI refactoring -- Toffer
    • Some CvPlayer refactoring -- Toffer
    • misc cleanup/refactor -- Toffer
    • Some BUG code refactoring. -- Toffer
    • CvArea refactoring done while casually exploring code. -- Toffer
    • Fixed a mistake I made. -- Toffer
    • Put the SM unit counter into play for unit cost mod per unit in play, and cleaned up some debug stuff I left behind. -- Toffer
    • Helped blaze along with the SM unit counter, it's working correct now afaics. -- Toffer
    • Refactored CvUnit::spread(...) -- Toffer
    • Fixed erroneous "failed to spread religion" message when owning the Fa Men SI wonder. -- Toffer
    • Refactored CvGame::doGlobalWarming() -- Toffer
    • Reworked inflation and hurry production code. -- Toffer
    • wip, two issues -- DZF
  • This revision doesn't have up to date FPK's included (next revisions will have them).
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/6119acad5b08...ddf6c9489ff4
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/ddf6c9489ff4...c7ca69ba55cb
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/c7ca69ba55cb...e4c8410845da
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/e4c8410845da...28c807da69ca
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/28c807da69ca...48fdf5fb788e
 
Last edited:
Don't update to 11252, all that revision contains is the complete removal of mip mapping from all textures, which is a mistake and will be reverted.

11252
v41.0.3247 - 2020-11-23

  • MAJOR repack almost all .dds gfx! Over 1k files! -- drd-avel
 
SVN-11253
v41.0.3263 - 2020-11-24

All Changes

Merge branch 'master' into release -- Toffer
Putting isAliveAndTeam() helper function to good use, lotsa refactoring. -- Toffer
Promotions icons edits (~120). Most of top proms will be white-gold. -- drd-avel
CvCity refactoring. -- Toffer
Merge branch 'master' into release -- Toffer
Revert "MAJOR repack almost all .dds gfx! Over 1k files!" -- drd-avel
Minor xml formatting annoyance -- Toffer
 
11254
v41.0.3280 - 2020-11-26

  • Some minor refactoring done while fruitlessly debugging a CTD case. (Toffer)
  • Changed AI logic on hurry production (gold), to consider inflation and financial aspect more. +refactoring. (Toffer)
  • Fixed minor AI bugs in inquisitor unitAI code, slight increase in numCityMaintenance, misc refactoring. (Toffer)
  • added civ4 python files that are used by C2C (#731) (MattOttawa)
  • added includes (#744) (MattOttawa)
https://sourceforge.net/p/caveman2cosmos/code/11254/
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/74d503b23bfe...9b5fa5da4abf
 
11255
v41.0.3295 - 2020-11-27

  • Tiny py refactor in revolution.py (Toffer)
  • Minor CvUnitAI refactoring. (Toffer)
  • Fixed bug in city capture regarding gold pillaged. (Toffer)
  • Forgot to clean up a dumb debug line. (Toffer)
  • Fixed space scenarios placing starting civs in space if no starting coordinate is specified for the player slot in the scenario file.. (Toffer)
  • Python refactoring, mainly revolution code. Also reduced floating point arithmetic. (Toffer)
  • switched assert calls to FAssert because FAssert has call stack (#748) (MattOttawa)
https://sourceforge.net/p/caveman2cosmos/code/11255
https://github.com/caveman2cosmos/Caveman2Cosmos/compare/9b5fa5da4abf...da37ba840816
 
11256
v41.0.3343 - 2020-11-29

  • added includes (#756) (MattOttawa)
  • Python refactoring. (Toffer)
  • Fixed a couple py errors I made in the info screen. (Toffer)
  • python unit loops (#753) (MattOttawa)
  • switched CyMapGenerator dummy (#755) (MattOttawa)
  • CyArtFileMgr dummy (#752) (MattOttawa)
  • fixed python mistake (#754) (MattOttawa)
  • Fixed a couple py mistakes. (Toffer)
  • deleted bits of old file caching code (#750) (MattOttawa)
  • Huh, an encoding issue in some python comments appeared by mistake when I did a mass replace.. (Toffer)
  • Fixed a WB bug that the unit+cities sub-screen had. (Toffer)
  • python refactoring. (Toffer)
  • added 2 logging functions and deleted half dozen (#749) (MattOttawa)
  • Tweaked bamboo appearance on map a bit. (Toffer)
https://sourceforge.net/p/caveman2cosmos/code/11256
 
11257
v41.0.3368 - 2020-12-01

  • CyPlayer and CyTeam dummy (#757) (MattOttawa)
  • Fixed my mistake in BarbarianCiv.py, and made it so that if the original owner is barbarian, it will be changed to the new civ that emerge from it. (Toffer)
  • Fixed my recent mistake in MoreCiv4Alert (Toffer)
  • Refactoring, mainly CvPlayer::acquireCity (Toffer)
https://sourceforge.net/p/caveman2cosmos/code/11257
 
Top Bottom