RoosterDragon
31918e8712
Add UnionRectangles extension method.
2019-09-14 22:09:40 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
72dbb871ac
Add faction specific tooltip backgrounds.
2019-05-15 21:05:49 +02: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
64c853a4e0
Only play queued notification if queue is empty.
...
This matches the behaviour of the RA2 sidebar.
2019-01-26 21:36:45 +00:00
Paul Chote
8d276ff9de
Replace broken (Disabled)TabClick and with (Disabled)ClickSound.
2019-01-26 21:36:45 +00:00
Andre Mohren
0fca984463
Implemented InfiniteBuildAfter.
2018-11-17 17:39:18 +00:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
Andre Mohren
3bfcecd539
Refactored ProductionQueue to support different production styles.
2018-09-30 16:58:49 +02:00
Paul Chote
f2cf51d1a4
Play appropriate audio notifications when build/production limit is reached.
2018-04-22 18:01:57 +02:00
Mustafa Alperen Seki
356f24b78c
Add logic to disallowing On Hold on a queue.
2018-03-18 15:58:57 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
2f79173044
Migrate hotkey consumers to HotkeyManager.
2017-12-08 01:29:15 +01:00
Paul Chote
811427adc4
Add HotkeyReference.IsActivatedBy method.
2017-12-08 01:29:15 +01:00
Paul Chote
c4237d6a1a
Rename NamedHotkey to HotkeyReference.
2017-12-08 01:29:15 +01:00
Andre Mohren
88c94ee841
Allow remaining time to be hidden in ProductionPaletteWidget.
2017-10-26 01:31:32 +02:00
Paul Chote
4f00d62237
Move hardcoded production keys into yaml.
2017-09-10 21:30:55 +02:00
Paul Chote
0f6dda3f5f
Calculate building placement offsets in screen space.
2017-09-10 18:26:54 +02:00
rob-v
199e9847d1
Add tooltips to production statistics #12820
2017-04-17 21:51:23 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
9ddfdc45b3
Introduce SoundType enum.
2016-12-23 11:34:23 +00:00
reaperrr
5b5b064981
Move production icon sequence from Tooltip to Buildable
2016-10-22 20:37:09 +02:00
Mykogen
2bbbdbeedb
Shift+hotkey queues 5 units for production. Fixes #5544
2016-05-16 00:02:00 +02:00
Oliver Brakmann
6323f763f1
Merge pull request #11122 from reaperrr/traits-render
...
Move Render traits to Traits.Render namespace
2016-04-17 21:48:32 +02:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Oliver Brakmann
41388b9c63
Revert the previous InsufficientFundsWarning implementation
2016-04-11 19:06:18 +02:00
Paul Chote
7993068c8f
Remove Map.SequenceProvider.
2016-03-12 19:46:20 +00:00
abcdefg30
be1080f7bd
Add support for playing an InsufficientFunds warning
2016-02-23 22:16:51 +01: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
abcdefg30
6bbab081d1
Fix wrong indentation in ProductionPaletteWidget.cs
2016-01-21 15:41:34 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
372bbaf7b6
Overhaul WithDecoration trait.
2015-12-26 12:38:26 +00:00
Kevin Azzam
7b22023d57
Implement middle click to cancel (skips onhold) and ctrl+cancel to cancel entire queue
2015-12-05 15:50:41 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
Paul Chote
1109ec53d1
Update UI timers for variable game speed.
2015-09-06 17:48:42 +01:00
reaperrr
8e9da7f897
unhardcode palettes and sequences
2015-08-22 16:09:07 +02:00
Pavel Penev
1e9cc50805
Clean Production.cs of "race"
2015-07-31 05:38:43 +03: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
unknown
206ed8ebb8
Veteran unit production & unlocking through spies.
2015-07-04 22:25:12 +01:00
Zimmermann Gyula
d5a5640f52
Adds an IconPalette property to Buildable and SupportPower traits.
2015-06-12 20:33:58 +02:00
sinf
5991a9b439
Added quick build feature
2015-05-01 01:40:26 +03:00
Paul Chote
d1ed1bf0fb
Set actor race (and icons) based on active producer.
2015-03-03 18:45:44 +00:00
Paul Chote
00a2146299
Adjust GetImage plumbing in preparation for race-specific sequences.
2015-03-02 20:46:24 +00:00
Matthias Mailänder
b0f986887c
make maximum and minimum rows configurable
2015-02-08 20:43:35 +01: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