abcdefg30
d2db707521
Move unit order resolving into a helper function
2019-12-23 14:53:13 +01:00
abcdefg30
2918ecadaa
Fix team chat messages not always being displayed
2019-12-10 13:05:38 +01:00
tovl
6fb3dc050b
Let CreateGroup use ExtraActors field.
2019-11-26 22:06:37 +01:00
tovl
00ce1d7ee6
Allow additional actor IDs to be send with orders.
2019-11-26 22:06:37 +01:00
Paul Chote
c6232f20f9
Split Protocol version into Handshake vs Orders.
...
Handshake is kept at 7.
Orders is incremented to 8 to reflect immediate order changes.
2019-06-20 22:50:17 +02:00
Paul Chote
fe41dcb45e
Restore 0xFE order for handshakes.
...
This restores handshake compatibility with protocol 7 servers.
2019-06-20 22:50:17 +02:00
Paul Chote
bfddfec461
Replace magic numbers with an OrderType enum.
2019-06-20 22:50:17 +02:00
Paul Chote
862a274357
Merge ServerOrder into Order and 0xFE order type into 0xFF.
2019-06-20 22:50:17 +02:00
Paul Chote
9daf02a955
Remove unused field from HandshakeRequest.
...
This field was not serialised, so compatibility
is not impacted.
2019-06-20 22:50:17 +02:00
Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
c253aaeb9d
Replace for(;;) with while (true).
2019-06-08 18:46:03 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
353db73381
Fix a collection of minor style violations.
...
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
jrb0001
db487e1264
Give every immediate order its own framing
2019-04-23 01:00:52 +02:00
jrb0001
f3133617dd
Prevent immediate orders from being sent as regular orders
2019-04-23 01:00:52 +02:00
abcdefg30
6163523334
Enable spectator team chat in the lobby
2019-04-22 19:55:04 +01:00
abcdefg30
e6feba8884
Remove the TeamChat order type
2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d
Send the designated team number as extra data in the order
2019-04-22 19:55:04 +01:00
abcdefg30
991093df81
Let immediate orders send a bitfield for extra order data
2019-04-22 19:55:04 +01:00
abcdefg30
767de564fc
Use Team numbers instead of stances
2019-04-22 19:55:04 +01:00
abcdefg30
43f22f908d
Don't make team messages of dead players public
2019-04-22 19:55:04 +01:00
abcdefg30
9bd0a71ca8
Return early instead of nesting
2019-04-22 19:55:04 +01:00
abcdefg30
e7f60a1e25
Don't ignore the message limit in team chat
2019-04-22 19:55:04 +01:00
abcdefg30
4a9a5ba757
Remove and restyle comments in UnitOrders
2019-04-22 19:55:04 +01:00
Paul Chote
1f3b30c2d2
Implement game save/load backend.
2019-04-20 14:54:48 +02:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
00496e2ec2
Remove Order.TargetLocation.
2019-03-04 18:08:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Jeremy
85a97998aa
Added final game tick to replay meta data for completion percentage on replay.
2018-12-24 20:51:03 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Paul Chote
04359206ff
Remove long-broken setting to ignore version mismatches.
2018-12-15 23:30:36 +01:00
Paul Chote
cc707f0037
Disable MP sync report generation by default.
...
A new Server.EnableSyncReports option is provided
so that server operators can restore them remotely
in the event of a future desync bug.
2018-12-15 23:30:36 +01:00
Paul Chote
081182b60f
Profile sync report generation separately.
2018-12-15 23:30:36 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Ivaylo Draganov
a7279415dc
Allow player to add a "priority unit" to production queue
...
* If production is ordered by `Ctrl + Left Click` the item is added to the top of the stack after the currently produced item
* Works with `Shift` for priority queueing of 5 items
* This modifier is not taken into account for `ParallelProductionQueue` as it doesn't make sense in that context
2018-11-03 17:54:50 +01:00
teinarss
cfaf5a6467
Updated CPos struct to use a bit field for all properties.
2018-10-02 00:54:45 +01:00
teinarss
e353c8c176
Changed SubCell to byte
2018-09-30 19:48:27 +01:00
Paul Chote
8533aa8d26
Disable sync reports when we know we won't need them.
...
Generating the sync report takes ~twice as long as
a normal tick, and occurs once every 3 ticks.
These reports record of all of the synced state
(separate to the sync hash, which is still calculated)
in order to generate the syncreport.log of the game
desyncs. This perf overhead is completely unnecessary
when we know that we won't have other syncreports to
compare against (singleplayer, replays).
Disabling report generation in these cases gives
us an easy 40% average tick-time win.
2018-09-10 19:44:06 +02:00
Paul Chote
8475bd6294
Ignore malformed orders instead of crashing.
2018-08-25 18:23:35 +02:00
Paul Chote
e374c8e6c3
Sync auth information with the master server.
2018-08-18 16:57:28 +02:00
Paul Chote
c74159e549
Add player authentication backend.
2018-07-29 00:30:17 +02:00
teinarss
0c1b11ed4f
Added Dedicated to GlobalSettings
2018-07-05 23:22:09 +01:00
Paul Chote
8c0f4fde81
Fix newlines in C# files.
2018-07-01 11:08:32 +02:00
Paul Chote
6ef802b929
Send mod title, website, and an icon URL to the master server.
...
Prefer the title returned by the master server in the games list.
2018-05-31 17:45:58 +02:00
Paul Chote
ba8eac0e38
Remove deprecated Order.TargetActor and Target.FromOrder.
2018-05-30 18:06:59 +02:00
Paul Chote
768265bbd2
Unify TargetFlash handling around Targets.
2018-05-30 18:06:59 +02:00
Peter Antal
3ce2417a06
Create SupportDirPrefix and IsPathRelativeToSupportDirectory() as members on Platform class.
2018-03-10 12:54:01 +00:00
Paul Chote
e69cf4fd5c
Rename another Stream.Write(byte[]) extension method.
2018-03-07 22:29:35 +01:00