Commit Graph

6092 Commits

Author SHA1 Message Date
Paul Chote
c76d2e37dc Make the sound engine less dumb about music. Fix the music player not knowing about already playing tracks. 2011-05-21 17:26:20 +12:00
Paul Chote
42d8722cbc Merge DropDownButtons 2011-05-21 17:26:20 +12:00
Paul Chote
58e3a1f41e Use the new dropdowns everywhere 2011-05-21 17:26:20 +12:00
Paul Chote
b2c60e0876 Fix graphics mode dropdown 2011-05-21 17:26:20 +12:00
Paul Chote
5bc0ef69ad Pass WidgetArgs to Widget.Initialize. Use this to allow for custom substitutions. 2011-05-21 17:26:20 +12:00
Paul Chote
b417118429 Prototype text dropdown 2011-05-21 17:26:20 +12:00
Paul Chote
e8d652ad63 New method for attaching panels to dropdowns. Implemented for colorpicker. 2011-05-21 17:26:20 +12:00
Paul Chote
85c519c073 Normalize checkboxes 2011-05-21 17:26:19 +12:00
Paul Chote
14af766427 Remove some duplication from widgets that draw fake buttons. 2011-05-21 17:26:19 +12:00
Paul Chote
b3f9725872 Mark another obsolete field 2011-05-21 17:26:19 +12:00
Paul Chote
04e5794678 Normalize slider 2011-05-21 17:26:19 +12:00
Paul Chote
e09cd16042 Normalize scrollpanel 2011-05-21 17:26:19 +12:00
Paul Chote
adb67699e1 Move ScrollItem upstream 2011-05-21 17:26:19 +12:00
Paul Chote
e09ccef48b Normalize TextFields 2011-05-21 17:26:19 +12:00
Chris Forbes
aa772db9a7 fix crashy behavior in TextFieldWidget 2011-05-21 17:26:19 +12:00
Chris Forbes
a96b1ce01c add property support to FieldLoader 2011-05-21 17:26:19 +12:00
Chris Forbes
310ecc34ce clean up usings everywhere 2011-05-21 17:26:18 +12:00
Paul Chote
eb8aafced0 Normalize ButtonWidgets 2011-05-21 17:26:18 +12:00
Paul Chote
3eb3ae76f0 Fix progressbars 2011-05-21 17:26:18 +12:00
Paul Chote
a9bbb5f5c2 Improve manifest parsing 2011-05-21 17:26:18 +12:00
Paul Chote
e2bd20f888 Reorder sequence loading to save batches 2011-05-21 17:26:18 +12:00
Paul Chote
239a96718d Throw a slightly more useful error on duplicate keys 2011-05-21 17:26:18 +12:00
Paul Chote
d7f009b218 Use the font dictionary everywhere 2011-05-21 17:26:18 +12:00
Paul Chote
e1c8658fdc Fonts are now defined in mod.yaml 2011-05-21 17:26:18 +12:00
Paul Chote
ab423fbe8c Mark some bits obsolete 2011-05-21 17:26:18 +12:00
Paul Chote
2075c7033b Refactor scrollpanel items into their own widget 2011-05-21 17:26:18 +12:00
Paul Chote
033880862d Remove last uses of Bold: in cnc 2011-05-21 17:26:18 +12:00
Paul Chote
a65021b550 Merge most of the new ui into a single texture 2011-05-21 17:26:17 +12:00
Paul Chote
810953ea94 Cheats menu 2011-05-21 17:26:17 +12:00
Paul Chote
0b0fac3c4b Shellmap music 2011-05-21 17:26:17 +12:00
Paul Chote
cb565e5d3c Wire up the settings panel 2011-05-21 17:26:17 +12:00
Paul Chote
ce901427bc Nonfunctional settings panel prototype 2011-05-21 17:26:17 +12:00
Paul Chote
76545db7fd Allow custom CncCheckbox fonts. Tweak CncScrollbar rendering. 2011-05-21 17:26:17 +12:00
Paul Chote
665b6c2b8e Fix server browser 2011-05-21 17:26:17 +12:00
Paul Chote
87cfd0a077 Fix sidebar interaction 2011-05-21 17:26:17 +12:00
Paul Chote
32640d0300 Remove range slider, add a random button 2011-05-21 17:26:17 +12:00
Paul Chote
3e2a49934c Don't use a static variable for player palette preview. 2011-05-21 17:26:16 +12:00
Paul Chote
1526b6ff37 Make Game.LoadWidget / Widget.LoadWidget consistent. 2011-05-21 17:26:16 +12:00
Paul Chote
21267688b0 Split the colorpicker logic into its own handler. Game.LoadWidget no longer adds the loaded widget to the RootWidget. 2011-05-21 17:26:16 +12:00
Paul Chote
529ed51034 Nit: use ServerSettings to pass info to the server 2011-05-21 17:26:16 +12:00
Paul Chote
f4ea4c5daa Add a WidgetArgs type to work around gmcs not understanding lambda -> Action -> object. 2011-05-21 17:26:16 +12:00
Paul Chote
603379aa96 Fix nits 2011-05-21 17:26:16 +12:00
Paul Chote
61facc7bb1 Let panels handle closing themselves 2011-05-21 17:26:16 +12:00
Paul Chote
5fffc9d816 Don't tell the master server about local servers 2011-05-21 17:26:16 +12:00
Paul Chote
f0f591c6fb Initial settings menu copied from the old impl. 2011-05-21 17:26:16 +12:00
Paul Chote
be79529d9e Perf debug 2011-05-21 17:26:15 +12:00
Paul Chote
00f0773dc1 Clear state correctly on mod transition 2011-05-21 17:26:15 +12:00
Paul Chote
e8926ccad3 Initial no-frills mod selector 2011-05-21 17:26:15 +12:00
Paul Chote
fb4a5d4083 Fix mapchooser button order 2011-05-21 17:26:15 +12:00
Paul Chote
80d5b67bb9 Music installation 2011-05-21 17:26:15 +12:00