Paul Chote
41d7a2d429
Fix an integer overflow when calculating selection priorities.
2020-02-16 17:57:04 +01:00
abcdefg30
7cec1b771d
Fix Actor.CurrentActivity bogusly pointing to finished activities
2020-02-16 16:58:06 +01:00
abcdefg30
b1b74c13c3
Ensure that we never tick an activity before calling OnFirstRun
2020-02-16 16:58:06 +01:00
abcdefg30
c4a5540bfd
Ensure that we never run Done child activities
2020-02-16 16:58:06 +01:00
abcdefg30
abcb2ea512
Directly mark queued activities that are cancelled as Done
2020-02-16 16:58:06 +01:00
abcdefg30
aeacc86028
Remove a loop closure guard variable
2020-02-09 12:18:09 +01:00
abcdefg30
5c4ec1bf0e
Fix a crash when a SourceActor does not occupy space
2020-02-09 12:18:09 +01:00
abcdefg30
e3f545cae9
Make WarheadArgs.Source nullable
2020-02-09 12:18:09 +01:00
Paul Chote
71cbfc5968
Change default player color to dark red.
2020-02-08 20:09:02 +01:00
Paul Chote
fdc3a6a32d
Change default name from Newbie to Commander.
2020-02-08 20:09:02 +01:00
Paul Chote
e6c1356d59
Add introduction prompt on first run.
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
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
0e39c98989
Ignore empty support directory overrides.
2020-02-04 00:21:52 +01:00
Paul Chote
f0033c44c7
Use full window resolution on Windows.
2020-01-26 20:22: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
809b1507a6
Fix font rendering at non-integer display scales.
2020-01-26 20:22:49 +01:00
Paul Chote
d91495a041
Allocate 1px empty margin between sprites.
2020-01-26 20:22:49 +01:00
Paul Chote
84daf890d3
Use antialiasing filter when rendering world annotations.
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
f730b55255
Move hardware cursor control to hidden DisableHardwareCursors setting.
2020-01-26 17:11:45 +01:00
Paul Chote
370f7a44fa
Restore cursor doubling for "default" cursor.
2020-01-26 17:11:45 +01:00
Paul Chote
f7e5111123
Apply cursor doubling setting without requiring a restart.
2020-01-26 17:11:45 +01:00
Paul Chote
847db5e59b
Merge HardwareCursor and SoftwareCursor into CursorManager.
2020-01-26 17:11:45 +01:00
Paul Chote
e138afc328
Overhaul Input settings.
2020-01-26 16:52:14 +01:00
Paul Chote
b08f9886be
Add Graphics.DisableGLDebugMessageCallback setting.
2020-01-25 13:44:06 +01:00
reaperrr
6220d7e62e
Introduce WarheadArgs
...
- Passes additional arguments to warheads on impact
- Uses that to reduce parameter count of DoImpact by 1
2020-01-21 19:31:34 +01:00
Paul Chote
7611449d3d
Reimplement text contrast using greyscale dilation.
2020-01-19 17:18:22 +01:00
Paul Chote
6f52365f9d
Don't run NextActivity if it has been canceled.
2020-01-18 16:38:53 +01:00
Paul Chote
4fd475f7c2
Add RGBA cursor support.
2020-01-17 16:49:58 +01:00
Paul Chote
1111ce4754
Add support for 32 bit BGRA sprites.
2020-01-17 16:49:58 +01:00
Paul Chote
d6436858a9
Fix IPAddress capitalization.
2020-01-15 12:12:54 +01:00
Paul Chote
38cb818469
Anonymise client IPs and allow server operators to disable sharing.
2020-01-15 12:12:54 +01:00
Paul Chote
422cc2b0d0
Hide location and IP labels if not known.
2020-01-15 12:12:54 +01:00
Paul Chote
d74a5065b9
Require GeoLite2 database path to be specified by the server operator.
2020-01-15 12:12:54 +01:00
Paul Chote
6b2c019caa
Evaluate player location on the server.
2020-01-15 12:12:54 +01:00
Paul Chote
c430884c8b
Require GeoLite2 database path to be specified by the server operator.
2020-01-15 12:12:54 +01:00
Paul Chote
cc05621c10
Draw editor terrain/resource preview as part of the world.
2020-01-12 18:30:50 +01:00
Paul Chote
e74033bded
Render editor actor previews as part of the world.
2020-01-12 18:30:50 +01:00
abcdefg30
a28992aa38
Default LocalClientId in ReplayConnection to -1
...
We do not have a local client in replays.
This change prevents anything from accidentally using (sometimes there might be clients with ID 0 present).
2020-01-12 14:23:34 +01:00
Paul Chote
0db4085950
Load and save registrations to both the active and legacy support directories.
2020-01-12 14:10:23 +01:00
Paul Chote
f162d90e9f
Rework support dir initialization.
2020-01-12 14:10:23 +01:00
tovl
695d9a6cb1
Centralize shroud changes in one pass to improve performance.
2020-01-12 04:50:25 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Matthias Mailänder
e33cf8a8ae
Fix a crash when cursor is null.
2020-01-05 13:27:53 +00:00
Paul Chote
439cd4aded
Rework HardwareCursor sprite padding.
...
All frames in a sequence now use the same bounds
and hotspot, and have a size that is a multiple of 8.
2020-01-04 22:45:51 +01:00
Paul Chote
baa5b3d25e
Bypass fingerprint validation for skirmish/mission servers.
2020-01-01 20:33:30 +01:00
Paul Chote
8f2bf27edf
Replace Server.Dedicated with Server.Type.
2020-01-01 20:33:30 +01:00