HomeWildfire Games

Show the selection panels to observers / in replays, fixes #3731.

Description

Show the selection panels to observers / in replays, fixes #3731.

This allows observers to see the training queue, researched techs, unit stance, constructable buildings, garrisoned units, market prices etc. for all players without changing the perspective.
All buttons are disabled if the user isn't allowed to control the affected player.
Notice updateUnitCommands() fills out the panel differently in case of selecting an allied building.
Extends the GUIInterface methods "GetNeededResources", "CheckTechnologyRequirements" and "IsTechnologyResearched" to optionally take a different player-argument.

Details

Committed
elexisJan 9 2016, 11:01 PM
Parents
rP17616: Remove invisible character introduced in r17612.
Branches
Unknown
Tags
Unknown