Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for (most) 1.8 maps #7631

Merged
merged 2 commits into from
Sep 13, 2020
Merged

Add Support for (most) 1.8 maps #7631

merged 2 commits into from
Sep 13, 2020

Commits on Sep 12, 2020

  1. Add: Support XML tag aliases, support "attatchment" mispelling

    This initial round of updates allows for basic support of 1.8 maps,
    they will load after this update.
    DanVanAtta committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    cca0406 View commit details
    Browse the repository at this point in the history
  2. Add support to load (most) 1.8 maps

    - Add conversion code to match attachments spelled either as 'attatchment' or as 'attachment
    
    - Add annotation @RenameOnNextMajorRelease to help us know which items we can rename
     and to what when save game compatibility can be broken.
    
    - Add ignore for properties: "takeUnitControl" and "giveUnitControl"
    
    Add conversion logic for:
    - isParatroop -> isAirTransportable
    - isInfantry & isMechanized -> isLandTransportable
    - Battleship|Units repair at beginning|end of round -> Units Repair at beginning|end of round
    - 'occupiedTerrOf' -> 'originalOwner'
    - 'victoryCity=false' -> 'victoryCity=0'
    - 'isImpassible' -> 'isImpassable'
    - 'turns' -> 'rounds'
    DanVanAtta committed Sep 12, 2020
    Configuration menu
    Copy the full SHA
    56e0ce4 View commit details
    Browse the repository at this point in the history