Commit Graph

422 Commits

Author SHA1 Message Date
Chris Forbes
aa772db9a7 fix crashy behavior in TextFieldWidget 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
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
2075c7033b Refactor scrollpanel items into their own widget 2011-05-21 17:26:18 +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
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
e8926ccad3 Initial no-frills mod selector 2011-05-21 17:26:15 +12:00
Paul Chote
80d5b67bb9 Music installation 2011-05-21 17:26:15 +12:00
Paul Chote
dfb07153c6 Rollover etc CncDropDownButtonWidgets 2011-05-21 17:26:15 +12:00
Paul Chote
86159f9ddc Fix lobby color picker 2011-05-21 17:26:15 +12:00
Paul Chote
c4f40babb5 Reimplement music player 2011-05-21 17:26:14 +12:00
Paul Chote
7c18614bf3 Fix observers 2011-05-21 17:26:14 +12:00
Paul Chote
ab28f5867f Disallow watching replays with zero duration. 2011-05-21 17:26:14 +12:00
Paul Chote
814845730f Work around a race condition with local servers. 2011-05-21 17:26:14 +12:00
Paul Chote
33a4f5e29e Support loopback servers for solo play 2011-05-21 17:26:14 +12:00
Paul Chote
b1a6eec3d3 Stop using MasterServerQuery in server browser 2011-05-21 17:26:14 +12:00
Paul Chote
2f9ec67510 Fix the server browser player count 2011-05-21 17:26:14 +12:00
Paul Chote
655eb123b9 Give more polished error messages 2011-05-21 17:26:14 +12:00
Paul Chote
3d493d3ace Package download works. Download error messages need polish. 2011-05-21 17:26:14 +12:00
Paul Chote
37577afc36 Polish 2011-05-21 17:26:13 +12:00
Paul Chote
6a1f3cfc18 Installing from CD reimplemented 2011-05-21 17:26:13 +12:00
Paul Chote
372d2f5426 Saner load code for cnc. Installing not yet implemented. 2011-05-21 17:26:10 +12:00
Paul Chote
2e1e8fd7e8 Apply desat effect on ingame menu too 2011-05-21 17:25:45 +12:00
Paul Chote
d95138b600 Use the same mechanism for loading ingame and shellmap ui. 2011-05-21 17:25:45 +12:00
Paul Chote
6fa9eeb5bb Prompt before quit / surrender 2011-05-21 17:25:45 +12:00
Paul Chote
33b35f768e Nits 2011-05-21 17:25:44 +12:00
Paul Chote
8957caeaca Basic ingame menu reimplemented. 2011-05-21 17:25:44 +12:00
Paul Chote
5e32cd38eb Fix initial selected map, naming. 2011-05-21 17:25:44 +12:00
Paul Chote
7db1b5a1a0 Add a hover state for scrollpanel entries 2011-05-21 17:25:44 +12:00
Paul Chote
fdf9927854 Remember the last map. Disable the server desc and password fields. Draw the chat entry box on top of the display box. 2011-05-21 17:25:44 +12:00
Paul Chote
805f61cc4b Bugfix when connecting via server browser 2011-05-21 17:25:44 +12:00
Paul Chote
fd6c0a90c6 Show the host/port in the dialogs. Show the failed dialog in the lobby when the server vanishes. 2011-05-21 17:25:43 +12:00
Paul Chote
5c59f7703d Reimplement connecting / connection failed dialogs. 2011-05-21 17:25:43 +12:00