summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-08 14:59:48 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-08 14:59:48 +0200
commitb5bd610022dbd4348467af6c1be2135c1dc48f99 (patch)
tree448338a29c6ae7e97653744811f480a350551f75 /server/src
parente5f913706a2c87993bbaf793e9640cfd154db421 (diff)
downloadhurrycurry-b5bd610022dbd4348467af6c1be2135c1dc48f99.tar
hurrycurry-b5bd610022dbd4348467af6c1be2135c1dc48f99.tar.bz2
hurrycurry-b5bd610022dbd4348467af6c1be2135c1dc48f99.tar.zst
[skip-notice] Update license notice everywhere.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/bin/graph.rs2
-rw-r--r--server/src/customer/mod.rs2
-rw-r--r--server/src/customer/movement.rs3
-rw-r--r--server/src/customer/pathfinding.rs2
-rw-r--r--server/src/data.rs3
-rw-r--r--server/src/entity/conveyor.rs17
-rw-r--r--server/src/entity/mod.rs17
-rw-r--r--server/src/game.rs2
-rw-r--r--server/src/interaction.rs2
-rw-r--r--server/src/lib.rs2
-rw-r--r--server/src/main.rs2
-rw-r--r--server/src/protocol.rs2
-rw-r--r--server/src/state.rs17
13 files changed, 63 insertions, 10 deletions
diff --git a/server/src/bin/graph.rs b/server/src/bin/graph.rs
index 38b081a9..8776920f 100644
--- a/server/src/bin/graph.rs
+++ b/server/src/bin/graph.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs
index c29b4852..191f9e3b 100644
--- a/server/src/customer/mod.rs
+++ b/server/src/customer/mod.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs
index bf2752f1..ca7afdbe 100644
--- a/server/src/customer/movement.rs
+++ b/server/src/customer/movement.rs
@@ -1,6 +1,7 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
+ Copyright 2024 tpart
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
diff --git a/server/src/customer/pathfinding.rs b/server/src/customer/pathfinding.rs
index 577b942c..743515b9 100644
--- a/server/src/customer/pathfinding.rs
+++ b/server/src/customer/pathfinding.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/data.rs b/server/src/data.rs
index 258057c0..bca7f543 100644
--- a/server/src/data.rs
+++ b/server/src/data.rs
@@ -1,6 +1,7 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
+ Copyright 2024 nokoe
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
diff --git a/server/src/entity/conveyor.rs b/server/src/entity/conveyor.rs
index 48d0d154..0a73b55c 100644
--- a/server/src/entity/conveyor.rs
+++ b/server/src/entity/conveyor.rs
@@ -1,3 +1,20 @@
+/*
+ Hurry Curry! - 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 <https://www.gnu.org/licenses/>.
+
+*/
use super::EntityT;
use crate::{
data::Gamedata,
diff --git a/server/src/entity/mod.rs b/server/src/entity/mod.rs
index d286d3bb..5cb3ed0f 100644
--- a/server/src/entity/mod.rs
+++ b/server/src/entity/mod.rs
@@ -1,3 +1,20 @@
+/*
+ Hurry Curry! - 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 <https://www.gnu.org/licenses/>.
+
+*/
pub mod conveyor;
use crate::{data::Gamedata, game::Tile, protocol::PacketC};
use anyhow::{anyhow, Result};
diff --git a/server/src/game.rs b/server/src/game.rs
index e8d307db..851d485c 100644
--- a/server/src/game.rs
+++ b/server/src/game.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/interaction.rs b/server/src/interaction.rs
index bca480f5..25b96813 100644
--- a/server/src/interaction.rs
+++ b/server/src/interaction.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/lib.rs b/server/src/lib.rs
index 96fb954a..a6d29c03 100644
--- a/server/src/lib.rs
+++ b/server/src/lib.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/main.rs b/server/src/main.rs
index d17dedf8..7f7fe381 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/protocol.rs b/server/src/protocol.rs
index 49171942..fc8abda4 100644
--- a/server/src/protocol.rs
+++ b/server/src/protocol.rs
@@ -1,5 +1,5 @@
/*
- Undercooked - a game about cooking
+ Hurry Curry! - a game about cooking
Copyright 2024 metamuffin
This program is free software: you can redistribute it and/or modify
diff --git a/server/src/state.rs b/server/src/state.rs
index d2470983..72d3e911 100644
--- a/server/src/state.rs
+++ b/server/src/state.rs
@@ -1,3 +1,20 @@
+/*
+ Hurry Curry! - 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 <https://www.gnu.org/licenses/>.
+
+*/
use std::time::Duration;
use crate::{