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