reaperrr
1e43a8f590
Minor Aircraft ResolveOrder optimization
...
Streamline RTB if checks.
2020-02-22 17:56:47 +00:00
Robert
885931ae74
Run every color validation together
...
This ensures that color picks that have multiple issues will
have them all checked at the same time, including ensuring that
the fix for one issue doesn't cause another issue.
Handling of the onError action has been changed from being called
at once to collecting the potential errors in a HashSet to deduplicate
them and then calling onError after a valid color has been found.
(Otherwise you would in the worst case get 256 error messages logged!)
2020-02-22 16:31:29 +00:00
Robert
4d4f1d6068
Avoid null vectors when making colors valid
...
If the picked color and a forbidden color are identical (like
if they both picked the same palette color and in the special case
when a picked color is outside of the allowed range and the method
returns the picked color as the forbidden color),
the vector between them is zero and the maths for adjusting
the color fails by hitting the iteration limit. This changes
the zero vector to the smallest possible vector in order to
avoid the issue.
This can result in some seriously close adjustments in the case of
picking identical palette colors, which might
be undesirable compared to picking a new palette color.
2020-02-22 16:31:29 +00:00
Robert
fafa219d11
Added error message if color could not be adjusted
...
The failsafe in ColorValidator aborts after 255 iterations of
adjusting the color and picks a random color. This message makes it
clearer to the user. Results in two messages being displayed,
first one about adjusting and the about a random color pick.
2020-02-22 16:31:29 +00:00
Matthias Mailänder
103cb61020
Add a new rallypoint established notification.
2020-02-22 17:16:17 +01:00
Ivaylo Draganov
1dd1786469
Reduce duplication of "Battlefield Control" chat line label
2020-02-22 15:58:00 +00:00
Ivaylo Draganov
3e2022a3dd
Allow players to mute shellmap background music
2020-02-22 15:50:01 +00:00
Paul Chote
28f7604172
Reset nextScanTime only when actually scanning for targets.
2020-02-22 16:30:07 +01:00
Paul Chote
96463634c7
Add --debug-chrome-regions utility command.
2020-02-22 16:18:45 +01:00
reaperrr
d835090d0b
Move LCWCompression support to Mods.Cnc
2020-02-22 15:40:37 +01:00
reaperrr
c687600d66
Duplicate part of LCWCompression to VqaReader
...
Duplicates the part needed by the VqaReader,
so we can move LCWCompression to Mods.Cnc
ahead of VQA (which has some additional prerequisites).
2020-02-22 15:40:37 +01:00
reaperrr
ed618c807d
Streamline LCWCompression code
...
Just making it more concise to reduce line count.
No functionality/efficiency changes.
2020-02-22 15:40:37 +01:00
Paul Chote
85faa5edf6
Add visual indicator when the game is muted.
2020-02-22 14:42:11 +01:00
Paul Chote
3f601e1ec1
Update color picker hue slider when the color changes.
2020-02-22 14:00:12 +01:00
teinarss
9d68b815a1
Fix tooltip in Observer widgets
2020-02-22 11:38:53 +01:00
teinarss
cffe5e3d9d
Add owner token to TooltipContainer
2020-02-22 11:38:53 +01:00
Paul Chote
7e72cd262c
Fix FlyAttack invalid target crash.
2020-02-19 23:35:16 -06:00
Paul Chote
9a6602656b
Ignore nearEnough if we think the actor can get closer.
2020-02-18 19:37:17 +01:00
abcdefg30
40bb45a02b
Deprecate the release-20181215 path
2020-02-17 20:14:56 +00:00
abcdefg30
f73d23661f
Update the update paths for release-20200202
2020-02-17 20:14:56 +00:00
Paul Chote
09a019f9c6
Add a lint check for LockFaction on mission players.
2020-02-16 20:51:29 +01:00
Paul Chote
689049cc12
Fix NRE in ArmyUnit constructor.
2020-02-16 13:57:19 +01:00
Paul Chote
52f4e24e22
Fix spectator minimap not updating when in "Disable Shroud" view.
2020-02-14 23:07:31 +01:00
Paul Chote
ab196a23e6
Fix AttackFollow ignoring allowMove flag when auto-targeting.
2020-02-14 17:30:38 +01:00
Paul Chote
3a688e03f0
Add multiple levels of fallback.
2020-02-12 21:17:39 +00:00
Paul Chote
a43335c7b0
Restore transient blocker check in pathfinding queries.
2020-02-12 21:17:39 +00:00
Paul Chote
585b8dc13c
Set default rally point to an empty path.
2020-02-09 16:52:22 +01:00
Paul Chote
b2f0ac15e8
Generalize RallyPointInfo.Offset to support arbitrary length paths.
2020-02-09 16:52:22 +01:00
Paul Chote
9dc4ea8541
Fix production door not closing if the actor stays on the exit cell.
2020-02-09 16:52:22 +01:00
teinarss
7e3830e053
Updated production spec widget to handle overflow
2020-02-09 16:37:21 +01:00
teinarss
b81ede2d64
Added widget showing the army for players in spec
2020-02-09 16:37:21 +01:00
Mustafa Alperen Seki
6ab0ace9e1
Add PlayLaunchSounds() to SupportPowers which are missing it.
2020-02-09 13:34:46 +01:00
Paul Chote
85a5b6cc17
Fix subcell crusher logic.
2020-02-09 13:18:57 +01:00
Ivaylo Draganov
62af58c2e6
Calculate position of dropdown arrow glyph based on image width
2020-02-09 12:53:30 +01:00
Paul Chote
e6c1356d59
Add introduction prompt on first run.
2020-02-08 20:09:02 +01:00
Paul Chote
e8df28c518
Extract sysinfo logic to its own class.
2020-02-08 20:09:02 +01:00
Martin Bertsche
98aef70e88
Added display selection option to settings for fullscreen modes.
2020-02-08 18:14:35 +00:00
abcdefg30
de0bb9ee39
Fix a crash in the ReplaceAttackTypeStrafe update rule
2020-02-06 21:52:46 +00:00
Paul Chote
9a0916afbb
Add UI Scale dropdown to the settings menu.
2020-02-04 19:56:15 +01:00
Paul Chote
6388a6bff4
Add Graphics.UIScale setting to modify UI size.
2020-02-04 19:56:15 +01:00
Paul Chote
c2bc313bf0
Fix key repeat events queueing many deploy/scatter/stop orders.
2020-02-01 13:18:04 +01:00
Paul Chote
5c76a6e7a7
Fix key up events queueing duplicate deploy/scatter/stop orders.
2020-02-01 13:18:04 +01:00
abcdefg30
6cc27eaa76
Fix the description of VeteranProductionIconOverlay
2020-01-31 13:55:56 +01:00
Ivaylo Draganov
1020a7bfab
Use common notice colors for UPnP status labels
2020-01-31 00:50:25 +01:00
Ivaylo Draganov
b80928bd95
Display a confirmation prompt on settings panel reset
2020-01-30 23:06:49 +01:00
Paul Chote
fd64ad7c89
Support rendering at non-integer display scales:
...
* 2x and 3x DPI artwork can be specified using
Image2x and Image3x in chrome.yaml.
* Images are rendered using bilinear interpolation.
* For non-integer screen scales, prefer downscaling
the next biggest resolution image over upscaling.
2020-01-26 20:22:49 +01:00
Paul Chote
1bc6fb0f46
Use antialiasing filter when rendering UI icons and actors.
2020-01-26 20:22:49 +01:00
Paul Chote
bd4724842c
Fix software cursor rendering at fractional scales.
2020-01-26 20:22:49 +01:00
Paul Chote
518450cd8a
Extract load screen sheet handling into a superclass.
2020-01-26 20:22:49 +01:00
Paul Chote
57a8cf7a59
Rework Display settings tab.
2020-01-26 17:11:45 +01:00