Commit Graph

1935 Commits

Author SHA1 Message Date
Chris Forbes
24d9e292dd wire up ButtonWidget.VisualHeight to ChromeMetrics as an example 2011-05-21 16:27:06 +12:00
Chris Forbes
b183366d54 add ChromeMetrics for values we dont want to duplicate everywhere 2011-05-21 16:27:06 +12:00
Paul Chote
c270f9ff4a Refactor text wrapping into WidgetUtils 2011-05-21 16:27:06 +12:00
Paul Chote
f3a54a802a Add color support to LabelWidget 2011-05-21 16:27:06 +12:00
Paul Chote
24712825eb Throw a useful exception on duplicated widget Id. 2011-05-21 16:27:06 +12:00
Paul Chote
388324dd69 Throw a sane exception when trying to load an invalid widget. 2011-05-21 16:27:06 +12:00
Chris Forbes
178e4664c7 790 fixed -- Widget.EventHandler was never used, removed 2011-05-21 16:27:06 +12:00
Chris Forbes
ec82e6fe68 make ScrollPanelWidget mouse interaction cheaper 2011-05-21 16:27:06 +12:00
Chris Forbes
0c9a1a03ce make ProgressBarWidget cheaper 2011-05-21 16:27:05 +12:00
Chris Forbes
4d4a07b791 make ScrollPanelWidget cheaper 2011-05-21 16:27:04 +12:00
Chris Forbes
9ee7fcdff1 mark some nonsense in LabelWidget 2011-05-21 16:27:03 +12:00
Chris Forbes
8d78ad2fec fix comment in CheckboxWidget 2011-05-21 16:27:03 +12:00
Chris Forbes
788e4780c6 s/order/event/ in ButtonWidget 2011-05-21 16:27:03 +12:00
Chris Forbes
8adca1960d fix comment spelling in ButtonWidget 2011-05-21 16:27:02 +12:00
Chris Forbes
1cf63ec803 Make ButtonWidget cheaper 2011-05-21 16:27:01 +12:00
Chris Forbes
072a42536e Make DropDownButtonWidget cheaper 2011-05-21 16:27:01 +12:00
Paul Chote
b08d8a02f4 Support custom margins and background on TextFieldWidget 2011-05-21 16:27:00 +12:00
Paul Chote
890136d447 Allow Labels to use any defined font. Add a new font type. 2011-05-21 16:26:59 +12:00
Paul Chote
4ad4c4dfb0 Support contrast on labels 2011-05-21 16:26:59 +12:00
Matthew Bowra-Dean
20458fc552 Move Platform.cs to OpenRA.FileFormats, fix #765. 2011-05-21 11:35:04 +12:00
Matthew Bowra-Dean
608126483e Fix #789 2011-05-21 11:34:59 +12:00
Chris Forbes
4d6b2c7954 IBOless rendering with quads; considerably reduces renderer complexity 2011-05-18 20:42:10 +12:00
Paul Chote
22cd7ae1ad Fix osx launcher. TODO: needs testing on 10.5 2011-05-04 20:24:04 +12:00
Paul Chote
4efebcd6b2 Save packages to the support dir by default, but continue to support mods/*/packages 2011-05-04 20:24:03 +12:00
Paul Chote
83c026e12b Don't rely on the utility for ra package extraction. Untested. 2011-05-04 20:24:03 +12:00
Paul Chote
0102a9ad93 Don't rely on the utility for zip extraction. 2011-05-04 20:24:03 +12:00
Chris Forbes
de8180f217 moar 2011-05-04 19:30:11 +12:00
Chris Forbes
7341b1f8f8 batch-process INotifyIdle, and add PerfSample wrappers for tick_idle and tick_activities 2011-05-04 19:23:40 +12:00
Chris Forbes
de6ac7e650 cache IMove in Actor 2011-05-04 19:23:05 +12:00
Chris Forbes
ea32b1bc6d remove a bunch of trait lookups for PlayerResources 2011-05-04 18:40:33 +12:00
Chris Forbes
d86e0ec522 rename ITraitPrerequisite<T> to Requires<T> 2011-05-04 18:02:35 +12:00
Chris Forbes
068ee3320e saner IPostRender dispatch 2011-05-04 18:02:34 +12:00
Paul Chote
6676d59847 Cache IOccupySpace and IHasLocation for some free perf 2011-05-04 11:20:41 +12:00
Paul Chote
2d7f3086f6 Nits 2011-05-04 10:46:51 +12:00
Paul Chote
6495478433 Kill Util.Centered 2011-05-04 09:21:30 +12:00
Paul Chote
8f962853f9 Support arbitrary per-player palettes. Will crash if I missed any cases that don't explicitly set the Renderable palette. 2011-05-03 22:21:31 +12:00
Chris Forbes
64782fb254 use ToList rather than List<T>.ctor 2011-05-02 22:23:36 +12:00
Chris Forbes
5675f02c84 fix koth maps; drop nuclear winter 2011-05-01 15:20:34 +12:00
Chris Forbes
eb3f4ef21d remove random Application.DoEvents() from Game.cs 2011-04-30 14:31:02 +12:00
Chris Forbes
7155747337 remove IShader.Commit 2011-04-30 14:29:32 +12:00
Chris Forbes
279413f05b dont crash on disconnect from lobby 2011-04-30 11:14:25 +12:00
Chris Forbes
2b0f553d9d remove a silly lookup in RenderSimpleInfo 2011-04-29 19:47:44 +12:00
Chris Forbes
0b0e857b13 write traitreport to a file on disconnect, not stdout 2011-04-29 19:38:54 +12:00
Chris Forbes
c7ee613ca0 add trait query report on disconnect 2011-04-22 11:12:50 +12:45
Chris Forbes
9d10bb6c69 fix 705 for ra 2011-04-18 09:08:26 +12:00
Chris Forbes
9541023456 664 fixed 2011-04-17 19:22:21 +12:00
Paul Chote
6b5f455c38 Rename CancelableActivity.cs -> Activity.cs 2011-04-16 13:24:34 +12:00
Paul Chote
4f83e994d0 Tidy up Activity.Cancel(), make Tick abstract 2011-04-16 13:18:22 +12:00
alzeih
0a67c68c45 GetTargetQueue -> GetTargets + Exts 2011-04-16 12:57:55 +12:00
alzeih
820f67e46b more for Activity 2011-04-16 12:56:10 +12:00