Trevor Nichols
a85da9d86c
Implement loader for MegV3 file format
2020-12-15 11:11:05 +01:00
Matthias Mailänder
d8e979d283
Remove dead code.
2020-12-14 20:38:50 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
Paul Chote
a8d3d5c79a
Fix Neutral crushing checks.
2020-12-08 20:17:11 +01:00
Paul Chote
7a7cd21578
Fix TD SAM Site facings being reset when damaged while closed.
2020-12-07 01:44:04 +01:00
Paul Chote
20fe59e844
Output compiled binaries to ./bin.
2020-11-24 17:53:48 +01:00
reaperrr
05cb9b1fbf
Fix dock sequence dock/undock notifications
...
- move Refinery dock/undock notifications to OnStateDock/-Undock
and only call Undock if Dock was also called.
- Add INotifyHarvesterAction support to VoxelHarvesterDockSequence.
2020-11-15 16:56:28 +01:00
reaperrr
6bba35c330
Fix TS harvesters getting stuck in unload graphics
...
when refinery is destroyed while unloading.
2020-11-15 16:56:28 +01:00
reaperrr
996029ee38
Fix undock anim playing even if docking was cancelled
...
...before dock anim could run.
The undock animation would play even if the dock anim
hadn't run (meaning the sequence cancelled before the docking
completed, for example due to refinery death).
2020-11-15 16:56:28 +01:00
tovl
84eb3c54ef
Expose targetline colors to yaml.
...
All targetlines can now be set to a custom color in yaml or set to be invisible.
All automated behaviours including scripted activities now have no visible target lines.
2020-11-14 12:04:19 +00: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
abc013
672172d1f1
Add missing PlayNotification calls to SelectTarget.
2020-11-12 19:52:06 +00:00
abcdefg30
a366e37014
Fix angles in the Descriptions of TDGunboat
2020-11-10 20:32:08 +01:00
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
Pavel Penev
4135045ca4
Added valid TerrainTypes to the Minelayer trait
...
Also added a configurable deploy cursor and fixed Minelayer target cell validation checks, which should make for a much better experiencing when dragging over an area with blocking terrain, shroud, fog, etc.
2020-10-24 12:20:15 +02:00
RoosterDragon
466de89e17
PackageEntry.HashFilename avoids stream reads .
...
Operate directly on the array to avoid overhead of stream reads.
2020-10-20 22:53:32 +02:00
RoosterDragon
7c8dc5d5f4
XccGlobalDatabase allocation improvements
...
- Use the count to size the capacity of the list.
- Use a char array as a buffer, so will can build each string directly rather than needing a ToArray call first.
2020-10-20 22:53:32 +02:00
Matthias Mailänder
14fc0254c6
Make all range circles fully configurable.
2020-10-18 15:08:17 +01:00
RoosterDragon
2adee1e374
Use HasMovementType to avoid Enum.HasFlag allocations.
2020-10-17 23:48:48 +02:00
Matthias Mailänder
0d64fa549b
Fix the command bar selecting dead units
...
and crashing while doing a trait lookup on them.
2020-10-14 19:58:24 +02:00
Paul Chote
dd7b8b24af
Use tileset ID in sequences instead of the TileSet object.
2020-10-11 01:23:15 +02:00
abcdefg30
0dac4520ad
Add a 'refundableValue' parameter to 'Produce'
2020-10-02 11:51:48 +02:00
Matthias Mailänder
0e39cc7829
Tooltip is a conditional trait.
...
Fix Analyzer warning: V3146 Possible null dereference.
2020-09-26 22:59:39 +01:00
Paul Chote
b72a58b917
Add missing ActorReferences to yaml dictionaries.
2020-09-15 09:27:50 +02:00
Paul Chote
7f7bce50dc
Add dictionary support for ActorReference.
2020-09-15 09:27:50 +02:00
Paul Chote
cd9bf53e1a
Use nameof() to reference image fields.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
Paul Chote
b8e60ca8ec
Fix SequenceReference definitions.
2020-09-12 17:52:46 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
abcdefg30
0aa5e07252
Send the 'minefieldStart' along with a 'PlaceMinefield' order
2020-08-15 11:34:00 +01:00
abcdefg30
07d58337f1
Let order generators account for selection changes
2020-08-15 11:34:00 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
dnqbob
f67f8ed05e
WithLandingCraftAnimation can stop on all movement
2020-08-09 13:22:56 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
teinarss
f87ba1d8a4
Update SP maps with transformable trees
2020-07-20 14:05:52 +02:00
teinarss
67fa7bdcc9
Add TransformsNearResources
2020-07-20 14:05:52 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
aae497eff1
Pass pre-combined rotations into the rendering code.
2020-07-17 15:02:32 +02:00
Paul Chote
70cb0d2924
Improve TS map importer and reimport classic maps.
2020-07-13 14:02:02 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
5f588561b6
Rewrite TS minimap rendering:
...
* Rename LeftColor and RightColor to MinColor and MaxColor
These are mapped from LowRadarColor and HighRadarColor in
the original inis, and appear to be used to set the bounding
values for selecting a random colour, NOT for left/right
pixels (which caused noticeably wrong banding).
* Adjust brightness based on terrain height.
MinHeightColorBrightness and MaxHeightColorBrightness
were chosen by trial/error to match the original
map preview rendering.
2020-07-07 22:12:22 +02:00
Ian T. Jacobsen
fea35923f0
Minefield now shows red when out of map bounds and Minelayer now does not get stuck at edge of map
...
Made it impossible to detect enemy units again
Fix whitespace
2020-06-21 20:16:57 +02:00
Paul Chote
43717a89b5
Add Orientation getter to IFacing.
2020-06-21 18:05:40 +02:00
Matthias Mailänder
c7ba359688
Add drop pod reinforcements.
2020-06-21 17:28:24 +02:00