Rename crate folders to remove raidillon prefix
This commit is contained in:
parent
176ea52ab0
commit
3458662cfc
29 changed files with 31 additions and 28 deletions
|
|
@ -1,35 +0,0 @@
|
|||
use raidillon_core::{Engine, Scene};
|
||||
use raidillon_platform::Platform;
|
||||
|
||||
#[cfg(feature = "glium")]
|
||||
use raidillon_glium::GliumPlatform;
|
||||
|
||||
fn main() {
|
||||
let mut engine = Engine::new();
|
||||
// Define systems
|
||||
// engine.system_manager.add_system("spawn_chunks".to_string(), ChunkSystem);
|
||||
// engine.system_manager.add_system("movement".to_string(), MovementSystem);
|
||||
|
||||
// Set up the scene
|
||||
let main_scene_id = "Main".to_owned();
|
||||
let mut main_scene = Scene::new(
|
||||
main_scene_id.clone(),
|
||||
None,
|
||||
);
|
||||
engine.scene_manager.add_scene(main_scene_id.clone(), main_scene);
|
||||
engine.scene_manager.set_active_scene(main_scene_id.clone());
|
||||
|
||||
#[cfg(feature = "glium")]
|
||||
{
|
||||
let mut platform = GliumPlatform::initialize(
|
||||
engine,
|
||||
"Raidillon".to_string(),
|
||||
1920,
|
||||
1080,
|
||||
);
|
||||
platform.run()
|
||||
};
|
||||
|
||||
#[cfg(not(any(feature = "glium")))]
|
||||
compile_error!("No platform feature enabled.");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue