2562 Commits

Author SHA1 Message Date
Avi Weinstock
bb7dbe245d Make terrain compression a checkbox instead of a bandwidth (throughput?) heuristic. 2021-05-03 00:09:44 -04:00
Avi Weinstock
d858c629ce Optimize CompressedData with Vec::with_capacity, and move obsolete formats from common_net into the compression benchmark. 2021-05-03 00:09:24 -04:00
Avi Weinstock
15feb08a85 Address MR 2207 review comments.
- Add metrics for which branch of the compression heuristic was taken.
- Reduce the threshold for the heuristic.
- Deduplicate code for dealing with lazy messages.
- Make jpeg dependency only scoped to the compression benchmark.
- Remove commented code.
2021-05-03 00:09:24 -04:00
Avi Weinstock
261ee8aa47 Add a bandwidth-based heuristic for chunk compression. 2021-05-03 00:09:24 -04:00
Avi Weinstock
322f7e289e Improve quadpng by adding WidePacking, which makes a wider image, which is faster due to PNG compressing by row. Heuristically switch between quadpng and deflate based on chunk height to reduce variance. 2021-05-03 00:09:24 -04:00
Avi Weinstock
5fe479e7df Add matplotlib graph generation to the compression benchmarks. 2021-05-03 00:09:24 -04:00
Avi Weinstock
06727401ad Remove a use of inline_tweak and use TallPacking instead of GridLtrPacking in common_net::msg::server. 2021-05-03 00:09:24 -04:00
Mckol
470b03fc3c Added Lanczos interpolation for QuadPng
Should support arbitrary scales (N).
Does support arbitrary Lanczos a parameters (currently 2)
and sample sizes (currently 5x5).
2021-05-03 00:09:24 -04:00
Avi Weinstock
8acec7dc1f Add 5x5 manhattan blur effect to quadpng, and omit interpolation at chunk borders. 2021-05-03 00:09:24 -04:00
Avi Weinstock
f93bab85ee Experiment with 256-color palette "tripng" encoding, and Lanczos interpolation for "quadpng". 2021-05-03 00:09:24 -04:00
Avi Weinstock
30fd3fa022 Add resolution downscaling to QuadPng's color channel, and use half-resolution QuadPng ingame. 2021-05-03 00:09:24 -04:00
Avi Weinstock
7f16d73217 Get PngPngPngJpeg terrain working in the actual game. 2021-05-03 00:09:24 -04:00
Avi Weinstock
9abbfee18b Move compression helpers to common_net::msg::compression and experiment with more image formats at more site kinds. 2021-05-03 00:09:24 -04:00
James Melkonian
6956d364d1 Add map markers for lakes and mountains 2021-05-03 02:00:23 +00:00
Daniel Mizerski
3538a36503 Add fundamentals for wiring system. 2021-05-02 22:38:44 +02:00
Ludvig Böklin
35eab4abcc Fix glider pitching down when trying to take off 2021-05-01 15:35:26 +02:00
Ludvig Böklin
2dbecad3fa Fix ori 2021-04-30 17:37:51 +02:00
DaforLynx
5358e7346a Poise (stun) SFX and fix for town music 2021-04-29 23:36:22 +00:00
Samuel Keiffer
3337e463f8 Merge branch 'lboklin/lower-zero-lift-drag' into 'master'
Lower zero-lift drag

See merge request veloren/veloren!2223
2021-04-29 19:11:12 +00:00
Justin Shipsey
a23b60fb13 Merge branch 'lboklin/object-masses' into 'master'
Define more accurate masses for objects

See merge request veloren/veloren!2220
2021-04-29 19:04:48 +00:00
Ludvig Böklin
9ae65352f1 Lower zero-lift drag 2021-04-29 19:22:09 +02:00
Synis
7bde80e1f3 Query spatial grid for beam and aura system
fmt
2021-04-29 14:23:02 +02:00
Ludvig Böklin
8b28fd873c Add more specific masses to objects 2021-04-29 11:46:03 +02:00
Ben Wallis
933de6b023 Merge branch 'xvar/item-serialization' into 'master'
Changed Item serialization to not send ItemDef struct across the network

See merge request veloren/veloren!2215
2021-04-28 20:50:32 +00:00
Ben Wallis
0eb1f62cd2 Changed Item serialization to only send item_definition_id across the network rather than the whole ItemDef 2021-04-28 21:00:25 +01:00
DaforLynx
5f8c7e54b5 Town music 2021-04-28 05:07:59 +00:00
Ludvig Böklin
b389806d2e Glider physics 2021-04-27 14:41:48 +00:00
jshipsey
60e31e90d9 fix glide wield 2021-04-26 23:17:04 -04:00
Sam
201fe2a19c Added angle check for new npcs. 2021-04-25 22:19:30 -04:00
jshipsey
aa344baa45 comments 2021-04-25 22:02:32 -04:00
jshipsey
585e468de1 skill adjustments, ori changes 2021-04-25 22:02:32 -04:00
jshipsey
4f3c766757 ori fixes 2021-04-25 22:02:30 -04:00
Joshua Barretto
0637816ab0 Merge branch 'zesterer/small-fixes' into 'master'
Small fixes

See merge request veloren/veloren!2201
2021-04-25 23:03:23 +00:00
Joshua Barretto
9bba3acfbe Don't use movement efficiency for orientation 2021-04-25 23:00:30 +01:00
Joshua Barretto
2281c6f189 Minor control over velocity when in the air 2021-04-25 22:37:25 +01:00
Marcel
31098ad75b Merge branch 'xMAC94x/reduce_deps' into 'master'
remove some unused deps Yuri found

See merge request veloren/veloren!2197
2021-04-25 20:22:31 +00:00
Marcel Märtens
fd5d1ffaf3 remove some unused deps Yuri found 2021-04-25 20:18:20 +02:00
Sam
c368883499 Cleaned up tweaks in ui and allowed sfx choosing to scale to amount of sfx variants provided. 2021-04-25 13:09:10 -04:00
Sam
6294b3c5ff Initial SCT implementation to display blocks. 2021-04-25 13:09:09 -04:00
Sam
fdd2b58954 Addressed testing feedback.
Particles better.
2021-04-25 13:09:08 -04:00
Sam
2d3d48e84c Parrying no longer requires releasing the block button, and instead can parry if block happened in buildup. 2021-04-25 13:09:07 -04:00
Sam
b028b647ca Blocking now works if no weapon is equipped in main hand.
Added temp sfx for blocking and parrying.
Added temp particles for successful parry.
Tweaked values of default block ability.
2021-04-25 13:09:02 -04:00
Sam
165603aa65 Parrying 2021-04-25 13:08:42 -04:00
Sam
c9e1b1d341 Melee weapons can now block. 2021-04-25 13:08:42 -04:00
Sam
e074562735 Removed unwraps in buffs 2021-04-25 12:01:21 -04:00
Snowram
abfb14626a Body specific beam offsets 2021-04-25 04:07:12 +02:00
Snowram
58300592ca More phoenix AI work
More phoenix AI work
2021-04-25 04:07:12 +02:00
Snowram
4249d0ddcc Phoenix npc + AI (WIP) 2021-04-25 04:07:11 +02:00
Snowram
738be81943 Improves bird_large anims 2021-04-25 04:07:09 +02:00
Snowram
ff5d267535 Day period dependant wildlife spawns 2021-04-25 02:14:51 +02:00