Commit Graph

239 Commits

Author SHA1 Message Date
Chris Forbes
589d201a16 make ShowMouseScrollDropdown static; it needs nothing from the instance. 2011-09-24 20:45:46 +12:00
Chris Forbes
6a78eec512 remove duplicated ShowWindowModeDropdown function from CncSettingsLogic 2011-09-24 20:44:38 +12:00
Chris Forbes
c608b45ef0 move cnc shellmap music toggle into Sound settings group where it belongs 2011-09-24 20:37:03 +12:00
Chris Forbes
657e8ad250 remove misleading dead assignments on saving, before using vars as out params 2011-09-24 20:32:57 +12:00
Chris Forbes
6c39f19a73 remove match timer configuration crap 2011-09-24 20:17:27 +12:00
Chris Forbes
f2867fbc61 UnregisterEvents functions do not need to be public 2011-08-13 15:01:40 +12:00
Chris Forbes
cfa8298190 remove duplication of initial map choice logic 2011-08-09 08:51:35 +12:00
Chris Forbes
b748e4b11b fix whitespace issues in CncMenuLogic 2011-08-09 08:51:35 +12:00
Chris Forbes
8844ea8e2f fix #1082; setting a bot's color no longer clobbers saved player color 2011-08-09 08:51:35 +12:00
Paul Chote
a4814b82c8 Display cost/power tooltip labels in red if there are insufficient funds/power. Fixes #1076. 2011-07-27 17:38:37 +12:00
Paul Chote
304601b5ca Split some useful bits from CncIngameMenuLogic into CncWidgetUtils for use elsewhere 2011-07-27 13:36:46 +12:00
Paul Chote
59116fc5b8 Include mod version on the ingame menu (Feature #1075) 2011-07-26 01:19:02 +12:00
Paul Chote
69d23e01aa Remove references to unused mix files 2011-07-25 22:23:20 +12:00
Paul Chote
22d3e16225 Installing from CD: Volume names / mount points are unreliable identifiers - check for specific files on the disk instead. 2011-07-25 22:23:19 +12:00
Paul Chote
a94a57db32 Add C&C settings UI for PixelDouble 2011-07-25 22:23:18 +12:00
Paul Chote
b8ba48ee67 Switch to observer ui on victory/defeat (Feature #1002). 2011-07-25 22:23:14 +12:00
Paul Chote
8f62ce9b25 Show `-' instead of 0 for unteamed players in the objectives panel. 2011-07-25 22:23:14 +12:00
Chris Forbes
0efe82018a rewrite SliderWidget to be simpler and have much less fail 2011-07-17 17:55:51 +12:00
Chris Forbes
f973b1a29f SliderWidget's OnChange event has a parameter for a reason.. 2011-07-17 12:30:45 +12:00
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