mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
b499cf2c58
Included in the initial implementation is an entity browser which lists all entities in the client ECS, an entity component viewer which shows select components belonging to the selected entity including character state information, and a simple frame time graph. This MR also includes an extraction of the animation hot reloading code which has been reused for egui to allow for hot-reloading of the egui interface to allow rapid development of the UI with realtime feedback upon save as is the case with aninmations. This is feature-gated behind the `hot-egui` feature which is not enabled by default due to the extra startup time that it adds.
15 lines
748 B
Rust
15 lines
748 B
Rust
//! This crate hacks around the inability to dynamically specify the
|
|
//! `crate-type` for cargo to build.
|
|
//!
|
|
//! For more details on the issue this is a decent starting point: https://github.com/rust-lang/cargo/pull/8789
|
|
//!
|
|
//! This crate avoids use building the dynamic lib when it isn't needed and the
|
|
//! same with the non dynamic build. Additionally, this allows compilation to
|
|
//! start earlier since a cdylib doesn't pipeline with it's dependencies.
|
|
//!
|
|
//! NOTE: the `be-dyn-lib` feature must be used for this crate to be useful, it
|
|
//! is not on by default because this causes cargo to switch the feature on in
|
|
//! the anim crate when compiling the static lib into voxygen.
|
|
#[cfg(feature = "be-dyn-lib")]
|
|
pub use veloren_voxygen_anim::*;
|