diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/camera.rs | 16 | ||||
-rw-r--r-- | client/src/download.rs | 16 | ||||
-rw-r--r-- | client/src/main.rs | 16 | ||||
-rw-r--r-- | client/src/network.rs | 16 | ||||
-rw-r--r-- | client/src/renderer.rs | 16 | ||||
-rw-r--r-- | client/src/scene_prepare.rs | 16 | ||||
-rw-r--r-- | client/src/scene_render.rs | 16 | ||||
-rw-r--r-- | client/src/shader.wgsl | 14 | ||||
-rw-r--r-- | client/src/state.rs | 16 | ||||
-rw-r--r-- | client/src/ui.rs | 16 | ||||
-rw-r--r-- | client/src/window.rs | 16 |
11 files changed, 174 insertions, 0 deletions
diff --git a/client/src/camera.rs b/client/src/camera.rs index 1471a48..f40e073 100644 --- a/client/src/camera.rs +++ b/client/src/camera.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use glam::{EulerRot, Mat3, Mat4, Vec2, Vec3}; pub struct Camera { diff --git a/client/src/download.rs b/client/src/download.rs index 48c38dc..95f9cc7 100644 --- a/client/src/download.rs +++ b/client/src/download.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use crate::network::Network; use anyhow::Result; use log::debug; diff --git a/client/src/main.rs b/client/src/main.rs index 48d9dcb..8cf6658 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ #![feature(iter_array_chunks)] pub mod download; pub mod network; diff --git a/client/src/network.rs b/client/src/network.rs index e54ecf7..e754c41 100644 --- a/client/src/network.rs +++ b/client/src/network.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use std::{ io::{BufReader, BufWriter, Write}, net::TcpStream, diff --git a/client/src/renderer.rs b/client/src/renderer.rs index 3e06508..b1ff227 100644 --- a/client/src/renderer.rs +++ b/client/src/renderer.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use crate::{camera::Camera, scene_prepare::ScenePreparer, scene_render::ScenePipeline}; use anyhow::{Result, anyhow}; use log::{info, warn}; diff --git a/client/src/scene_prepare.rs b/client/src/scene_prepare.rs index e58e77a..6e4cb51 100644 --- a/client/src/scene_prepare.rs +++ b/client/src/scene_prepare.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use crate::download::Downloader; use anyhow::{Context, Result}; use image::ImageReader; diff --git a/client/src/scene_render.rs b/client/src/scene_render.rs index 7e634df..d619f3d 100644 --- a/client/src/scene_render.rs +++ b/client/src/scene_render.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use glam::{EulerRot, Mat3, Mat4}; use std::sync::Arc; use weareshared::{packets::Resource, tree::SceneTree}; diff --git a/client/src/shader.wgsl b/client/src/shader.wgsl index b40bf57..89c9d70 100644 --- a/client/src/shader.wgsl +++ b/client/src/shader.wgsl @@ -1,3 +1,17 @@ +// wearechat - generic multiplayer game with voip +// Copyright (C) 2025 metamuffin +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, version 3 of the License only. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. struct VertexIn { @location(0) x: f32, diff --git a/client/src/state.rs b/client/src/state.rs index beac614..5faa778 100644 --- a/client/src/state.rs +++ b/client/src/state.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use crate::{camera::Camera, download::Downloader, network::Network, renderer::Renderer}; use anyhow::{Context, Result}; use glam::{Vec2, Vec3}; diff --git a/client/src/ui.rs b/client/src/ui.rs index 2fc5dd7..b99ae19 100644 --- a/client/src/ui.rs +++ b/client/src/ui.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use egui::{Context, epaint::Primitive}; use wgpu::{Buffer, BufferDescriptor, BufferUsages, Device, Queue}; diff --git a/client/src/window.rs b/client/src/window.rs index fb9f375..72658e5 100644 --- a/client/src/window.rs +++ b/client/src/window.rs @@ -1,3 +1,19 @@ +/* + wearechat - generic multiplayer game with voip + Copyright (C) 2025 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ use crate::state::State; use glam::Vec3; use log::{info, warn}; |