Matthias Mailänder
00356b8bbd
Setup Tiberian Sun forest fires.
2022-03-12 17:16:43 +01:00
Matthias Mailänder
9d905d8291
Remove unused parameters and variables.
2021-12-06 13:19:28 +01:00
Matthias Mailänder
07815143f1
Fix CA1825 warnings on empty array initialisation.
2021-12-06 13:19:28 +01:00
RoosterDragon
727084c5fc
Run spell check over solution
2021-12-05 19:23:43 +01:00
Paul Chote
3d73d5ef29
Remove incorrect comment and merge nested conditionals.
2021-09-27 19:48:05 +02:00
MustaphaTR
2f44b016b0
Add a condition per tileset.
2021-08-11 19:09:20 -05:00
abcdefg30
dcaa658678
Remove an outdated reference to ConditionManager
2021-07-23 11:04:07 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01:00
teinarss
6b74093c04
Add readonly to structs
2021-03-14 15:17:57 +01:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
reaperrr
2473b8763b
Rename methods/activities with Visual in them
...
While they may be only 'visual' in terms of influence/cell grid,
they all do update CenterPosition, which is essentially the
actual world position of the actor.
'Visual' would imply that it only affects the position where the
actor is drawn, which is inaccurate.
Furthermore, using the term 'Visual' here would make
naming future methods/properties related to visual interpolation
unnecessarily complicated, because that's where we might
need a real 'Visual(Only)Position'.
2021-03-08 11:19:11 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
87790069e9
Add ITerrainInfo interface.
2021-01-11 21:57:55 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
Mustafa Alperen Seki
6bb7ab0f97
Add GrantConditionOnCombatantOwner.
2020-11-02 21:27:37 +00:00
Paul Chote
cd9bf53e1a
Use nameof() to reference image fields.
2020-09-12 17:52:46 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
c6c3a8c60d
Make ActorPreview and EditorActorPreview wrap ActorReference.
2020-06-19 17:57:56 +02:00
Paul Chote
b856613194
Add ISingleInstanceInit interface.
...
Inits that are logically singletons (e.g. actor
location or owner) should implement this interface
to avoid runtime inconsistencies.
Duplicate instances are rejected at init-time,
allowing simpler queries when they are used.
2020-06-19 17:57:56 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02: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
abcdefg30
44d3691fa1
Assign Player.IsBot before calling INotifyCreated.Created
2020-05-30 19:47:29 +02:00
abcdefg30
27d0465891
Remove workarounds for querying the PlayerActor in Created
2020-05-30 19:47:29 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
4614f6febe
Cache cell ramps to avoid repeated tileset lookups.
2020-05-28 09:41:55 -05:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
atlimit8
1ef27d18c1
check name for Actor.GrantCondition()
2020-05-17 12:33:29 +02:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
Matthias Mailänder
42256bc262
Add an out of bounds check.
2020-05-01 19:41:06 +03:00
Paul Chote
1ff037a257
Remove invalid caching from GCOT.
2020-03-20 17:43:24 +01:00
Paul Chote
84419e4259
Add queued argument to CanIssueDeployOrder.
2020-02-24 12:56:49 +01:00
abcdefg30
e877bb1206
Fix GrantConditionOnProduction not using ShowSelectionBar
2020-02-22 18:05:40 +00:00
Mustafa Alperen Seki
d7f43b33c7
Make GrantConditionOnAttack PausableConditional
2020-01-26 17:05:02 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
matjaeck
ba73842747
Allow GrantCondition to grant conditions permanently.
2019-11-08 16:37:13 +01:00
Paul Chote
5f8fa7a35a
Add UndeployOnPickup to GrantConditionOnDeploy.
2019-10-19 13:11:00 +02:00
Paul Chote
3860cd1b98
Add "Deployed" checkbox in the map editor actor properties.
2019-10-10 19:50:05 +02:00
matt barbier
97fe36af5a
Moved GrantExternalConditionToProduced into the Traits/Conditions folder
2019-09-13 22:04:35 +01:00
Paul Chote
6eaf615798
Fix conditional traits that incorrectly override INotifyCreated.
2019-07-14 00:41:59 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
RoosterDragon
58dced7e05
Silence some doc errors in VS2019.
2019-06-21 21:22:12 +02:00