#3731 closed enhancement (fixed)
[PATCH] View panels in observer-mode / replays
Reported by: | elexis | Owned by: | elexis |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 20 |
Component: | UI & Simulation | Keywords: | patch |
Cc: | Patch: |
Description
Feature: As of alpha 19, the observermode / visual-replaymode hides all panels, so that one can't see the units trained, constructable buildings, unit stances, market prices etc..
The attached patch shows all panels of all players after selecting a unit / structure in observermode and disables its buttons. It shows these things for all players, no matter if the change-perspective tool is used. Since the buttons are only disabled and not graphically changed, it allows seeing if required techs / resources are met for techs / training.
Implementation:
All panels are changed in selection_panels.js
, namely: Alert, Barter, Command, AllyCommand, Construction, Formation, Garrison, Gate, Pack, Queue, Research, Selection, Stance, Training
.
One GUIInterface
change is needed in order to make it work. GuiInterfaceCall
passes the current playerID to the GUIInterface
functions. Instead we need to use the playerID of the owner of the selected building / unit.
Attachments (1)
Change History (3)
by , 8 years ago
Attachment: | t3731_observer_selection_panels_v1.patch added |
---|
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 8 years ago
Keywords: | review removed |
---|
In 17617: