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
qagameQuake 3 module
Macros
- Create a NativeVM impl for the id Quake 3
qagamemodule - Create required
extern "C" fns to load aimpl NativeVMas 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