Matthias Mailänder
d1e18cad7a
new PauseState to differentiate game and editor pausing
2014-07-06 08:24:08 +02:00
RoosterDragon
38617dc0a9
Run StyleCop on the smaller projects.
...
Also add a copy of the rules to the CrashDialog and Irc projects.
2014-06-23 00:03:37 +01:00
Matthias Mailänder
3e627d2eba
rename ore to the more generic name resources everywhere
2014-06-20 11:11:31 +02:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
05eb56b1e2
Simplify MenuPaletteEffect activation.
2014-05-19 10:24:09 +12:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Paul Chote
0bc3a68e9f
Unify all mods on the C&C order button logic.
2014-03-22 00:02:41 +13:00
ScottNZ
1a3ec26a1e
Unify ra and cnc main menu logic and clean up the main menus.
...
Move a bunch of buttons into an Extras submenu and the server browser.
Move CncMenuPaletteEffect to ra so it can be used elsewhere and rename it to MenuPaletteEffect.
2014-01-31 23:47:15 +13:00
Paul Chote
f2a0614622
Fix chat for defeated players.
2013-10-26 12:20:50 +13:00
Paul Chote
11b34884cc
Use the newly polished text entry in C&C.
2013-10-24 20:02:17 +13:00
Matthias Mailänder
d278bc84d1
StyleCop clean Cnc DLL
2013-08-07 15:42:34 +02:00
Paul Chote
ec15aa5ee4
Restore radar enable/disable sounds.
2013-07-08 21:06:30 +12:00
Paul Chote
f8313672ff
Kill PowerBarWidget. Fixes #3446 .
2013-07-05 21:50:34 +12:00
Paul Chote
6fa4e54022
Remove the hardcoded mess of RadarBinWidget.
2013-07-04 23:19:25 +12:00
Paul Chote
c3c5321e1d
Predict local pause state to avoid order lag. Fixes #3223 .
2013-05-09 22:42:55 +12:00
Scott_NZ
ca80ac2d1f
Start moving towards saner RA widget logic. This switches players to observer mode after they have finished playing in RA/D2k and removes some legacy code.
2013-04-26 13:50:14 +12:00
Paul Chote
f368556b23
Merge tooltip support into Button and remove ToggleButton.
2013-04-08 23:01:21 +12:00
Paul Chote
eddc1fc0cf
Remove duplication between ButtonWidget and ToggleButtonWidget.
2013-04-08 22:55:01 +12:00
Paul Chote
71999bdc52
Break production tabs logic into a separate file.
...
Also unhardcodes the production types.
2013-04-08 22:32:32 +12:00
Paul Chote
21833f34b0
Remove leftovers from moving cheats into options menu.
2013-04-08 21:45:45 +12:00
Paul Chote
3968609a1e
Move C&C cheats into a panel on options menu.
2013-04-08 00:29:20 +12:00
Paul Chote
096d95f391
Fix bogus pause logic.
2013-04-07 23:38:52 +12:00
Matthias Mailänder
e9602ca4e9
pull cnc sell/repair button hotkeys from settings
2013-03-20 12:06:51 +01:00
Scott_NZ
2722fc5434
Pause the game when users navigate to the options menu in SP mode
2013-03-17 21:14:49 +13:00
Chris Forbes
3e81a4bd70
remove PowerBarWidget entirely
2012-09-25 19:51:03 +12:00
Chris Forbes
84f7aa56e1
make ResourceBarWidget generic
2012-09-25 19:44:20 +12:00
Chris Forbes
c42f270ce0
move all databinding for the silobar into ui logic
2012-09-25 19:39:33 +12:00
Chris Forbes
c30d46c014
#2051 fixed -- Widget.Get() throws by default
2012-04-27 19:39:07 +12:00
Chris Forbes
3e0f52db1a
fix cnc chrome yaml issues
2012-04-09 13:10:40 +12:00
Chris Forbes
bf5be88c75
rename Ui.RootWidget to just Ui.Root
2011-12-13 23:46:58 +13:00
Chris Forbes
ed429a3b30
split Widget static bits into Ui static class
2011-12-13 23:38:59 +13:00
Chris Forbes
2679e91b03
remove duplication in cnc order button wiring
2011-11-25 17:22:22 +13:00
Chris Forbes
45c41b6696
allow building repair always
2011-11-24 15:23:08 +13:00
Chris Forbes
00372f4748
more general tidying in CNC widget code
2011-10-21 22:58:49 +13:00
Chris Forbes
6010034b4a
remove ObjectCreator.Param and all associated nonsense
2011-10-21 18:16:07 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
f2867fbc61
UnregisterEvents functions do not need to be public
2011-08-13 15:01:40 +12:00
Paul Chote
b8ba48ee67
Switch to observer ui on victory/defeat (Feature #1002 ).
2011-07-25 22:23:14 +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
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
193999a040
Move OnMouseUp onto ButtonWidget and drop its unnecessary plumbing.
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