Commit Graph

8847 Commits

Author SHA1 Message Date
mischa
c6633bccbe clientdelta wip 2024-10-28 11:17:07 +01:00
mischa
d1a922bae9 client->server baseline 2024-10-28 11:17:07 +01:00
mischa
3c5869203d naming 2024-10-28 11:17:07 +01:00
mischa
0ada67c7b9 fix 2024-10-28 11:17:07 +01:00
mischa
6cca04e507 perf: only call localtime once 2024-10-28 11:17:07 +01:00
mischa
3aaf6db3cc disable direct forwarding temporarily 2024-10-28 11:17:07 +01:00
mischa
6ad2d332bd updateclient split 2024-10-28 11:17:07 +01:00
mischa
de32fc785d perf: only grab NetworkTime.localTime property once. 2024-10-28 11:17:07 +01:00
mischa
3088f6c607 perf: dont construct snapshot when sending deltas 2024-10-28 11:17:07 +01:00
mischa
0073e2ecec disable logs 2024-10-28 11:17:07 +01:00
mischa
2e11de3824 perf: inline Compression 2024-10-28 11:17:07 +01:00
mischa
5bfc68d0b6 perf: save last without TransformSnapshot overhead 2024-10-28 11:17:07 +01:00
mischa
7b9a74f088 perf: only access Time.frameCount once 2024-10-28 11:17:07 +01:00
mischa
104fcca5b4 perf: updateserver gets pos/rot directly 2024-10-28 11:17:07 +01:00
mischa
5efba8b923 perf: Changed not virtual and inline 2024-10-28 11:17:07 +01:00
mischa
1ef00f9d44 perf: GetLocalPositionAndRotation 2024-10-28 11:17:07 +01:00
mischa
92cf730462 perf: dont sync scale 2024-10-28 11:17:07 +01:00
mischa
d196019d54 perf: dont pass nullables 2024-10-28 11:17:07 +01:00
mischa
46c51f95fa perf: cache writer to avoid pool.get 2024-10-28 11:17:07 +01:00
mischa
bd504bba66 syntax 2024-10-28 11:17:07 +01:00
mischa
92a76a7232 perf: ScaleToLongFast 2024-10-28 11:17:07 +01:00
mischa
87ae3a44fa perf: sqr distance checks 2024-10-28 11:17:07 +01:00
mischa
b427f41a7e syntax 2024-10-28 11:17:07 +01:00
mischa
ab6b701564 perf: faster changed comparison 2024-10-28 11:17:07 +01:00
mischa
114cbf0498 delta: only sync on change 2024-10-28 11:17:07 +01:00
mischa
b5b02217ff SerializeServerBaseline: parameters 2024-10-28 11:17:07 +01:00
mischa
01849a23fa delta compress quantized against baseline 2024-10-28 11:17:07 +01:00
mischa
6dada70082 syntax 2024-10-28 11:17:07 +01:00
mischa
b9c9746aef baselineTick safety chekc moved into DeserializeServerDelta 2024-10-28 11:17:07 +01:00
mischa
d017eb32d7 remkove onlySyncOnChange ifdefs 2024-10-28 11:17:07 +01:00
mischa
b9c6c057b4 log 2024-10-28 11:17:07 +01:00
mischa
e13dd2280b save lastSerialized quantized 2024-10-28 11:17:07 +01:00
mischa
8035d3be1d resets 2024-10-28 11:17:06 +01:00
mischa
08eeeaa5b8 syntax 2024-10-28 11:17:06 +01:00
mischa
9b601bb1bb common serialize funcs for delta 2024-10-28 11:17:06 +01:00
mischa
d20b13a593 common serialize functions for baseline 2024-10-28 11:17:06 +01:00
mischa
c37e069f47 naming 2024-10-28 11:17:06 +01:00
mischa
161b1a9a0c fix 2024-10-28 11:17:06 +01:00
mischa
c95bf7de34 improve logs 2024-10-28 11:17:06 +01:00
mischa
b6ac26e0e8 spawn is used as baseline 2024-10-28 11:17:06 +01:00
mischa
2d6eaa47d5 include baseline in deltas 2024-10-28 11:17:06 +01:00
mischa
79db3d614a save baseline 2024-10-28 11:17:06 +01:00
mischa
cff10a7cf1 include baseline tick# 2024-10-28 11:17:06 +01:00
mischa
275ec86a99 shorter naming 2024-10-28 11:17:06 +01:00
mischa
098a9a55f8 naming 2024-10-28 11:17:06 +01:00
mischa
f4f444413d comment 2024-10-28 11:17:06 +01:00
mischa
769fc9d981 server calls reliable baselien rpc 2024-10-28 11:17:06 +01:00
mischa
ae79b878c7 split 2024-10-28 11:17:06 +01:00
mischa
3a0ecd79d0 UpdateServer checks if should sync in general 2024-10-28 11:17:06 +01:00
mischa
431105c852 UpdateServer split into parts 2024-10-28 11:17:06 +01:00