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
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
RoosterDragon
987d0b77ac
When dumping syncable traits, use a struct for the synced values.
...
Since most traits have few syncable members, this allows us to avoid allocating an array whose lifetime is only a few ticks long. For traits with more members, we fall back to allocating the array.
2017-12-19 22:01:08 +02:00
RoosterDragon
8ef8c60a1a
Remove allocations when enumerating sync hashes on an actor.
...
Exposing Actor.SyncHashes as an array allows allocation free enumeration, we just need to adjust the SyncHash type to run the hash function.
2017-12-10 13:49:52 +00:00
RoosterDragon
2def72a078
Clear previous effects data when generating a new sync report.
2017-06-12 18:25:35 -05:00
RoosterDragon
fbf6f45b11
Avoid boxing Booleans when dumping sync traits.
...
We can return the resulting strings directly.
2017-01-19 20:23:47 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
94de961175
Converting dates to string using the InvariantCulture.
2016-09-21 14:52:05 +01:00
Paul Chote
b44d1be554
Timestamp syncreport and exception log files.
2016-09-21 04:57:13 +01:00
Matthias Mailänder
56fa1ab0e3
Fix a crash when no sync report is available.
2016-09-18 17:43:22 +02:00
Matthias Mailänder
66f4db93c1
Only save a syncreport.log when a desync occurs.
2016-09-05 21:59:50 +02:00
Paul Chote
bf4867909f
Rename Manifest.Mod -> Metadata.
2016-08-08 22:36:07 +01:00
Matthias Mailänder
71743b3b4a
Only sync projectiles and future synced effects.
2016-06-13 14:35:28 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
RoosterDragon
dc37574494
Cache sync hash functions per actor for faster sync calculations.
...
Caching the result of the function lookup allows the actor to calculate all the sync hashes for its syncable traits faster as it does not need to repeat the lookup each time.
2016-01-31 00:44:43 +00:00
RoosterDragon
b0619a3e25
Added comments in performance sensitive code.
2015-12-13 16:24:54 +00:00
RoosterDragon
89f5a23077
When dumping the sync report, log all the orders issued in the frame that desynced.
2015-08-09 20:59:59 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Oliver Brakmann
30e42cdc62
Merge pull request #7247 from Hellhake/stylecop-game
...
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:58:04 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
RoosterDragon
3511fbbf2c
Generate sync reports faster by delaying ToString calls until it is written to disk.
...
Values for the report are generated by calling ToString on members, we avoid calling this on value types for performance. By instead just copying the value we can delay calling ToString until later and avoid spending time and memory creating strings that usually go unused.
2014-12-16 18:39:02 +00:00
Matthias Mailänder
8e667304aa
StyleCop clean SyncReport
2014-11-01 21:48:09 +01:00
Matthias Mailänder
95a4248419
StyleCop clean OrderManager
2014-11-01 21:46:19 +01:00
RoosterDragon
6f5fbeceb1
Use expressions to generate fast member access code rather than using the slower reflection based methods.
2014-06-12 08:32:26 +01:00
RoosterDragon
3e24e89477
Rewrite SyncReport for clarity and performance.
...
- Drop the impressive but inscrutable dynamically generated code in favour of some plain old code.
- Cache type information so costly reflection need not be performed each time.
- Only capture values from a sync object into an array rather than a dictionary lookup of both names and values for efficiency.
- Throw if the sync attribute is used on a property that cannot be read or that uses index parameters.
2014-06-12 08:30:27 +01:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
6d6d1e230b
Remove runtime mod merging. Closes #3421 .
2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee
Remove some misc redundancies
2013-11-12 19:39:39 +13:00
Matthias Mailänder
eff943b3eb
added OS and Mono/.NET runtime version to syncreport.log
2013-10-17 20:54:58 +02:00
Matthias Mailänder
8c8df3bda9
expose Game ID and client player name to syncreport.log
2013-10-17 20:36:17 +02:00
Matthias Mailänder
f4a8a99d87
avoid misleading no sync report available messages
2013-09-29 21:29:17 +02:00
Matthias Mailänder
bdfdaac092
sync effects
2013-08-29 17:37:35 +02:00
Sascha Biedermann
2fb12f755a
added ToString() for OpenRA.Player
2013-04-07 17:01:55 +02:00
Sascha Biedermann
bed26c3dee
fixes #2941 - dump fields in syncreport
2013-04-07 15:25:52 +02:00
Matthias Mailänder
dd476bbf5c
add the total number of values extracted from RNG to sync report
2013-03-01 10:48:28 +01:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
a3994df925
queries dies
2011-03-17 22:09:10 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
180d58c35a
only bother hashing traits that have ISync
2011-01-26 21:00:31 +13:00
Chris Forbes
a4bbce32b8
cleanup SyncReport.cs header
2011-01-01 21:43:37 +13:00
Chris Forbes
19aed01822
show real player names in syncreport
2011-01-01 21:42:57 +13:00
Chris Forbes
4a94cf656b
remove a redundant method from queries.
2010-12-27 18:26:12 +13:00
Chris Forbes
c1fb6c2732
remove ability to not save syncreports
2010-12-23 08:48:54 +13:00
Paul Chote
047a09bbbd
Excise previous server extensions code
2010-11-10 10:30:24 +13:00
geckosoft
8392a44314
Added: Support for not-synced traits (ITraitNotSynced)
2010-11-01 17:55:28 +13:00