Crate quake3_native_vm
source ·Expand description
Native Rust libs as Quake 3 modules
The id Tech 3 engine
can load its game modules (qagame
, cgame
and ui
) both as
QVM (Quake Virtual Machine, see quake3-qvm
crate) files and
as shared libraries.
This crate enables you to write such a native module with Rust code.
Take a look at native_vm!
to get started.
Modules
- Foreign function interface
- Code for the
qagame
Quake 3 module
Macros
- Create a NativeVM impl for the id Quake 3
qagame
module - Create required
extern "C" fn
s to load aimpl NativeVM
as shared library
Constants
Traits
- Raw FFI interface for shared library modules
Type Definitions
- Module initialization function
- Engine’s syscall function type
- Module exports dispatcher function