Paul Chote
b29b685058
Rename Fluent-related code to be more precise.
2024-10-04 15:11:27 +03:00
RoosterDragon
e6914f707a
Introduce FirstOrDefault extensions method for Array.Find and List.Find.
...
This allows the LINQ spelling to be used, but benefits from the performance improvement of the specific methods for these classes that provide the same result.
2023-11-19 19:28:57 +02:00
RoosterDragon
330ca92045
Fix RCS1077
2023-11-19 19:28:57 +02:00
Matthias Mailänder
c609c4af14
Extract text feedback messages.
2023-08-19 20:46:04 +03:00
Matthias Mailänder
1899eed839
Add localisation support to transient lines.
2023-08-19 20:46:04 +03:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Ivaylo Draganov
24b9482cc1
Add support for transient text notifications matching speech notifications
2022-04-30 12:39:29 +01:00
penev92
2bac492a65
Made all traitInfo fields readonly
...
This came up while working on the new documentation generation and comparing the results to ORAIDE's own code parser.
2022-04-26 22:37:12 +02:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Mustafa Alperen Seki
2f1edd4516
Remove Replacable actors for LineBuild too.
2022-03-11 22:32:08 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
Paul Chote
79019b06ca
Remove BuildingInfluence from Plug placement.
2020-10-26 16:51:12 +01:00
Paul Chote
daa8c74c37
Improve Replaceable logic:
...
- Remove BuildingInfluence checks
- Support multiple Replaceable/Replacement traits on the same actors
- Fix description typos
2020-10-22 22:15:43 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
b38018af9c
Replace IActorInit with an abstract class.
...
A shared ValueActorInit<T> is introduced to reduce duplication
in the most common init cases, and an ActorInitActorReference
allow actors to be referenced by map.yaml name.
2020-06-08 19:18:38 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Abdurrahmaan Iqbal
023750db06
Prevent showing wall connections in unexplored terrain
2019-11-01 22:13:38 +01:00
abc013
c4f48ad521
Use another plug location for placing plugs on a building when current plug location is already blocked
2019-10-11 22:52:55 +02:00
Paul Chote
1e23c0a7b7
Fix bot PlaceBuilding orders.
2019-06-20 18:51:02 +01:00
Paul Chote
b59ae476e4
Add PlaceBuildingVariant trait.
2019-06-10 11:46:32 +02:00
Paul Chote
52fd32c311
Split IPlaceBuildingPreviewGeneratorInfo from PBOG.
2019-05-31 15:44:09 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
d91d96a2e3
Remove Order.TargetLocation from building code.
2019-03-04 18:08: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
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Andre Mohren
3bfcecd539
Refactored ProductionQueue to support different production styles.
2018-09-30 16:58:49 +02:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Andre Mohren
c2b1a5f4e0
Extracted BuildingCannotPlaceAudio to PlaceBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
8834cee13c
PlaceBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
be2c41d51c
Added PlaceBuildingInit.
2018-07-28 17:38:46 +02:00
Michael Silber
1b110b7833
Add Replaceable and Replacement traits to support wall overrides.
2018-04-07 23:32:24 +02:00
Michael Silber
6b24271a17
Pass ActorInfo through building-placement-validation code.
2018-03-21 12:53:50 +01:00
Mustafa Alperen Seki
c976bb1d7b
Make BaseProvider PausableConditional
2018-03-08 17:19:23 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
abcdefg30
3af3299921
Fix a crash in PlaceBuilding.cs
2017-12-22 09:06:27 +00:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
Paul Chote
a83c0f96dd
Add GrantConditionOnLineBuildDirection trait.
2017-04-23 00:44:10 +01:00
Paul Chote
a8bb03aa34
Draw TS line-build cell previews with increased translucency.
2017-04-23 00:44:10 +01:00
Paul Chote
304e3ef9f9
Distinguish between line build nodes and segments.
2017-04-23 00:44:09 +01: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
2d69f1104f
Replace DelayedAction with Tick-based solution in PlaceBuilding
2016-10-26 20:54:51 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00