Commit Graph

84 Commits

Author SHA1 Message Date
94f9995bff Update wgpu, cleanup a bit of commented shader code, improve sprite LOD selection code 2021-05-30 11:51:06 -04:00
254c2fb868 Use profling to get spans from wgpu, update wpgu & its deps for various
fixes
2021-05-30 11:49:41 -04:00
f869065c9d Update wgpu to fix dx11 issue 2021-05-30 11:49:41 -04:00
1a565ccc3c Update wgpu to latest version and improve error formating 2021-05-30 11:49:41 -04:00
8e87047d9e Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue 2021-05-30 11:49:41 -04:00
7343286a3c Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc) 2021-05-30 11:49:41 -04:00
97359042db Update wgpu 2021-05-30 11:49:41 -04:00
e40702c083 Fix scissor panic
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-05-30 11:49:41 -04:00
3da110628a Update to the most recent wgpu 2021-05-30 11:49:40 -04:00
9d076d3a89 Update to the latest wgpu git 2021-05-30 11:49:40 -04:00
d2e2580df4 Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes 2021-05-30 11:49:40 -04:00
72e6fe89df Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
vek functions for left, right, up, down, forward_rh, forward_lh
2021-05-30 11:49:40 -04:00
0394a9afce Reenable non-player figure drawing 2021-05-30 11:49:40 -04:00
d1222daa76 Update dependencies 2021-05-30 11:49:40 -04:00
08b787e049 Make compile through various changes, update wgpu to latest git 2021-05-30 11:49:40 -04:00
735e8ab4ec Extract common/src/assets.rs to own crate
This gives us ability to use assets-related code in i18n without
depending on whole veloren-common
2021-05-09 13:12:26 +03:00
5573fc33b9 Extract voxygen/src/i18n.rs into own crate
- New crate (i18n), currently under voxygen directory
- Updated CI to run localization test from i18n, not from voxygen
2021-05-09 13:12:26 +03:00
57cddb3ee3 Extract localization test to binary
- Implement `--all` option
- Implement `--lang <code>` option
- Implement `--verify` command
2021-05-09 13:12:25 +03:00
685f4971ac build(nix): switch to crate2nix 2021-04-27 05:18:12 +03:00
1af4a04231 Revert "Merge branch 'revert-b10718c5' into 'master'"
This reverts merge request !2172
2021-04-21 17:10:13 +00:00
fd672980c4 Revert "Merge branch 'imbris/agent-opt' into 'master'"
This reverts merge request !2024
2021-04-21 14:10:06 +00:00
26222a0a2d Rename common-sys to common-systems and rearrange common-state slightly 2021-04-20 15:25:04 -04:00
5862920f32 seperate sys/state 2021-04-20 01:30:17 +02:00
09a6d708b5 build(nix): make voxygen debug package and app defaults 2021-04-17 21:37:59 +03:00
62844d816a build(nix): switch to nix-cargo-integration 2021-04-17 21:37:57 +03:00
30e34aad44 Use separate crate to compile anim as a cdylib to avoid compiling both all the time and improve voxygen pipelining 2021-04-16 21:58:59 -04:00
1de94a9979 * Replaced diesel with rusqlite and refinery
* Added "migration of migrations" to transfer the data from the __diesel_schema_migrations table to the refinery_schema_history table
* Removed all down migrations as refinery does not support down migrations
* Changed all diesel up migrations to refinery naming format
* Added --sql-log-mode parameter to veloren-server-cli to allow SQL tracing and profiling
* Added /disconnect_all_players admin command
* Added disconnectall CLI command
* Fixes for several potential persistence-related race conditions
2021-04-13 22:05:47 +00:00
1bdf3b13a8 Mesh sprites in the background.
This makes the delay afetr selecting a character before logging into the
game much shorter, in the common case.  It still doesn't handle things
perfectly (it blocks creating Terrain::new if it's not finished, and it
could be faster due to working in the background), but it's still a lot
better than it was before.

