Paul Chote
05a2e77be2
Add support for uncompressed databases.
2020-03-02 17:29:30 +01:00
abcdefg30
5fa1dec6d8
Fix a crash in --clear-invalid-mod-registrations
2020-03-02 17:26:34 +01:00
Paul Chote
93d006e14e
Fix incorrect end point rendering in DrawConnectedLine.
2020-02-29 18:13:54 +01:00
Paul Chote
41657dd291
Allow spectators to be kicked after the game starts.
2020-02-28 00:04:49 +01:00
Paul Chote
fb7c781a66
Add multi-resolution mod icon support.
2020-02-26 23:47:15 +01:00
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
Paul Chote
7d17916e3f
Load badges on the main thread.
2020-02-22 19:19:20 +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
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