pxl8/pxl8d/src/lib.rs

41 lines
743 B
Rust
Raw Normal View History

2026-01-25 09:26:30 -06:00
#![no_std]
extern crate alloc;
mod allocator;
pub mod bsp;
pub mod chunk;
pub mod log;
pub mod math;
pub mod procgen;
pub mod sim;
pub mod transport;
pub mod voxel;
pub mod world;
use core::panic::PanicInfo;
#[global_allocator]
static ALLOCATOR: allocator::Allocator = allocator::Allocator;
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
}
#[allow(dead_code, non_camel_case_types, non_snake_case, non_upper_case_globals)]
2026-01-31 09:31:17 -06:00
pub mod pxl8 {
include!(concat!(env!("OUT_DIR"), "/pxl8.rs"));
2026-01-25 09:26:30 -06:00
}
pub use bsp::*;
pub use chunk::*;
pub use chunk::stream::*;
pub use math::*;
pub use procgen::{ProcgenParams, generate, generate_rooms};
2026-01-31 09:31:17 -06:00
pub use pxl8::*;
2026-01-25 09:26:30 -06:00
pub use sim::*;
pub use transport::*;
pub use voxel::*;
pub use world::*;