Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
e0bcfa918d
Fix half-pixel offset in ColorBlock rendering.
2018-03-19 17:31:44 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
77a7453347
Improve WidgetUtils.WrapText performance on long lines.
2017-10-26 01:42:16 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Oliver Brakmann
8ad18ad161
Rewrite color inversal in a reusable way
2016-09-02 20:58:46 +02:00
Paul Chote
50da18cd22
Add depth buffer support to RgbaColorRenderer.
2016-08-27 15:43:20 +01:00
Paul Chote
2150a5e865
Move ChooseInitialMap to MapCache.
2016-03-29 23:46:11 +01:00
Paul Chote
d40bff3fd9
Support map-defined AI in the lobby.
2016-03-16 21:03:31 +00:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
7a5678ec39
Move MapVisibility to MapPreview.
2016-02-06 22:28:35 +00:00
atlimit8
bee590a057
Merge pull request #10208 from RoosterDragon/perf-comments
...
Added some performance comments
2015-12-13 20:46:07 -06:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
Paul Chote
66744ee92a
Use RgbaColorRenderer for UI rendering.
2015-12-10 23:22:46 +00:00
Pavel Penev
636725235b
Add a null check to CachedTransform.Update()
2015-11-15 16:23:07 +02:00
Paul Chote
6673c882ee
Add helpers for truncating long labels.
2015-11-08 14:59:53 +00:00
Paul Chote
1109ec53d1
Update UI timers for variable game speed.
2015-09-06 17:48:42 +01:00
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd
Rename Faction trait members
...
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
Zimmermann Gyula
d5a5640f52
Adds an IconPalette property to Buildable and SupportPower traits.
2015-06-12 20:33:58 +02:00
penev92
2402b56da7
Reorganize PlayerReference loading to enable upgrade rules for them.
...
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
RoosterDragon
7e28acadd8
DrawPanelPartial now specifies each sprite as an individual parameter.
...
This allows some array allocations to be avoided, and makes the code more obvious since each sprite is referred to by name rather than an array index.
2015-02-02 21:16:14 +00:00
RoosterDragon
82bea961ba
Checked LINQ queries and collections for inefficiencies.
...
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
- Collection queried often via Contains use ToHashSet to speed up lookups.
- Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
- Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
Paul Chote
2ed594fd86
Introduce map Visibility field.
...
This replaces the Selectable, UseAsShellmap, and special-cased Type = "Mission" fields.
2014-12-23 09:08:00 +13:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
RoosterDragon
0c8bdff5be
Formatting fixes.
...
Spaces to tabs, indents, etc.
2014-05-26 18:10:59 +01:00
Paul Chote
28c0310357
Merge pull request #5192 from matija-hustic/spawnchoice
...
Spawnchoice
2014-05-17 17:53:00 +12:00
matija-hustic
ae149c420e
Bigger spawn points, numbers within.
2014-05-03 19:08:56 +01:00
Pavlos Touboulidis
ddabe080cd
Style fixes
2014-04-26 03:18:12 +03:00
Pavlos Touboulidis
ef066560ad
Fix text-wrapping special case
...
If a line of text contained a whole word that was longer than the
allotted space, it would fail to wrap that line completely, even
if it was possible to wrap at other locations.
Fixing this uncovered a second issue, where it would drop the last
line if the input had more than one lines and one of the first ones
was wider than the specified width.
2014-04-25 13:54:14 +03:00
Paul Chote
aa77536e96
Support borderless panel types.
2014-04-03 07:15:02 +13:00
Paul Chote
c30b18a9d6
Introduce MapCache and MapPreview for improved UI map previews.
2014-03-16 21:45:59 +13:00
Paul Chote
b8e492eda6
Attempt to pick a more sensible starting map. Fixes #4273 .
2013-12-10 09:15:56 +13:00
Paul Chote
6881dcc710
Fix UI rendering of offset sprites.
2013-12-01 09:49:27 +13:00
Paul Chote
6d6d1e230b
Remove runtime mod merging. Closes #3421 .
2013-11-15 09:54:42 +13:00
ScottNZ
506790e09c
Add "leading minute zero" overload to FormatTime
2013-07-16 18:35:28 +12:00
Paul Chote
7beef85a64
Use PaletteReferences everywhere.
2013-06-15 19:16:08 +12:00
Matthias Mailänder
7f40f59d85
added button to extract the selected SHP and convert it to PNG
2013-05-15 18:13:39 +02:00
Scott_NZ
83e1855919
Add indication of what players are building
2013-01-08 22:42:40 +13:00
Chris Forbes
f83c9fd4d7
add IEnum<T>.JoinWith, use it to clean up a bunch of things
2011-11-01 21:57:58 +13:00
Chris Forbes
bdcd8097e5
start reducing differences between cnc and ra mapchoosers
2011-10-06 22:58:27 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00