Paul Chote
24f64ae1a8
Fix an edge case where the wrong sheet may be mapped to a depth sprite.
2021-07-25 19:20:19 +02:00
Paul Chote
70892a6661
Change DrawSprite calls to provide scales instead of sizes.
...
This allows us to remove a hacky workaround for calculating
depth offsets when sprites have size.Z == 0.
2021-07-25 00:32:17 +02:00
Vapre
2e6f444285
Map.Contains check grid type once.
2021-07-24 15:34:56 +02:00
Vapre
627fd4e68b
CellLayer.Index inline CPos.ToMPos.
2021-07-16 09:51:55 +02:00
teinarss
f3777a25e6
Refactor send and receive Orders loop
2021-07-10 23:35:47 +02:00
teinarss
5e1468facb
Fix NRE with ConnectionStateChanged
2021-07-08 01:12:05 +02:00
Paul Chote
aa798c252b
Remove "X has joined the game." notification when starting a Skirmish.
2021-07-06 13:12:51 +02:00
Ivaylo Draganov
2ea6bfba7b
Allow the player to toggle the display of UI Feedback chat pool
2021-07-04 14:02:58 +01:00
Ivaylo Draganov
6af354ff99
Split chat lines into pools
...
- Add a common class for passing around chat lines
- Add wrapper methods for adding chat lines
- Combine repeated chat lines in the display widget
2021-07-04 14:02:58 +01:00
Paul Chote
bc51461427
Make sure the hue returned by Color.RgbToHsv is positive.
2021-07-03 12:18:25 -05:00
teinarss
1f1373509e
Refactor server orders
2021-07-03 14:55:03 +01:00
abc013
2742985520
Prevent saving and starting a map when max player count is exceeded.
2021-07-03 08:25:16 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Ivaylo Draganov
1af2ab566e
Fix player handicap erroneously set to player team
2021-06-25 09:25:17 -05:00
Andre Mohren
62207313a0
32bpp assets dont need a palette to be defined.
2021-06-25 10:33:54 +02:00
teinarss
b3b10729cd
Remove ServerExternalMod from OrderManager
2021-06-12 12:50:51 +02:00
teinarss
91f99eeb4c
Cleanup in Connect
2021-06-12 12:50:51 +02:00
teinarss
a1b3450b47
Remove Password and Endpoint from OrderManager
2021-06-12 12:50:51 +02:00
Vapre
fc49d6943a
OrderIO performance improvement
...
OrderIO, ToOrderList, skip if frame is empty,
which occurs often each client each frame.
2021-06-09 23:31:27 +02:00
teinarss
82115c6bf7
Move Text handling to its own class
2021-06-04 21:47:39 +02:00
Paul Chote
2a26ddc622
Replace server Select loop with individual client threads.
...
This guarantees that any unexpected blocking calls due to network
issues cannot stall the main server thread.
2021-05-30 14:37:25 +02:00
Paul Chote
6535411744
Move SendData to Connection.
2021-05-30 14:37:25 +02:00
Paul Chote
7c02b4d264
Add Connection.EndPoint property.
2021-05-30 14:37:25 +02:00
Paul Chote
7e79e69eae
Remove public mutable state from Connection.
2021-05-30 14:37:25 +02:00
Paul Chote
dacacdf130
Remove global fallback to software cursors on error.
...
We now only fall back for the specific cursors that failed.
2021-05-30 12:01:44 +02:00
teinarss
d10c592987
Fix crash in OrderManager
2021-05-23 12:44:18 +01:00
Paul Chote
dc3dc7df73
Fix map-player bots not working on dedicated servers.
...
The host is almost never going to be client index 0
on public dedicated servers. Set to the actual host
client ID instead.
2021-05-22 11:18:45 +02:00
Paul Chote
c64cfea179
Allow mods to downscale framebuffer resolution for large world viewports.
2021-05-16 14:22:52 +02:00
Paul Chote
84dff779ac
Work around rendering glitches with non-unity pixel scales.
2021-05-16 14:22:52 +02:00
Paul Chote
0d4b81fe6f
Set world framebuffer size based on minimum zoom.
...
This avoids reallocating buffers each time the player changes zoom level.
2021-05-16 14:22:52 +02:00
Paul Chote
0735345674
Set world framebuffer size based on minimum zoom.
...
This avoids reallocating buffers each time the player changes zoom level.
2021-05-16 14:10:32 +02:00
Paul Chote
bb15bd20c0
Add support for 16 bit floating point textures.
2021-05-16 14:10:32 +02:00
Paul Chote
95f5d162ef
Increase SheetCount back to 8.
...
This was previously decreased to support legacy GPUs
that only supported 8 texture image units and we need
to reserve one of these for the palette texture.
OpenGL 3.X mandates a minimum of 16 (and most most GL2
cards also supported it) so we can now safely increase
this limit.
2021-05-16 14:10:32 +02:00
Paul Chote
98caae106f
Move Palette traits to their own directory.
...
Also adds missing TraitLocation definitions.
2021-05-15 15:29:46 +02:00
Paul Chote
57d955ec72
Change Color.ToAhsv to tuple syntax.
2021-05-15 15:29:46 +02:00
Paul Chote
560f1a6466
Restrict player color choices to the hue-saturation plane.
2021-05-15 15:29:46 +02:00
Paul Chote
4042d5b179
Preserve original brightness when remapping player colors.
2021-05-15 15:29:46 +02:00
reaperrr
fc3f200357
Replace F in OrderManager
2021-05-09 15:00:07 +01:00
Paul Chote
d89f14dcbc
Limit resource center queries to 50 maps at a time.
2021-05-09 15:37:30 +02:00
teinarss
96b8273916
Remove FrameData and update OrderManager
2021-05-09 15:08:48 +02:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
teinarss
1385aca783
Move ConnectionTarget to its own file
2021-05-08 20:41:40 +02:00
Paul Chote
8d2ec78713
Replace TerrainType.CustomCursor with Mobile.TerrainCursors.
2021-05-04 11:56:23 +02:00
Vapre
a5a371f1ff
GameSettings, EnableDiscordService.
2021-05-03 11:42:57 +01:00
abcdefg30
3276373745
Pause rendering when the window is minimized
2021-04-26 21:56:20 +01:00
teinarss
b23d533006
Update Log to wait for items in worker thread
2021-04-26 21:50:26 +01:00
Matthias Mailänder
1f01d0b6b1
Add a Fluent based translation system.
2021-04-24 16:49:17 +02:00
Paul Chote
bb8a634ba8
Fix map installation.
2021-04-21 18:57:44 +02:00
Paul Chote
f9294f0e9e
Enable dedicated server lint checks.
2021-04-21 18:57:44 +02:00
Paul Chote
9770967b04
Optimize MapPreview rule loading.
2021-04-21 18:57:44 +02:00