xash3d-ffi provides all of the definitions necessary to interoperate with
Xash3D FWGS engine. Bindings are generated statically
to minimize build dependencies.
std- links to the standard library.libm- add additional methods to vectors in no-std environments.glam- use vector types from this crate.
all(enabled by default) - bindings to all supported DLLs.client- bindings to a client DLL.server- bindings to a server DLL.menu- bindings to a menu DLL.render- bindings to a render DLL.
Add the following to your Cargo.toml:
[dependencies]
xash3d-ffi = "0.1"The minimum supported Rust toolchain version is currently Rust 1.68.
bindgen-cli is required.
To manually generate bindings run generate.sh [target]. The default target is
i686-unknown-linux-gnu.
cd xash3d-ffi
./generate.sh