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
Paul Chote
f3d7bf403e
Rework chrome.yaml format and panel rendering.
2019-12-28 19:15:36 +01:00
Paul Chote
0b8a367867
Fix MiniYaml parsing of empty comments
2019-12-28 19:15:36 +01:00
Paul Chote
35a36b4cdf
Disable frame limiter by default
...
VSync does a more reliable job of this.
2019-12-26 17:25:38 +01:00
Paul Chote
2231183fe0
Account for game ticks when applying the frame limiter.
2019-12-26 17:25:38 +01:00
Paul Chote
656a260171
Add VSync setting.
2019-12-26 17:25:38 +01:00
abcdefg30
959c750851
Move voice playing for orders into a helper function
2019-12-23 15:01:36 +01:00
abcdefg30
4d407da3e6
Fix a potential crash in PlayVoiceForOrders
2019-12-23 15:01:36 +01:00
abcdefg30
d2db707521
Move unit order resolving into a helper function
2019-12-23 14:53:13 +01:00
Paul Chote
04bad1ae66
Add MinRange support to AffectsShroud.
2019-12-23 13:53:08 +01:00
Paul Chote
1dcb903580
Implement new viewport size/zoom UI.
2019-12-13 21:29:43 +01:00
Paul Chote
860117daf9
Implement optimized pixel-art antialiasing mode for non-integer world zoom.
2019-12-13 21:29:43 +01:00
Paul Chote
b0c65c5eb9
Overhaul cursor double setting.
2019-12-11 13:38:52 +01:00
Paul Chote
79aac08a48
Fix turret positioning in the map editor.
2019-12-11 11:02:04 +01:00
abcdefg30
2918ecadaa
Fix team chat messages not always being displayed
2019-12-10 13:05:38 +01:00