To improve sprite meshing performance, we also apply the terrain
flat_get optimizations to sprites.  Though I didn't initially know how
much of an impact it would have, it feels significantly faster to me,
though being able to parallelize it would be ideal.
2021-04-10 17:51:42 +02:00
ccb78eeb5c move tracing code to own crate 2021-03-30 16:35:36 +02:00
1a7fc900e8 Turn off incremental compilation to avoid fingerprints bug 2021-03-28 15:49:58 -04:00
3d017f6a35 reduce benches to O2 and enable incremental 2021-03-21 23:25:02 +01:00
e001b2cac2 move botclient to client/src/bin/bot
start it with:
 - (cd client && RUST_BACKTRACE=full RUST_LOG=trace VELOREN_USERDATA_STRATEGY=executable cargo run --bin bot --features="bin_bot")
2021-03-12 09:28:24 +01:00
7301182695 Draft of botclient. 2021-03-12 09:28:21 +01:00
4ebfbdde0f Move Specs code to own common_ecs create, put tracy and macros into common_base 2021-03-09 00:54:01 +01:00
2dd7089e52 Bring vek up to date so we can bump rustc (hopefully). 2021-03-04 05:46:59 +01:00
9884019963 COMPLETE REDESIGN of network crate
- Implementing a async non-io protocol crate
    a) no tokio / no channels
    b) I/O is based on abstraction Sink/Drain
    c) different Protocols can have a different Drain Type
       This allow MPSC to send its content without splitting up messages at all!
       It allows UDP to have internal extra frames to care for security
       It allows better abstraction for tests
       Allows benchmarks on the mpsc variant
       Custom Handshakes to allow sth like Quic protocol easily
 - reduce the participant managers to 4: channel creations, send, recv and shutdown.
   keeping the `mut data` in one manager removes the need for all RwLocks.
   reducing complexity and parallel access problems
 - more strategic participant shutdown. first send. then wait for remote side to notice recv stop, then remote side will stop send, then local side can stop recv.
 - metrics are internally abstracted to fit protocol and network layer
 - in this commit network/protocol tests work and network tests work someway, veloren compiles but does not work
 - handshake compatible to async_std
2021-02-17 12:39:47 +01:00
fc96fd780b Moved plugin API to Uid instead of usize for entity IDs, hello plugin to an example 2020-12-13 23:08:15 +00:00
f8c8e342e6 Moved common networking code to common/net, clippy fixes 2020-12-13 17:23:45 +00:00
780f54ac90 Reorganised plugin crates 2020-12-13 17:15:32 +00:00
ee7fb990c3 Added plugin system
Added a plugin system based on wasmer-runtime
 - Support Action (Print handled)
 - Support Events (PluginLoadEvent handled)
2020-12-13 17:14:37 +00:00
12b29ea174 Began work on plugin API and plugin loading 2020-12-13 17:13:57 +00:00
eba3532386 move tools and chat-cli in src/bin and examples 2020-12-12 02:12:00 +01:00
d1431d734a Merge branch 'imbris/update-winit' into 'master'
Don't drop the wayland clipboard

Closes #855

See merge request veloren/veloren!1576
2020-12-02 01:33:29 +00:00
d7f506cf71 Don't drop wayland clipboard 2020-12-01 19:35:32 -05:00
bf136a62c5 Merge branch 'xMAC94x/veloren_anim_move' into 'master'
move anim code from voxygen/src/anim to voxygen/anim

See merge request veloren/veloren!1585
2020-12-01 20:01:26 +00:00
e5e255cbd3 move anim code from voxygen/src/anim to voxygen/anim 2020-12-01 20:20:01 +01:00
e398cca53c move common_state into common_sys 2020-12-01 13:46:28 +01:00
add7922653 Move Systems out of common into common_sys
This requires to move `State` into a own crate called `common_state` which depends on `common` and `common_sys`
2020-12-01 13:44:07 +01:00
d2166fed3d Make iced ui use scale from the settings 2020-11-11 03:02:22 -05:00
469b048de9 Update iced 2020-11-11 03:02:22 -05:00