#[macro_use]
extern crate serde_derive;
extern crate serde_json;
#[macro_use]
extern crate vulkano;
extern crate cgmath;
extern crate evmap;
extern crate game_kernel_utils;
extern crate parking_lot;
extern crate toml;
#[macro_use]
extern crate game_kernel_ecs;
extern crate downcast_rs;
extern crate game_kernel_ecs_derive;
#[macro_use]
extern crate game_kernel_logger;
extern crate game_kernel_settings;
extern crate game_kernel_vfs;
#[macro_use]
extern crate paste;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate ruwren;
extern crate winit;
#[macro_use]
extern crate imgui;
extern crate imgui_vulkano_renderer_unsafe;
extern crate imgui_winit_support;
pub mod game_kernel {
pub mod core_systems;
pub mod subsystems;
pub mod wren_scripting;
pub type MainRenderer = subsystems::video::renderer::Renderer<winit::window::Window>;
pub mod ecs {
pub use game_kernel_ecs::ecs::{
component::{Component, ComponentCreationError, ComponentId, COMPONENT_FACTORY},
system::{System, SystemKey, SystemManager},
views,
views::View,
AddEntity, EntitId, World,
};
pub use game_kernel_ecs_derive::*;
}
pub mod engine_components {
pub use super::core_systems::register_components;
pub use super::core_systems::{
base::transform::TransformComponent, camera_system::CameraComponent,
light::LightComponent, static_mesh::StaticMeshComponent,
};
}
}
pub use game_kernel_settings::settings::Config;
pub use game_kernel::core_systems::{
base::transform::TransformComponent, camera_system::*, light::*, renderer::*, static_mesh::*,
};
pub use game_kernel::subsystems::video::renderer;
pub use game_kernel::subsystems::video::renderer::{
camera::Camera, material::Material, mesh::Mesh, model::Model, ui_module::DummyUiModule,
ui_module::UiModule,
};
pub use game_kernel::subsystems::input;
pub use game_kernel_logger::logger;
pub fn game_kernel_main() {}