nightshade-editor 0.14.2

Interactive map editor for the Nightshade game engine
mod components;
mod resources;

pub use components::*;
pub use resources::*;

use crate::editor_scene::EditorScene;
use crate::project::ProjectState;
use crate::scene_writeback::WritebackState;
use crate::systems::input::ShortcutState;
use crate::systems::perf_test::AutoState;
use crate::systems::project_io::ProjectIoState;
use crate::systems::retained_ui::{UiHandles, UiInteraction};
use crate::undo::{GizmoDragTracker, UndoHistory};
use nightshade::prelude::freecs;

freecs::ecs! {
    EditorWorld {
        loaded_asset: LoadedAsset => LOADED_ASSET,
    }
    Tags {
    }
    Events {
    }
    Resources {
        loading: LoadingState,
        camera: CameraState,
        sun: SunState,
        rotation: RotationState,
        browsers: BrowserState,
        ui: UiState,
        ui_handles: UiHandles,
        ui_interaction: UiInteraction,
        picking: PickingState,
        perf_test: AutoState,
        project: ProjectState,
        editor_scene: EditorScene,
        writeback_state: WritebackState,
        project_io: ProjectIoState,
        shortcuts: ShortcutState,
        undo: UndoHistory,
        gizmo_drag: GizmoDragTracker,
        light_gizmos: LightGizmoState,
        skeleton_debug: SkeletonDebugState,
        snap: SnapState,
        mode: ModeState,
        grab: GrabState,
        prefab_instance_links: PrefabInstanceLinks,
    }
}