Chris Forbes
a302b7999a
trim usings after prev
2011-07-17 12:25:32 +12:00
Chris Forbes
413dd0cce4
move CncColorPickerLogic into its own file
2011-07-17 12:23:42 +12:00
Chris Forbes
af05856a5f
fix foreach/closure bugs in CncLobbyLogic when setting up spectators
2011-07-17 12:15:20 +12:00
Paul Chote
bc1a50693c
Toggle repair/sell button state when active.
2011-07-15 21:31:48 +12:00
Paul Chote
8f4c2371c7
Rename TooltipButton -> ToggleButton and add an active state. Use for production group icons.
2011-07-15 21:31:48 +12:00
Paul Chote
a9b479dfea
Show (Dead) in the player list in the objectives screen (Bug #1031 ).
2011-07-15 21:31:47 +12:00
Paul Chote
d6b5b282bf
Fix player name color in objectives screen (Bug #1030 ).
2011-07-15 21:31:47 +12:00
Paul Chote
47ba4cb285
Add click sounds to ingame buttons
2011-07-14 21:00:45 +12:00
Paul Chote
195aecec0e
Add chat notification audio
2011-07-14 20:29:14 +12:00
Paul Chote
f724da5628
Tweak lobby chat panel
2011-07-14 20:29:14 +12:00
Paul Chote
3f468353fc
Fix player name color in lobby chat.
2011-07-14 20:29:14 +12:00
Paul Chote
562931196f
Give observers a minimap
2011-07-14 20:29:14 +12:00
Paul Chote
b82b716506
Add icons for options/sell/repair
2011-07-14 20:29:14 +12:00
Paul Chote
dc0c0e744a
Production group icons
2011-07-14 20:29:14 +12:00
Paul Chote
32322b1658
Add tooltip descriptions to support powers
2011-07-14 20:29:14 +12:00
Paul Chote
07ae0688ff
Fix unexplored terrain tooltip
2011-07-14 20:29:13 +12:00
Paul Chote
3d9a8cc002
Fix a tooltip crash.
2011-07-14 20:29:13 +12:00
Paul Chote
b2bfc5368a
Initial production tooltip
2011-07-14 20:29:13 +12:00
Paul Chote
6199ec1404
Hide the objectives panel when opening submenus
2011-07-14 20:29:13 +12:00
Paul Chote
d70e5d3c42
Simple support power tooltips
2011-07-14 20:29:12 +12:00
Paul Chote
e078c8f8d8
Add owner name/flag to world tooltip.
2011-07-14 20:29:12 +12:00
Paul Chote
c965899b8c
Better support for dynamic tooltip sizes
2011-07-14 20:29:12 +12:00
Paul Chote
7c72c1564e
Add tooltip hook to SupportPowers; save some batches.
2011-07-14 20:29:12 +12:00
Paul Chote
5f3483ed17
Improve edge-scroll behavior
2011-07-14 20:29:12 +12:00
Paul Chote
06990e356f
Simple world tooltip.
2011-07-14 20:29:12 +12:00
Paul Chote
2f9114fcf8
Power/Silo bar tooltips.
2011-07-14 20:29:11 +12:00
Paul Chote
b4489028de
Polish button tooltips. Add tooltips/hotkeys for menu/sell/repair
2011-07-14 20:29:11 +12:00
Paul Chote
460451c402
Start implementing new tooltip bits. Test tooltips added for buttons and production palette.
2011-07-14 20:29:11 +12:00
Paul Chote
193999a040
Move OnMouseUp onto ButtonWidget and drop its unnecessary plumbing.
2011-07-14 20:29:02 +12:00
Paul Chote
e58e354c4b
Move IsDisabled checking for OnMouseDown into ButtonWidget. Remove unnecessary bool plumbing.
2011-07-14 20:29:02 +12:00
Paul Chote
bbeaf2047b
Remove OnMouseDown from Widget. Define it on just the widgets that want it.
2011-07-14 20:29:02 +12:00
Paul Chote
5f8beb632a
Switch tabs when a queue is lost, hide tab-strip when there are no queues available, rename queueType -> queueGroup.
2011-07-14 20:29:01 +12:00
Paul Chote
a065ba0338
Keyboard support for production palette:
...
y/u/i/o/p map to Buildings/Defense/Infantry/Vehicles/Aircraft.
Tab or successive y/u/i/o/p will switch tabs within a category.
Successive clicks on category icons will also switch tabs.
Shift + keyboard/click cycles tabs in reverse.
2011-07-14 20:29:01 +12:00
Paul Chote
8950ef7bcb
Hook up sell/repair buttons
2011-07-03 06:29:41 +12:00
Paul Chote
c76811c5e1
Rewrite production tabs (again): Avoid doing a pile of work every tick; support multiple queue types grouped under one category; Tab numbering is sticky.
2011-07-03 01:48:14 +12:00
Paul Chote
b85fce3b41
Disable queue buttons when there are no tabs
2011-07-02 21:37:31 +12:00
Paul Chote
d5e63538ad
Port production palette from ui2 branch. Needs reworking. Unfinished.
2011-07-02 07:32:34 +12:00
Paul Chote
1f92286b51
Wire up cash display
2011-07-02 03:53:13 +12:00
Paul Chote
9b3cedd37f
Show map title in the lobby
2011-07-01 23:37:53 +12:00
Paul Chote
3dec6016e7
Remove diplomacy menu, lock teams option (Feature #950 ).
2011-07-01 23:19:50 +12:00
Paul Chote
fa6b9983d3
Conquest objectives panel (Feature #949 ).
2011-07-01 23:07:50 +12:00
Paul Chote
7c63138e3f
Mechanism for showing mission objectives in the ingame menu. Fixes #948 .
2011-07-01 02:34:30 +12:00
Paul Chote
24266ebc93
Autodetect CD instead of prompting the user. Fixes #911 . Requires testing under Windows and Linux.
2011-06-24 19:08:29 +12:00
Paul Chote
dc9b0adba9
Kill unused map installation code.
2011-06-24 17:26:33 +12:00
Paul Chote
916e63710c
Fix #892
2011-06-24 17:08:58 +12:00
Paul Chote
ec3d467858
HackyAI supports teams ( Fixes #917 ).
2011-06-23 17:41:38 +12:00
Paul Chote
088573f2b7
Disable controls instead of hiding when ready. Fixes #889
2011-06-20 22:50:32 +12:00
Paul Chote
7838896c81
Display bot spawns to everyone, not just the host.
2011-06-20 22:50:32 +12:00
Paul Chote
49dfbd43b7
Fix #896
2011-06-20 22:50:32 +12:00
Paul Chote
8875d1adee
Skirmish starts with the last used map.
2011-06-20 22:50:31 +12:00