summaryrefslogtreecommitdiff
path: root/shared/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-07 21:28:45 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-07 21:28:45 +0100
commit745c0ff9cfb27381114ce832baed3b57a2e4b4f6 (patch)
treecfeeee0323b3e8574b7ed5c9fdd9372e946a56ac /shared/src
parent3d156d75de3852dd36d0eeda33b17a2b6f10aa4a (diff)
downloadweareserver-745c0ff9cfb27381114ce832baed3b57a2e4b4f6.tar
weareserver-745c0ff9cfb27381114ce832baed3b57a2e4b4f6.tar.bz2
weareserver-745c0ff9cfb27381114ce832baed3b57a2e4b4f6.tar.zst
license notice
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/lib.rs16
-rw-r--r--shared/src/packets.rs16
-rw-r--r--shared/src/resources.rs16
-rw-r--r--shared/src/store.rs16
-rw-r--r--shared/src/tree.rs16
5 files changed, 80 insertions, 0 deletions
diff --git a/shared/src/lib.rs b/shared/src/lib.rs
index b1da612..d198283 100644
--- a/shared/src/lib.rs
+++ b/shared/src/lib.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, array_try_map)]
pub mod packets;
diff --git a/shared/src/packets.rs b/shared/src/packets.rs
index 07c4345..9cecbe2 100644
--- a/shared/src/packets.rs
+++ b/shared/src/packets.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 anyhow::{Result, bail};
use glam::Vec3A;
use std::{
diff --git a/shared/src/resources.rs b/shared/src/resources.rs
index d0094fa..be34b21 100644
--- a/shared/src/resources.rs
+++ b/shared/src/resources.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::packets::{ReadWrite, Resource};
use anyhow::Result;
use glam::{Affine3A, Vec3A};
diff --git a/shared/src/store.rs b/shared/src/store.rs
index 702ed87..38402fc 100644
--- a/shared/src/store.rs
+++ b/shared/src/store.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::packets::Resource;
use anyhow::Result;
use redb::{Database, TableDefinition};
diff --git a/shared/src/tree.rs b/shared/src/tree.rs
index 2ecfa3d..e2c8250 100644
--- a/shared/src/tree.rs
+++ b/shared/src/tree.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::packets::{Object, Packet, Resource};
use glam::Vec3A;
use std::collections::HashMap;