Commit Graph

2517 Commits

Author SHA1 Message Date
ab1ed3aaa6 Remove a use of inline_tweak and use TallPacking instead of GridLtrPacking in common_net::msg::server. 2021-04-24 21:52:46 -04:00
ceeeef79d3 Added Lanczos interpolation for QuadPng
Should support arbitrary scales (N).
Does support arbitrary Lanczos a parameters (currently 2)
and sample sizes (currently 5x5).
2021-04-24 21:52:46 -04:00
8da1dab780 Add 5x5 manhattan blur effect to quadpng, and omit interpolation at chunk borders. 2021-04-24 21:52:46 -04:00
4517faae9d Experiment with 256-color palette "tripng" encoding, and Lanczos interpolation for "quadpng". 2021-04-24 21:52:46 -04:00
9709861af5 Add resolution downscaling to QuadPng's color channel, and use half-resolution QuadPng ingame. 2021-04-24 21:52:46 -04:00
5861603a34 Get PngPngPngJpeg terrain working in the actual game. 2021-04-24 21:52:46 -04:00
64ab1c2151 Move compression helpers to common_net::msg::compression and experiment with more image formats at more site kinds. 2021-04-24 21:52:46 -04:00
a4dc52eeb2 Add option to load English string as fallback if string missing 2021-04-24 21:52:46 -04:00
65fdbc1d69 Add basic distance check to shockwave hit test
Before checking if the entity hitbox intersects the shockwave shell, we
do a basic check that the entity is close enough to be hit, considering
its radius.

This fixes the unlimited vertical range problem, since the distance is
measured in 3D.
2021-04-24 21:51:09 -04:00
9b8f6efb49 Suppress wgpu_core::device info logging 2021-04-22 18:59:44 -04:00
e59f1e8d28 Skip physics pass for arrows stuck on surfaces
This keeps the arrow velocity from changing, which is what was causing
the ProjectileHit outcome to be pushed multiple times for the same
arrow, since the outcome checks if the arrow velocity is above a given
threshold.
2021-04-22 23:03:04 +02:00
e14f8b9745 Merge branch 'aweinstock/deflate-terrain' into 'master'
Compress terrain chunks with deflate. Includes a benchmark showing that this...

See merge request veloren/veloren!2166
2021-04-22 17:12:53 +00:00
b69eb61e7b Add handles to lanterns, fix cooking pot scale 2021-04-22 17:12:07 +00:00
9d82b20891 remove 0.8, add snow's mixed_vel idea for other bodies 2021-04-22 00:04:39 -04:00
1d25016459 Merge branch 'lboklin/arrow-turret-drag-fix' into 'master'
Fix ArrowTurret drag coefficient

See merge request veloren/veloren!2175
2021-04-21 20:17:44 +00:00
51c0f8733c Quick physics perf fix 2021-04-21 14:03:23 -04:00
1af4a04231 Revert "Merge branch 'revert-b10718c5' into 'master'"
This reverts merge request !2172
2021-04-21 17:10:13 +00:00
880236f223 Merge branch 'zesterer/lanterns' into 'master'
Made characters carry lanterns higher when possible

See merge request veloren/veloren!2169
2021-04-21 16:40:20 +00:00
37713cb4ad Fix ArrowTurret drag coefficient 2021-04-21 18:26:23 +02:00
68539a751b Merge branch 'revert-b10718c5' into 'master'
Revert "Merge branch 'imbris/agent-opt' into 'master'"

See merge request veloren/veloren!2172
2021-04-21 15:06:35 +00:00
699a5493ec Merge branch 'lboklin/simplify-buoyancy' into 'master'
Simplify buoyancy for performance reasons

See merge request veloren/veloren!2171
2021-04-21 15:06:31 +00:00
ed7cc12213 Made characters carry lanterns higher when possible 2021-04-21 15:59:29 +01:00
a1744182b3 Simplify buoyancy for performance reasons 2021-04-21 16:19:02 +02:00
6e364665cb Prevent drag forces from causing something to come to a complete stop 2021-04-21 16:13:51 +02:00
fd672980c4 Revert "Merge branch 'imbris/agent-opt' into 'master'"
This reverts merge request !2024
2021-04-21 14:10:06 +00:00
308ad4d81e Cleanup errors introduced in rebase. 2021-04-20 23:34:17 -04:00
15e32e5655 Move terrain compression code to common_net and disable redundant LZ4 compression on the terrain stream. 2021-04-20 23:24:24 -04:00
6d9de520f3 Compress terrain chunks with deflate. Includes a benchmark showing that this makes them around 70% smaller, and is the same speed as LZ4. 2021-04-20 23:23:53 -04:00
76ff00757f Appease clippy, add CHANGELOG entry 2021-04-20 15:29:20 -04:00
e17477979f Remove extra chunk cloning and parallelize serialization in the server terrain sys 2021-04-20 15:25:05 -04:00
e750c9d570 Switch agent target search to use a spatial grid, add convience method for querying the aabr of a circle 2021-04-20 15:25:04 -04:00
a76fdbc325 Expose CachedSpatialGrid resource that is updated by the physics system, move BuildAreas into its own module, removed unused ExecMode 2021-04-20 15:25:04 -04:00
26222a0a2d Rename common-sys to common-systems and rearrange common-state slightly 2021-04-20 15:25:04 -04:00
762c68cfbb Basic fluid dynamics and physical properties for entities 2021-04-20 17:38:19 +02:00
bcf9a8089f Merge branch 'better-crafting' into 'master'
Crafting station sprites in towns

See merge request veloren/veloren!2160
2021-04-20 15:08:36 +00:00
68004bc39c Made cooking pots glow 2021-04-20 15:39:46 +01:00
a19212daf7 Fix block-snapping at low framerates 2021-04-20 14:59:59 +01:00
9ff7db9b1c Account for FP imprecision in block-hopping 2021-04-20 14:54:21 +01:00
36e95e0c03 Cleaned up client-side recipe handling 2021-04-20 12:33:22 +01:00
86445af09c change cauldron spawning
cooking pot height
fmt
fmt, changelog
2021-04-20 02:48:13 +02:00
a4d56e7843 more sprite stuff and crafting UI update
fix item images
fix CR display
2021-04-20 02:46:06 +02:00
a1fe7c12c3 fmt, add sprites 2021-04-20 02:46:04 +02:00
5598d07944 Added crafting stations 2021-04-20 02:45:59 +02:00
7348e399e0 only have 1 Fn passed to tick fn 2021-04-20 01:49:45 +02:00
485a477503 include origin into system name 2021-04-20 01:30:27 +02:00
425063e24e remove authc from common::net 2021-04-20 01:30:23 +02:00
5862920f32 seperate sys/state 2021-04-20 01:30:17 +02:00
4ad5257e40 Rebalanced mist 2021-04-19 22:26:56 +01:00
ed20a66b20 Fixed block-snapping 2021-04-19 21:46:51 +01:00
b700d9a641 Merge branch 'zesterer/econ-tweaks' into 'master'
Limit trading currency to sane amounts

See merge request veloren/veloren!2154
2021-04-19 10:46:17 +00:00