1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Git Update Log

Discussion in 'Rhye's and Fall - Dawn of Civilization' started by Leoreth, Nov 19, 2015.

Thread Status:
Not open for further replies.
  1. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    Git Update Log v1.17

    This is a separate thread for commit logs, so recent changes don't get lost so easily in the General Discussion thread. This will make it easier to notice current changes or to get an overview over new features introduced in recent times.

    I will continue to post significant changes in the discussion thread as well to provide context for discussion.

    If you want to comment, simply go HERE.
     
    Last edited: Jun 8, 2019
  2. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    Merged a pull request by Sgt. Bears: Event Trigger Fixes
    * techs enabling events are now made consistent so that they are enabled by entering an era
     
  3. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    Merged a pull request by Panopticon: Senegal and Mozambique
    * Laurenco Marques renamed Mocambique in the 1700 AD scenario
    * Mocambique renamed Laurenco Marques when Portugal enters the Industrial era
    * added French Saint Louis du Senegal to the 1700 AD scenario

    Further updates:
    * added the Senegal river and a flood plains tile to West Africa
     
  4. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    Merged a pull request by merijn_v1: expanded corporation screen
    * The corporation advisor now displays the required techs, available resources and factors influencing spread for a corporation
     
  5. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New feature: Rework of the city name manager
    • New method of entering names that requires less effort*, automatically making sure the inverse naming direction always exists
    • Moved communist names and era based renames to dictionaries
    • Communist renames are now checked when adopting new civics instead of when a tech is discovered
    • Added a method to reverse communist names when Central Planning is abandoned
    • General cleanup of the code

    *to elaborate, this means that every city is now uniquely identified by one specific out of all of its possible names. For instance, Constantinople is always identified as "Constantinopolis". If you want to add a new name for the city for a language, you always only have to use this identifier (e.g. English only has to add "Constantinopolis -> Constantinople", but not e.g. "Konstantinoupolis -> Constantinople"). To make this work, you have to separately register the new rename as a possible name for the identifier "Constantinopolis" in a separate identifiers dictionary.

    This helps in two ways: since you don't have to manually enter every possible name yourself, pairs cannot be missed and missing renames much less likely to happen. Secondly, it cuts down on the overall file size and amount of work to maintain it significantly.

    Previously, the worst offender, Constantinople, had 19 possible names. To cover all possible renames, you had to manually enter all 18^2 = 324 combinations. Now only up to 2 * 19 entries are required. Likewise, entering a new name would only require at most 2 new entries instead of 19. People who are familiar with the many-to-many problem should be familiar with this phenomenon.

    The reason the CNM file is not significantly shorter than before is because it now covers a lot of inverse renames that were previously missing at no extra space required.

    I used an automated script to convert most of the renames to the new format. It's not entirely perfect, so some renames might have been missed. If so, please report missing renames in the thread I will create for this purpose.
     
  6. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: fix some mistakes in the new CNM code.
     
  7. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: If no found name is available, names from a civ native to the area are used.
     
  8. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: additional Polish, Babylonian and Ethiopian city names
     
  9. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: fixed Japanese capital transition (credit to bnxkpc).
     
  10. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    NOTE: This update breaks savegame compatibility (I think).

    Merged a pull request by merijn_v1: include the Platybuilder into the mod.

    Merged a pull request by Sgt. Bears: reorder the entries of various XML files.
     
  11. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: Bogota tile now becomes a hill when the Inca conquerors appear.
     
  12. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: fixed a bug for the Byzantine bribe UP.
     
  13. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: Atlantic/Pacific coast is displayed as part of Canada.
     
  14. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: fixed wonder effects and requirements (includes Moai Statues and Eiffel Tower).
     
  15. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: Democracy changes
    - America starts without Democracy
    - increased Democracy cost
    - Democracy counts as Industrial tech again
    - first to discover Democracy receives a Great Statesman
     
  16. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: WARNING: this commit breaks savegame compatibility.
    - trading company conquerors spawn at the end of turn to avoid a crash.

    Savegame compatibility from the previous can be restored, see here.
     
  17. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New feature: merged a couple of pull requests by Sgt. Bears including code clean up, file reorganization and minor corrections.
     
  18. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New feature: reimplementation of the dynamic civilization name mechanic
    - More generic civ names: "Kingdom of {}", "Empire of {}" and so on
    - Short names ("England", "Britain" ...) and adjectives ("English", "British") are determined and inserted separately
    - Vassal names are often generic and use master adjectives and vassal short names
    - Auto-discovery code for commonly used text keys like republican, communist, fascist and default names
    - Some civ names are dynamically derived from the name of its capital (e.g. Byzantium when not controlling Constantinople)
    - Changed capital location based names to use coordinates instead of city names so it is not variant on renamed cities
    - Default foreign names for basic short names to allow for sensible short name or adjective insertion (e.g. "the Netherlands" instead of "Netherlands")
    - standardized mechanism for renaming civ short description and adjective (Phoenicia -> Carthage, Holy Rome -> Austria) including automatically accounting for their long titles
    - used all the above features to significantly cut down on the number of required text keys and their registration in the dynamic names Python code
     
  19. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update: Fixed third Thai goal to allow independent cities.
     
  20. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    33,044
    Gender:
    Male
    Location:
    Leblanc
    New update:
    - Fixed a bug related to saved Python data.
    - Added stability maps for Harappa, Polynesia and Canada.
     
Thread Status:
Not open for further replies.

Share This Page