Opened 8 years ago
Last modified 3 years ago
#3724 new enhancement
[PATCH] Add hotkey to hide territory borders (for promotional screenshots)
Reported by: | leper | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | patch, simple |
Cc: | Patch: |
Description
For some promotional screenshots it would be nice to hide territory borders (and maybe also selection overlays) by pressing a hotkey.
r17594 added overrides to cmpTerritoryManager
(and to cmpOverlayRenderer
) to stop displaying the territories (and overlays). These might need to be exported to JS (see the ICmp*.cpp
files) so that the GUI can use them (via cmpGuiInterface
).
Attachments (2)
Change History (13)
comment:1 by , 8 years ago
Keywords: | review patch added |
---|---|
Milestone: | Backlog → Alpha 20 |
Summary: | Add hotkey to hide territory borders (for promotional screenshots) → [PATCH] Add hotkey to hide territory borders (for promotional screenshots) |
by , 8 years ago
Attachment: | t3724_v1.2.patch added |
---|
by , 8 years ago
Attachment: | t3724_v1.patch added |
---|
comment:3 by , 8 years ago
Elexis said that avoid using guiinterface for return param, so i think about move those functions to other place, but i dont know engine well.Maybe you may suggest where it can be placed?
comment:4 by , 8 years ago
Milestone: | Alpha 20 → Alpha 21 |
---|
comment:5 by , 8 years ago
Why did you add the SetOverrideVisibility function? I don't see it being used anywhere else. And is there a difference between both patches?
The rest seems fairly good.
comment:6 by , 8 years ago
Keywords: | review removed |
---|
comment:8 by , 8 years ago
Milestone: | Alpha 21 → Backlog |
---|
comment:9 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
Move tickets to In-game UI
as UI & Simulation
got some sub components.
comment:10 by , 3 years ago
Keywords: | simple removed |
---|---|
severity: | → simple |
comment:11 by , 3 years ago
Keywords: | simple added |
---|
That patch looks okay, but I'm not sure about the return false line 873 in
GuiInterface.js
Also, which one is the correct one ? Should we follow the version, or the date of upload ?