You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
Rust
59 lines
1.5 KiB
Rust
#![feature(stmt_expr_attributes)]
|
|
#![allow(ambiguous_glob_reexports)]
|
|
#![allow(clippy::type_complexity)]
|
|
|
|
mod base_game;
|
|
mod debug;
|
|
mod loading;
|
|
mod parallax;
|
|
mod scheduling;
|
|
mod ui;
|
|
mod version;
|
|
|
|
// Rust stdlib
|
|
pub use core::time::Duration;
|
|
pub use std::{collections::VecDeque, f32::consts::PI, fmt};
|
|
|
|
// Community libraries
|
|
pub use bevy::{
|
|
asset::{
|
|
AssetLoader, AssetMetaCheck, LoadContext, LoadState, LoadedFolder, RenderAssetUsages,
|
|
io::Reader, uuid_handle,
|
|
},
|
|
camera::{primitives::*, visibility::*, *},
|
|
color::palettes::css::*,
|
|
feathers::controls::*,
|
|
feathers::*,
|
|
gizmos::{aabb::AabbGizmoPlugin, light::LightGizmoPlugin},
|
|
input::{
|
|
ButtonState,
|
|
common_conditions::{input_just_pressed, input_just_released, input_pressed},
|
|
keyboard::KeyboardInput,
|
|
mouse::MouseMotion,
|
|
mouse::{MouseScrollUnit, MouseWheel},
|
|
},
|
|
math::FloatOrd,
|
|
pbr::wireframe::{WireframeConfig, WireframePlugin},
|
|
platform::{collections::HashMap, hash::RandomState},
|
|
prelude::{State, *},
|
|
reflect::TypePath,
|
|
render::render_resource::{Extent3d, TextureDimension, TextureFormat, TextureUsages},
|
|
sprite_render::*,
|
|
time::common_conditions::*,
|
|
ui::*,
|
|
ui_widgets::{Button, *},
|
|
window::{WindowResized, WindowResolution},
|
|
};
|
|
pub use itertools::Itertools;
|
|
pub use serde::Deserialize;
|
|
pub use thiserror::Error;
|
|
|
|
// Internal modules
|
|
pub use base_game::*;
|
|
pub use debug::*;
|
|
pub use loading::*;
|
|
pub use parallax::*;
|
|
pub use scheduling::*;
|
|
pub use ui::*;
|
|
pub use version::*;
|