HomeWildfire Games

Savegame / summary screen / replay menu cleanup, refs #1090.

Description

Savegame / summary screen / replay menu cleanup, refs #1090.

Savegame / replay menu selected game information:

Show players who won the game (not only defeat).
Show translated civs instead of the civ code.
Use a translation for "%(team)s:\n%(playerDescriptions)s".
Merge nearly duplicate objects passed to formatPlayerInfo.
Merge deleteGame and deleteGameWithoutConfirmation.

Summary screen:

Construct the summary screen title in place, not in the session, nor replay menu.
Remove g_Players from the replay metadata since all relevant information is contained in the sim data.
Split g_GameData into gui and sim.
Access g_GameData instead of data for consistency.
Move code from XML to JS.
Don't use victory music when observers enter the summary screen (just keep the current track like when exiting the game as a player).
Rename updateObjectPlayerPosition to initPlayerBoxPositions.

Details

Committed
elexisJun 26 2016, 5:36 AM
Parents
rP18439: Automated build.
Branches
Unknown
Tags
Unknown