1#![cfg_attr(feature = "no_std", no_std)]
2#![allow(non_snake_case)]
3#![allow(non_camel_case_types)]
4#![allow(non_upper_case_globals)]
5#![doc = include_str!("../README.md")]
6
7#[cfg(feature = "no_std")]
8extern crate alloc;
9
10mod bindings;
11mod bitmap;
12mod chat;
13mod command;
14mod constants;
15mod core;
16mod drawer_2d;
17mod entity;
18mod event;
19mod graphics;
20mod input;
21mod inventory;
22mod math;
23mod model;
24mod packed_col;
25mod particle;
26pub mod screen;
27mod std_types;
28mod string;
29mod vectors;
30mod world;
31
32pub use crate::{
33 bindings::*, bitmap::*, chat::*, command::*, constants::*, core::*, drawer_2d::*, entity::*,
34 event::*, graphics::*, input::*, inventory::*, math::*, model::*, packed_col::*, particle::*,
35 screen::OwnedScreen, string::*, vectors::*, world::*,
36};
37
38#[cfg(target_os = "windows")]
44#[test]
45fn test_dllimport_linking() {
46 unsafe {
47 println!("{:?}", ::core::ptr::addr_of!(Server) as *const _);
48 }
49}