Commit Graph

25060 Commits

Author SHA1 Message Date
Paul Chote
fd49e487ec Fix MCV deploy erasing Iron Curtain history. 2018-07-22 13:45:37 +01:00
Paul Chote
d5399aaf6b Fix MCV deploy erasing Chronoshift history.
If the MCV is deployed as a Construction Yard when
the timer expires the structure will take a 50%
damage hit from a chrono-vortex.

If the MCV is in the process of (un)deploying it
will be returned in MCV form.
2018-07-22 13:45:37 +01:00
Paul Chote
8f215a0219 Persist Chronoshift properties across transform. 2018-07-22 13:45:37 +01:00
Paul Chote
b93d782688 Add ChronoshiftDurationInit.
Fixes time remaining bar not displaying if selection
bars are enabled on killed actors.
2018-07-22 13:45:37 +01:00
Paul Chote
01c3c14a4c Add ITransformActorInitModifier.
Remove hardcoded Cargo reference from Transform.
2018-07-22 13:45:37 +01:00
reaperrr
496155ff0e Remove facing check from WithVoxelWalkerBody
`Mobile` now supports considering turning as `IsMoving`, so this check is no longer needed.
2018-07-19 22:09:43 +02:00
reaperrr
2d47f61409 Make TS mechs display walk anim while turning
This matches the original, and turning without moving their legs looked silly either way.
2018-07-19 22:09:43 +02:00
reaperrr
6984c0ec10 Add AlwaysConsiderTurnAsMove plumbing to Mobile
Can be used to make walker units like the TS mechs display move animations while turning on the spot.
2018-07-19 22:09:43 +02:00
Smittytron
755cc40459 Fix TD crop fields 2018-07-19 19:10:57 +00:00
Mustafa Alperen Seki
a65a5d17e4 Add CashTricklerMultiplier 2018-07-19 18:49:35 +00:00
Smittytron
530b7af9c5 Use correct CustomSellValue for RA Ore Refinery 2018-07-19 18:41:26 +00:00
Paul Chote
128c65ff71 Tidy font definitions
Order by size/weight and fix key-value spacing.
2018-07-12 09:28:38 +00:00
teinarss
25a8de8a47 Fixing pathfinding calc when the distance was to small for the bidirectional logic to work. 2018-07-12 10:06:55 +02:00
teinarss
1c0aa24640 Added a player action dropdown.
Adds options for:
 - handling kick
 - transferring admin
 - move to spectator
2018-07-05 23:22:09 +01:00
teinarss
0c1b11ed4f Added Dedicated to GlobalSettings 2018-07-05 23:22:09 +01:00
teinarss
a156a31cf5 Added text aligment to button
Cloning LeftMargin and RightMargin

