From b972ea72c09a81187ad2e4f55711da6f8e9fdaff Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 23 Jun 2024 17:37:47 +0200 Subject: [skip-notice] Insert license notice EVERYWHERE!! --- server/src/bin/graph.rs | 17 +++++++++++++++++ server/src/customer/mod.rs | 17 +++++++++++++++++ server/src/customer/movement.rs | 17 +++++++++++++++++ server/src/customer/pathfinding.rs | 17 +++++++++++++++++ server/src/data.rs | 17 +++++++++++++++++ server/src/game.rs | 17 +++++++++++++++++ server/src/interaction.rs | 17 +++++++++++++++++ server/src/lib.rs | 17 +++++++++++++++++ server/src/main.rs | 17 +++++++++++++++++ server/src/protocol.rs | 17 +++++++++++++++++ 10 files changed, 170 insertions(+) (limited to 'server/src') diff --git a/server/src/bin/graph.rs b/server/src/bin/graph.rs index c52b1400..aa65e91a 100644 --- a/server/src/bin/graph.rs +++ b/server/src/bin/graph.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use undercooked::{ interaction::Recipe, load_gamedata, diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs index fd7dcc5c..16275227 100644 --- a/server/src/customer/mod.rs +++ b/server/src/customer/mod.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ pub mod movement; mod pathfinding; diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index c637a17f..b62149c9 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use crate::protocol::PacketS; use glam::{IVec2, Vec2}; use std::collections::HashSet; diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs index 26de9c51..5354407f 100644 --- a/server/src/customer/pathfinding.rs +++ b/server/src/customer/pathfinding.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use super::movement::MovementBase; use crate::protocol::PacketS; use glam::{IVec2, Vec2}; diff --git a/server/src/data.rs b/server/src/data.rs index 5fa1a009..2d942de4 100644 --- a/server/src/data.rs +++ b/server/src/data.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use crate::{ interaction::Recipe, protocol::{DemandIndex, ItemIndex, RecipeIndex, TileIndex}, diff --git a/server/src/game.rs b/server/src/game.rs index c240ea13..d5ef1765 100644 --- a/server/src/game.rs +++ b/server/src/game.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use crate::{ customer::movement::PLAYER_SPEED_LIMIT, data::Gamedata, diff --git a/server/src/interaction.rs b/server/src/interaction.rs index ef6d5bf7..126026d6 100644 --- a/server/src/interaction.rs +++ b/server/src/interaction.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use crate::{ data::Gamedata, game::{Involvement, Item, Player, Tile}, diff --git a/server/src/lib.rs b/server/src/lib.rs index 2f677d7c..ac0fbfa4 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use data::{build_gamedata, Gamedata}; use std::fs::File; diff --git a/server/src/main.rs b/server/src/main.rs index 5c718fb0..aeda9c2f 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use anyhow::Result; use futures_util::{SinkExt, StreamExt}; use log::{debug, info, warn}; diff --git a/server/src/protocol.rs b/server/src/protocol.rs index fb24f7cf..8690febf 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -1,3 +1,20 @@ +/* + Undercooked - a game about cooking + Copyright 2024 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 . + +*/ use crate::data::Gamedata; use glam::{IVec2, Vec2}; use serde::{Deserialize, Serialize}; -- cgit v1.2.3-70-g09d2