Commit Graph

1148 Commits

Author SHA1 Message Date
Paul Chote
ebf2ce32c0 Make sure braces for multi-line statements are on their own lines. 2019-06-08 19:26:53 +02:00
Paul Chote
c253aaeb9d Replace for(;;) with while (true). 2019-06-08 18:46:03 +02:00
Paul Chote
674155a8dd Move ctor initializers to their own line. 2019-06-08 18:44:50 +02:00
Paul Chote
03c1eaad76 Add a SHA1 check for downloaded packages. 2019-06-08 13:39:17 +02:00
Paul Chote
9f15754926 Remove scoped blocks in ReplayBrowserLogic. 2019-06-08 13:20:14 +02:00
Paul Chote
dabc7ec8dd Remove unnecessary this. references. 2019-06-08 13:19:27 +02:00
ltem
2a7ea28b74 Fix inconsistency in oberserver statistics 2019-05-31 20:50:23 +02:00
Evgeniy S
3a30b013a5 Move Selection into a Trait 2019-05-31 15:50:53 +02:00
Ivaylo Draganov
fde215360c Add tooltips to overflowing labels 2019-05-27 17:28:47 +02:00
Ivaylo Draganov
1fee50be2e Add TruncateLabelWithTooltip helper function
* Move GetContrastColor helper to SpriteFont
* Move WidgetUtils  from OpenRA.Game.Widgets to OpenRA.Mods.Common.Widgets
2019-05-27 17:28:47 +02:00
Ivaylo Draganov
79d1899426 Remove redundant compiler workaround 2019-05-27 17:28:47 +02:00
teinarss
c89f4b7a76 Added tooltip to support powers in spec ui 2019-05-26 19:08:24 +01:00
teinarss
12484caf04 Added field to ProductionQueue to customize ordering in ObserverProductionIconsWidget 2019-05-26 19:04:54 +01:00
Paul Chote
78a70be0d4 Fix and enable SA1133, SA1134 style rules. 2019-05-24 10:47:57 +02:00
teinarss
9fc8b829e4 Updated the observer ui 2019-05-22 22:37:50 +01:00
teinarss
b90b3095a6 Updated ColorBlockWidget to handle setting the Color in yaml 2019-05-22 22:37:50 +01:00
teinarss
dad29cd3b3 Added GradientColorBlockWidget 2019-05-22 22:37:50 +01:00
teinarss
b25d0694b8 Updated ScrollPanelWidget to handle Scrollbar alignment 2019-05-22 22:37:50 +01:00
teinarss
a495c0c475 Remove check to see if DeveloperMode is enabled 2019-05-22 19:46:30 +02:00
teinarss
ef47a3394f Added cell pos and world pos to debug 2019-05-21 22:28:44 +01:00
abcdefg30
09d6387e64 Prevent negative times in GameTimerLogic 2019-05-16 14:56:56 +02:00
Oliver Brakmann
47d88983fb Let sidebar timer count backwards if a time limit is set 2019-05-16 14:56:56 +02:00
Paul Chote
72dbb871ac Add faction specific tooltip backgrounds. 2019-05-15 21:05:49 +02:00
Ivaylo Draganov
4931fc2ca6 Enable AddFactionSuffixLogic for ProductionTabsWidget and BackgroundWidget 2019-05-15 21:05:49 +02:00
teinarss
0e3d343f15 VAlign correctly in LabelWidget 2019-05-09 22:17:24 +02:00
Paul Chote
7c71e55b01 Restore no-arg ExponentialSliderWidget ctor.
This is required for dynamic widget creation.
2019-05-09 21:38:40 +02:00
Paul Chote
353db73381 Fix a collection of minor style violations.
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
Paul Chote
c8f2ee5270 Save and load skirmish spectator viewport. 2019-05-05 09:30:58 +02:00
teinarss
d9d2202599 System messages should be yellow to distinguish them from normal 2019-04-27 14:51:59 +02:00
BGluth
55aa346ad7 Aircraft can now scatter 2019-04-22 22:04:51 +02:00
abcdefg30
b2278e85f0 Add support for arbitrary objective type names 2019-04-22 21:04:42 +02:00
abcdefg30
6163523334 Enable spectator team chat in the lobby 2019-04-22 19:55:04 +01:00
abcdefg30
e6feba8884 Remove the TeamChat order type 2019-04-22 19:55:04 +01:00
abcdefg30
83b92ebacb Disable team chat when only one team member is alive 2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d Send the designated team number as extra data in the order 2019-04-22 19:55:04 +01:00
abcdefg30
5e363f18c9 Disable the team chat button after the game ended 2019-04-22 19:55:04 +01:00
abcdefg30
7b8df0ed54 Disable spectator chat when there is only one spectator
and re-enable it when players die
2019-04-22 19:55:04 +01:00
Mustafa Alperen Seki
de7706c98f Add ProductionCost/TimeMultiplier 2019-04-22 20:44:50 +02:00
Mustafa Alperen Seki
77b313611e Make Queue Groups work with ClassicProductionQueue. 2019-04-22 16:16:35 +02:00
Paul Chote
de9649df27 Add save/load browser and buttons to the UI. 2019-04-20 14:54:48 +02:00
Paul Chote
3a693d8def Implement loading screens. 2019-04-20 14:54:48 +02:00
Paul Chote
877215c86a Dynamically populate the ingame menu. 2019-04-20 14:54:48 +02:00
teinarss
1dd90a1d7b Pushed down the MouseInput handling to the OrderGenerators and made a base class for handling the basic logic 2019-04-04 20:10:34 +02:00
Mustafa Alperen Seki
9fef2c01ec Add AppearsOnMapPreview
Allows preplaced actors to be rendered on map preview when saving the
map.

Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
Paul Chote
f69c6ab3fb Update SharpZipLib to 1.1.0.
The default code page has been changed to UTF8
so our workarounds are no longer needed.
2019-03-30 20:47:22 +01:00
Ivaylo Draganov
7695714f66 Add hotkey for removing actors from control groups
* Add `RemoveFromControlGroup` hotkey
* Add `RemoveFromControlGroup` method to `OpenRA.Game.Selection`
2019-03-28 13:20:47 +01:00
abcdefg30
19b2cb0afb Log the stack trace when map saving fails 2019-03-08 21:21:10 +01:00
Paul Chote
f63d0272a7 Fix map title not updating after remote query completes. 2019-03-06 18:23:33 +01:00
Paul Chote
fc9169a633 Reset spawn previews for empty servers. 2019-03-06 18:23:33 +01:00
Paul Chote
3e404f6ac2 Remove HSLColor. 2019-03-04 18:26:42 +00:00