Refactored the calculations for Text position in ButtonWidget
2018-07-05 23:22:09 +01:00
teinarss
23155c039d Extract LobbyCommand command logic to their own methods. 2018-07-05 23:22:09 +01:00
abcdefg30
2471b07e55 Fix the mode documentation in gtk-dialog.py 2018-07-05 22:28:10 +01:00
Oliver Brakmann
3e29ef0bd6 Avoid sending HTTP requests to the FetchNews URL when FetchNews is disabled
Also disables the 'Send SysInfo' settings checkbox when 'Fetch News' is disabled as well.
2018-07-05 11:22:44 +02:00
Smittytron
d21b959bf0 Fix TD RippedApartDeath 2018-07-04 23:01:47 +02:00
Smittytron
01d10f392d Fix RA death animations 2018-07-04 23:01:47 +02:00
Mustafa Alperen Seki
052bfcd023 Update some D2K reveal ranges to match original. 2018-07-04 20:11:55 +02:00
Paul Chote
01a613a057 Show a python GTK3 dialog if zenity is missing. 2018-07-04 18:58:24 +01:00
Paul Chote
29442cec13 Fix an error flagged by shellcheck. 2018-07-04 18:46:09 +01:00
Paul Chote
6adff732eb Include a wiki link in the error dialog. 2018-07-04 18:46:09 +01:00
Paul Chote
fbc5fde646 Prompt mono installation on compatible systems. 2018-07-04 18:46:09 +01:00
Mustafa Alperen Seki
51c207dd28 Add ability to use IonCannonPower via lua. 2018-07-04 16:41:27 +02:00
Mustafa Alperen Seki
2387e49ee7 Add ability to use NukePower via lua. 2018-07-04 16:41:27 +02:00
reaperrr
f31e5d17b3 Fix RA refinery selection bounds offset
Selection bounds were too low on the vertical axis.
2018-07-01 19:57:37 +01:00
reaperrr
d85f96bc98 Give all RA structures fixed select/deco bounds 2018-07-01 19:57:37 +01:00
reaperrr
f0166207a7 Fix fake RA service depot bounds and footprint 2018-07-01 19:57:37 +01:00
reaperrr
be6ca960c8 Tweak TD refinery selection bounds
The old vertical offset made the bounds include the entire concrete 'bib', but not the processor tower in the back.
2018-07-01 19:57:37 +01:00
reaperrr
291af67b8c Ensure select/deco bounds of TD buildings are consistent
Regardless of current frame's bounds.
2018-07-01 19:57:37 +01:00
reaperrr
1ae5a989bf Ensure selectable bounds of TD landing craft are consistent
Regardless of current frame's bounds.
2018-07-01 19:57:37 +01:00
reaperrr
9b41416020 Ensure interactable/deco bounds of TD walls are consistent
Regardless of current frame's bounds.
2018-07-01 19:57:37 +01:00
reaperrr
4c239d4ebc Set Mobile.IsMoving to "true" if queueing a turn that takes only a single tick
At the end of L-turns, actors often end up with an internal facing not 100% matching the direction of the next cell on their path.
As a result, if they haven't reached their destination yet, Move queues a quick Turn as ChildActivity, which previously was not considered as IsMoving.
However, we don't want those mini-turns to interrupt move animations, so we now consider them a move as well. Additionally, to avoid any issues, we make these mini-turns non-interruptible, just like the MovePart activities already are.
2018-07-01 15:33:30 +01:00
reaperrr
e167d1f848 Add plumbing to make Turn uninterruptible 2018-07-01 15:33:30 +01:00
reaperrr
c93333a816 Cache IFacing in Turn activity
Instead of looking it up every tick.
2018-07-01 15:33:30 +01:00
reaperrr
96377a99c4 Fix losing a tick when next Move.ChildActivity is Turn
While the first tick of the MoveFirstHalf child would run at the parent Move tick (see 2nd-to-last line in Move.Tick), this was not the case for Turn.
As a result, this Move tick would get wasted if a Turn was necessary, which at least contibuted to that visible jerk at the end of each L-turn (actors usually don't have the exact facing needed for the next move at the end of an L-turn).
2018-07-01 15:33:30 +01:00
reaperrr
1c78073808 Lint check for distinct sprite body names 2018-07-01 13:16:07 +02:00
reaperrr
d060f885e8 Fix various Mods.Cnc animation traits not supporting actors having multiple sprite bodies 2018-07-01 13:16:07 +02:00
reaperrr
9d24c40f92 Fix various Mods.Common animation traits not supporting actors having multiple sprite bodies 2018-07-01 13:16:07 +02:00
reaperrr
0d0d2e0ae3 Play WithAcceptDeliveredCashAnimation only on the assigned WithSpriteBody 2018-07-01 13:16:07 +02:00
reaperrr
f85f2cd104 Add LaunchEffect support to LaserZap
Can act as replacement for WithMuzzleOverlay.
2018-07-01 12:19:32 +02:00
reaperrr
384aaf14b5 Added LaunchEffect effect 2018-07-01 12:19:32 +02:00
reaperrr
145b8c87c5 Make LaserZap source point follow source actor muzzle
For moving actors, it looks better when the source point of the beam follows the source actor.
2018-07-01 12:19:32 +02:00
reaperrr
0fafaf1b09 Add DamageDuration and DamageInterval to LaserZap 2018-07-01 12:19:32 +02:00
Paul Chote
f4d3ccc301 Fix newlines in misc other files. 2018-07-01 11:08:32 +02:00
Paul Chote
670e153372 Remove byte order marks from csproj files. 2018-07-01 11:08:32 +02:00
Paul Chote
1ac13de4b2 Remove byte order marks from C# files. 2018-07-01 11:08:32 +02:00