chore(workspace): add SPDX identifiers to source files

This commit is contained in:
Serkyo 2026-05-17 21:06:39 +02:00
parent d205575659
commit cd7ab3a3c5
20 changed files with 40 additions and 0 deletions

View file

@ -1 +1,3 @@
-- SPDX-License-Identifier: AGPL-3.0-only
-- Core engine scripts -- Core engine scripts

View file

@ -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

View file

@ -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};

View file

@ -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;

View file

@ -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;

View file

@ -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};

View file

@ -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.

View file

@ -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};

View file

@ -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;

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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};

View file

@ -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

View file

@ -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

View file

@ -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::{

View file

@ -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};

View file

@ -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

View file

@ -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};

View file

@ -1 +1,3 @@
-- SPDX-License-Identifier: AGPL-3.0-only
-- Example mod -- Example mod