chore(workspace): add SPDX identifiers to source files
This commit is contained in:
parent
d205575659
commit
cd7ab3a3c5
|
|
@ -1 +1,3 @@
|
||||||
|
-- SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
-- Core engine scripts
|
-- Core engine scripts
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Main entry point for the Project Catalyst client.
|
//! Main entry point for the Project Catalyst client.
|
||||||
//!
|
//!
|
||||||
//! This crate handles window creation, input processing, and drives the
|
//! This crate handles window creation, input processing, and drives the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use renderer::mesh::Vertex;
|
use renderer::mesh::Vertex;
|
||||||
use shared::world::{BlockId, CHUNK_SIZE, Chunk};
|
use shared::world::{BlockId, CHUNK_SIZE, Chunk};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Logic for selecting physical devices and creating logical devices.
|
//! Logic for selecting physical devices and creating logical devices.
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Error types for the renderer crate.
|
//! Error types for the renderer crate.
|
||||||
|
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
use ash::{Entry, Instance, ext, vk};
|
use ash::{Entry, Instance, ext, vk};
|
||||||
use std::ffi::{CStr, c_char};
|
use std::ffi::{CStr, c_char};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
#![allow(unsafe_code)]
|
#![allow(unsafe_code)]
|
||||||
|
|
||||||
//! Voxel rendering engine using Vulkan 1.3 and dynamic rendering.
|
//! Voxel rendering engine using Vulkan 1.3 and dynamic rendering.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Vertex data structures and layout descriptions.
|
//! Vertex data structures and layout descriptions.
|
||||||
|
|
||||||
use bytemuck::{Pod, Zeroable};
|
use bytemuck::{Pod, Zeroable};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Graphics pipeline creation and shader management.
|
//! Graphics pipeline creation and shader management.
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use crate::create_gpu_buffer;
|
use crate::create_gpu_buffer;
|
||||||
use crate::sync::SyncPrimitives;
|
use crate::sync::SyncPrimitives;
|
||||||
use crate::{error::RendererError, mesh::Vertex};
|
use crate::{error::RendererError, mesh::Vertex};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
use ash::{Entry, Instance, khr, vk};
|
use ash::{Entry, Instance, khr, vk};
|
||||||
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
|
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
use ash::{Device, Instance, khr, vk};
|
use ash::{Device, Instance, khr, vk};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
use crate::error::RendererError;
|
use crate::error::RendererError;
|
||||||
use ash::{Device, vk};
|
use ash::{Device, vk};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Lua scripting and modding support for Project Catalyst.
|
//! Lua scripting and modding support for Project Catalyst.
|
||||||
//!
|
//!
|
||||||
//! This crate handles the integration with Lua (via `mlua`) and provides
|
//! This crate handles the integration with Lua (via `mlua`) and provides
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Dedicated server for Project Catalyst.
|
//! Dedicated server for Project Catalyst.
|
||||||
//!
|
//!
|
||||||
//! The server handles the authoritative game simulation, including world
|
//! The server handles the authoritative game simulation, including world
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Authoritative chunk storage and generation logic for the server.
|
//! Authoritative chunk storage and generation logic for the server.
|
||||||
|
|
||||||
use shared::{
|
use shared::{
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Procedural generation logic for the voxel world.
|
//! Procedural generation logic for the voxel world.
|
||||||
|
|
||||||
use noise::{NoiseFn, Perlin};
|
use noise::{NoiseFn, Perlin};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Shared types and logic for Project Catalyst.
|
//! Shared types and logic for Project Catalyst.
|
||||||
//!
|
//!
|
||||||
//! This crate contains data structures and constants that are used by both
|
//! This crate contains data structures and constants that are used by both
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
//! Core data structures representing the voxel world.
|
//! Core data structures representing the voxel world.
|
||||||
|
|
||||||
use bytemuck::{Pod, Zeroable};
|
use bytemuck::{Pod, Zeroable};
|
||||||
|
|
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
|
-- SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
-- Example mod
|
-- Example mod
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue