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
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Pavel Penev
861d1368a4
Unhardcode internal terrain palette name from all over the codebase
2016-01-17 19:02:16 +02:00
Oliver Brakmann
e7e4f2f825
Fix base range circle not being shown during building placement
2015-10-29 11:00:59 +01:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05: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
reaperrr
bc2b60be05
Extend WithSpriteBody funtionality
...
Move building placement range circle to PlaceBuilding, add
PauseAnimationWhenDisabled.
2015-08-29 23:10:22 +02:00
Matthias Mailänder
118782a85e
check palette references
2015-08-17 21:36:45 +02:00
Pavel Penev
10c5b82ef0
Rename BuildableInfo.ForceRace
2015-07-31 05:41:19 +03:00
Pavel Penev
1e9cc50805
Clean Production.cs of "race"
2015-07-31 05:38:43 +03:00
penev92
7c1ef2231d
Rename RaceInit to FactionInit
2015-07-25 00:39:31 +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
Taryn Hill
c1abc0dfbb
Unhardcode sound and delay in PlaceBuilding.
2015-07-09 13:52:42 -05:00
Paul Chote
d1839701bb
Add Plug and Pluggable for building actor-specific upgrades.
2015-03-31 22:23:41 +01:00