Paul Chote
e5309ee586
Remove unused InstalledMods.Icons cache.
2020-02-26 23:47:15 +01:00
Paul Chote
84df61c672
Add multi-resolution badge support.
2020-02-26 23:47:15 +01:00
Paul Chote
de4a7cecf0
Rework multi-resolution sprite handling:
...
- Sprite.Bounds now refers to rectangles in the source image.
Use this when copying pixels, etc.
- Sprite.Size now refers to sizes in effective pixel coordinates.
Use this when rendering.
- Sheet.DPIScale has been removed.
- "Density" term is introduced to refer to the number of artwork
pixels per effective pixel.
2020-02-26 23:47:15 +01:00
abc013
c0ece00c4b
Prevent production cycling when producing actor does not occupy space
2020-02-26 23:25:41 +01:00
Paul Chote
6ba02800ab
Add TransformsIntoTransforms to enable queued MCV redeploy.
2020-02-24 12:56:49 +01:00
Paul Chote
84419e4259
Add queued argument to CanIssueDeployOrder.
2020-02-24 12:56:49 +01:00
Paul Chote
2016ab105e
Fix Reverses parsing.
2020-02-23 16:41:57 +01:00
Paul Chote
def65b10bd
Don't crash with an unhelpful IndexOutOfRangeException.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
31d98cc802
Reduce the electro death loop length.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
ccbaa4f816
Setup the original laser zap death animation.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
2049d1b26a
Allow guessing of sprite sequence length from number of frames.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
15f8469272
Use the original elongated tesla zap death animation.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
43cac2f051
Don't complain about shadow frame length when there are none.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
39b7db2703
Allow repetition of frames in sequence setups.
2020-02-23 16:41:57 +01:00
Paul Chote
d3291ea585
Fix script error in ordos05.
2020-02-23 11:03:23 +01:00
Ivaylo Draganov
2e8740d6a8
Change default hotkey bindings for select and cycle production buildings
2020-02-22 20:06:21 +00:00
Ivaylo Draganov
1bcad55c1f
Add a hotkey to select the current production facility
2020-02-22 20:06:21 +00:00
Paul Chote
7ffc689037
Fix TD panel-transparent definition.
2020-02-22 12:39:11 -06:00
Paul Chote
7d17916e3f
Load badges on the main thread.
2020-02-22 19:19:20 +01:00
abcdefg30
e877bb1206
Fix GrantConditionOnProduction not using ShowSelectionBar
2020-02-22 18:05:40 +00:00
reaperrr
226159d220
AttackBase ResolveOrder optimization
...
Only check for "Stop" when the other 'if' didn't apply.
2020-02-22 17:56:47 +00:00
reaperrr
da4ed24064
Mobile ResolveOrder optimization
...
When the order is "Move", the other two 'if' checks
are redundant, so 'else if' makes more sense here.
2020-02-22 17:56:47 +00:00
reaperrr
b524dc9b72
Carryall ResolveOrder optimization
...
There can be only one OrderString at a time,
so we make 'PickupUnit' an "else if", too.
2020-02-22 17:56:47 +00:00
reaperrr
1e43a8f590
Minor Aircraft ResolveOrder optimization
...
Streamline RTB if checks.
2020-02-22 17:56:47 +00:00
Matthias Mailänder
805a8fc556
Specify unicode without BOM as standard.
2020-02-22 18:44:10 +01: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
Paul Chote
eae287efc3
Fix travis packaging.
2020-02-22 10:28:48 -06:00
Paul Chote
8903577227
Update native libraries shipped in the AppImages:
...
* SDL2 reverted back to 2.0.8 (2.0.9 and 2.0.10 generate compilation
errors so are missing from the libs tarball)
* Package Freetype 2.0.10
2020-02-22 10:28:48 -06: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
Paul Chote
01f5ecb2f9
Fix save game loading screen stripe bounds.
2020-02-22 16:14:32 +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
Matthias Mailänder
57da756f2f
Set the camera pitch to 30°
2020-02-18 00:49:04 +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
4ec258cbdd
Add missing LockFaction definitions to nod09, 10a, 10b.
2020-02-16 20:51:29 +01:00