Commit Graph

23584 Commits

Author SHA1 Message Date
reaperrr
6ff31786cb Refactor TeslaZap targeting
- made it target closest targetable position, instead of CenterPosition
- made target tracking optional (enabled by default)
- made tracking independent from whether damage has already been dealt
- cache target position and update it in Tick only if tracking
2017-06-11 23:28:17 +02:00
reaperrr
c474b77d79 Remove unused 'initialized' bool from TeslaZap
It was never set to 'true', and doing so would break Duration > 1, so it's better to just remove it.
2017-06-11 23:28:17 +02:00
reaperrr
2704f3bcd5 Minor TeslaZap cleanup
Renaming timeUntilRemove to ticksUntilRemove makes it more clear and allows to drop the comment.
2017-06-11 23:28:17 +02:00
reaperrr
16e260e69f Increase ZOffset of RA explosions
To make sure they play on top of actors.
2017-06-10 11:38:04 +01:00
reaperrr
7cadbcb8f6 Set custom hit shapes for civilian buildings 2017-06-10 11:38:04 +01:00
reaperrr
07e6708b88 Align RA base building hitshapes with their sprites 2017-06-10 11:38:04 +01:00
reaperrr
7ba276c0c1 Add building hitshape defaults to RA
And do some cleanup.
Intentionally omitted uncommon shapes that only appear once or twice.
2017-06-10 11:38:04 +01:00
C. Helmig
3b626e5ff7 Fixes tile error in #13047. See comment Item in #12868. 2017-06-07 18:54:39 +02:00
C. Helmig
452aed0a97 Multiple passability changes to replicate original game behavior. (= Items comments on #12868 )
Fix the passability of some bridge tiles
2017-06-07 18:54:39 +02:00
abcdefg30
5d40ed3e32 Move tiles into correct category. 2017-06-07 18:54:39 +02:00
abcdefg30
8494200321 Renamed and reordered Categories - uniform naming, similar categories adjacent to one another, most used to top. 2017-06-07 18:54:39 +02:00
Paul Chote
83c4c842ee Update to latest osx launcher package. 2017-06-06 22:08:08 +02:00
reaperrr
423ea555b3 Fix RA bridge crash 2017-06-06 22:04:00 +02:00
reaperrr
4af31be6bd Fix TD bridge crash 2017-06-06 22:04:00 +02:00
Paul Chote
ff9bddbf21 Add unit command bar to TD. 2017-06-06 08:53:54 -06:00
Paul Chote
52f1ab0969 Add backend code for unit command bar. 2017-06-06 08:53:54 -06:00
Paul Chote
f1eb96b273 Add DisableKeyRepeat flag to ButtonWidget. 2017-06-06 08:53:54 -06:00
Paul Chote
854dd75282 Add ButtonTooltipWithDescHighlightLogic.
Highlights TooltipDesc characters inside {}.
2017-06-06 08:53:54 -06:00
Paul Chote
8f2a933ba8 Add support for button tooltip descriptions. 2017-06-06 08:53:54 -06:00
Paul Chote
ce233a6cca Reduce edge scrolling threshold and polish cursor hotspots. 2017-06-06 08:53:54 -06:00
Paul Chote
94fba3521a Add ForceModifiersOrderGenerator for force move/attack and queueing. 2017-06-06 08:53:54 -06:00
Paul Chote
8dfb7d8bbc Add Selection.Hash for tracking selection changes. 2017-06-06 08:53:54 -06:00
Paul Chote
e8d6d63707 Add IIssueDeployOrder. 2017-06-06 08:53:54 -06:00
Paul Chote
533b2f9ad7 Flip tooltips above the cursor at the bottom of the screen. 2017-06-06 08:53:54 -06:00
Mustafa Alperen Seki
46d0157c2e Add Harkonnen 4 2017-06-05 22:32:49 +02:00
reaperrr
3507ad2f87 Give D2k structures footprint hit-shapes 2017-06-05 14:22:47 +02:00
reaperrr
e2647e8a60 Move down D2k High-tech factory sprite
This better aligns its visuals with the footprint, hit-shape and targetable positions.
2017-06-05 14:22:47 +02:00
reaperrr
6a212eea53 Make attacking actors/turrets face the targeted position 2017-06-05 14:22:47 +02:00
reaperrr
7acc6dacbc Fix armaments/projectiles to aim at closest Target.Positions
Instead of CenterPosition.
TargetablePositions were already used for targeting/attack decisions, but not armaments/projectiles.
2017-06-05 14:22:47 +02:00
Markus Hartung
73577e3a7e Add myself to authors 2017-06-04 17:11:44 +02:00
Markus Hartung
2a0b3b39ea INotifyCreated.Created now calls base properly 2017-06-04 17:11:44 +02:00
Markus Hartung
f7ddb969c6 Change so Attack* calls Created on base class 2017-06-04 17:11:44 +02:00
abcdefg30
40e8c5136d Fix the close enough check in Repair.cs 2017-06-04 15:35:40 +02:00
Paul Chote
abdcf90c30 Ship VERSION with binary releases. 2017-06-04 13:21:27 +02:00
Paul Chote
36d7b5131e Use ContentInstallerMod in MainMenuLogic. 2017-06-04 13:21:27 +02:00
Paul Chote
f79a3a8d03 Use engine version in crash logs. 2017-06-04 13:21:27 +02:00
Paul Chote
f7db7e3308 Use engine version for master server queries. 2017-06-04 13:21:27 +02:00
Paul Chote
49f0e35bd7 Add engine VERSION file. 2017-06-04 13:21:27 +02:00
reaperrr
82758a8bef Add TargetableOffsets to HitShape
And remove ITargetablePositions from Building.
Also, added UseFootprintOffsets to replicate the old Building behavior for easier setup of TargetablePositions for buildings.
2017-06-04 00:07:08 +02:00
reaperrr
7fd0a3aa58 Lint check and yaml enforcement for HitShape
Now that Health no longer provides a HitShape, actors with Health need at
least one HitShape trait.
2017-06-04 00:07:08 +02:00
reaperrr
7f81de2f8a Upgrade rule for Health.Shape to HitShape.Type 2017-06-04 00:07:08 +02:00
reaperrr
43b55ae333 Move Shape from Health to new HitShape trait
Renamed Shape to Type
2017-06-04 00:07:08 +02:00
reaperrr
c7c6cf864c Fix inconsistent rules in preparation of HitShape refactor
- TD C17 and A10 are not targetable and therefore technically invulnerable, so we should remove Health and Armor
- D2k ^carryall.colorpicker and TS ^mmch.colorpicker shouldn't have Health
- TS crash sites are supposed to be indestructible map deco as per original (they had "Immune=yes")
2017-06-04 00:07:08 +02:00
Mustafa Alperen Seki
61afa096e3 Add 8PLAY6 2017-06-03 16:17:34 +02:00
Mustafa Alperen Seki
aa9c00367b Add 8PLAY2 2017-06-03 16:14:52 +02:00
Oliver Brakmann
677904c682 Hide tooltips for unoccupied spawnpoints in the replay browser 2017-06-03 15:56:27 +02:00
rob-v
fc0495ac27 Fix keys scrolling stuck (+ some function double calls) 2017-06-01 23:07:25 +02:00
Mustafa Alperen Seki
f4988356a0 Add 8PLAY4 2017-06-01 20:28:48 +02:00
Mustafa Alperen Seki
8bcc2b30d9 Add 8PLAY1 2017-06-01 20:14:59 +02:00
Andre Mohren
96ca3baff8 Fixed PNGLoader crash with palette containing less than 256 colors. 2017-05-31 20:34:09 +02:00