Commit Graph

7918 Commits

Author SHA1 Message Date
Avi Weinstock
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
Avi Weinstock
b855c2bf97 Add JPEG, PNG, and mixed compression for terrain. 2021-04-24 21:52:46 -04:00
Ada Lovegirls
a4dc52eeb2 Add option to load English string as fallback if string missing 2021-04-24 21:52:46 -04:00
Ben Wallis
76daf7a395 Added client/server version mismatch message when a network error is encountered during client init.
Added warning banner on character select when successfully connected to a server with a mismatched version.
2021-04-24 21:51:46 -04:00
holychowders
53025a861e Fix grammatical error in NPC message 2021-04-24 21:51:09 -04:00
Ygor Souza
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
Illia Denysenko
e3e38ca9e1 update uk_UA localization 2021-04-24 21:51:09 -04:00
Marcel Märtens
6b7143c76f have a seperate stage for scheduled builds 2021-04-24 21:51:09 -04:00
juliancoffee
dbd044309f Fix off-by-one error in localization tests
BlameHunk lines start counting from 1, not 0. Comparing with `line + 1`
fix this.
2021-04-24 21:51:09 -04:00
Nícolas Wildner
daeea8f2c7 update pt_br 20210422 2021-04-24 21:51:09 -04:00
Imbris
e7b0dea24f Fix wrong intermediate target texture format 2021-04-22 18:59:46 -04:00
Imbris
ad286bc016 CI tweaks, make windows build use posix mingw and copy necessary DLL files 2021-04-22 18:59:46 -04:00
Imbris
905a164c0c Comment out lod depth tweaks not designed for reverse depth, convert waves image to rgba before constructing a texture, misc fix after rebase 2021-04-22 18:59:46 -04:00
Synis
9ad6cc1da5 Fix missing include 2021-04-22 18:59:46 -04:00
Imbris
29169ea236 Cloud and sprite shader fixes after rebase 2021-04-22 18:59:46 -04:00
Imbris
b4ea5eba04 Clear textures that will be partially written to work around Dx12 bug on AMD 2021-04-22 18:59:46 -04:00
Imbris
6824974464 Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue 2021-04-22 18:59:46 -04:00
Imbris
50eb82915b Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc) 2021-04-22 18:59:46 -04:00
Imbris
0e77af3cda Fix dx12 shader issues 2021-04-22 18:59:46 -04:00
Imbris
5922475539 Update wgpu 2021-04-22 18:59:46 -04:00
João Capucho
b5738ed1c4 Fix panic on zero sized scissor 2021-04-22 18:59:46 -04:00
João Capucho
ca91cf3ca3 Fix resizing using the wrong value 2021-04-22 18:59:46 -04:00
Imbris
563bbc4180 Allow setting env var to only use the vulkan backend, deactivate profiling if the feature is not available 2021-04-22 18:59:46 -04:00
Imbris
9576d06da9 Disable CI that does not need to run for builds 2021-04-22 18:59:46 -04:00
Imbris
c7473fd843 Implement screenshots 2021-04-22 18:59:46 -04:00
Imbris
af9505b084 Update wgpu-profiler 2021-04-22 18:59:46 -04:00
Imbris
221aaf73dc Change docker tags to a wpu specific tag 2021-04-22 18:59:46 -04:00
Imbris
83ef106aaf Display gpu timing info in the HUD when enabled 2021-04-22 18:59:46 -04:00
Imbris
3dcc983819 Try out using storage buffer for sprite vertices 2021-04-22 18:59:46 -04:00
Imbris
deffca1513 Fix bugs with sprite rendering 2021-04-22 18:59:46 -04:00
Imbris
d317a1a1cc Fix sprite vertex lookup, normalize sprite
normals in vert shader
2021-04-22 18:59:45 -04:00
Imbris
b85e9eae89 Almost implement instance merging for sprites (validation error), rebase
fix
2021-04-22 18:59:45 -04:00
Imbris
cfd8606b04 Start sprite refactor 2021-04-22 18:59:45 -04:00
João Capucho
d1bc159a61 Fix winit returning wrong window size
It seems like waiting for wgpu to create a instance is enough to make
winit return the correct window size
2021-04-22 18:59:45 -04:00
João Capucho
ddaf2e3875 Fix scissor panic
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-04-22 18:59:45 -04:00
João Capucho
afca781b2f Update to the most recent wgpu 2021-04-22 18:59:45 -04:00
Imbris
8d5d4223d0 Fix texture sampling syntax 2021-04-22 18:59:45 -04:00
Imbris
7c502c26bf Switch to index rendering for most quad-like things 2021-04-22 18:59:45 -04:00
Imbris
1f8fde077a Small fixes to gpu profiling 2021-04-22 18:59:45 -04:00
Imbris
2f1695e00c Update to the latest wgpu git 2021-04-22 18:59:45 -04:00
Imbris
139b1f3d95 Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes 2021-04-22 18:59:45 -04:00
Imbris
0b2702878b WIP gpu timer thing (not for squashing!) 2021-04-22 18:59:45 -04:00
Imbris
4aa10a95e0 Update wgpu to fix segfault 2021-04-22 18:59:45 -04:00
Imbris
672d4e0cdd Fix char select shadows by clearing shadow textures 2021-04-22 18:59:45 -04:00
Imbris
85fa038796 Add setting for the PresentMode 2021-04-22 18:59:45 -04:00
Imbris
6ebbbd408d fix nametag depth culling as well as a tweak to maybe make the main menu not flicker on intel iGPU 2021-04-22 18:59:45 -04:00
Imbris
3b1ea02bc5 Fix lod alt texture filtering 2021-04-22 18:59:45 -04:00
Imbris
85c7f5c9c9 Resolve validation errors with trying to use unsupported filtering modes 2021-04-22 18:59:45 -04:00
Joshua Barretto
6228430002 Corrected shadow cull mode 2021-04-22 18:59:45 -04:00
Imbris
a1ab844834 Update to latest wgpu git (around 0.7), temporarily disable shader validation due to naga bug, rebase fixes!! 2021-04-22 18:59:45 -04:00