aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-15 04:00:41 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-15 04:00:41 +0200
commita2c498464ff09969bc6a98e475b82d44002fabeb (patch)
tree3c2f023fefe151955d485759682808efa7ac5302 /client
parent07746a6c39bbb2ec8d933378fdc6c47e5aab8b4f (diff)
downloadhurrycurry-a2c498464ff09969bc6a98e475b82d44002fabeb.tar
hurrycurry-a2c498464ff09969bc6a98e475b82d44002fabeb.tar.bz2
hurrycurry-a2c498464ff09969bc6a98e475b82d44002fabeb.tar.zst
cleanup and remove specs dir
Diffstat (limited to 'client')
-rw-r--r--client/game.gd2
-rw-r--r--client/menu/blur_setup.gd15
-rw-r--r--client/menu/rating/rating.gd18
3 files changed, 33 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd
index d3d8ab13..f96398b2 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -108,7 +108,7 @@ func _ready():
mp.set_tile.connect(set_tile)
mp.remove_tile.connect(func (pos): map.clear_tile(pos))
- mp.movement.connect(func(player: int, pos: Vector2, rot: float, boost: bool, dir: Vector2):
+ mp.movement.connect(func(player: int, pos: Vector2, rot: float, boost: bool, _dir: Vector2):
var player_instance: Player = players[player]
player_instance.update_position(pos, rot, boost)
if player == player_id:
diff --git a/client/menu/blur_setup.gd b/client/menu/blur_setup.gd
index f5363003..97729074 100644
--- a/client/menu/blur_setup.gd
+++ b/client/menu/blur_setup.gd
@@ -1,3 +1,18 @@
+# Hurry Curry! - a game about cooking
+# 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
+# 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/>.
+#
extends Control
func _ready():
diff --git a/client/menu/rating/rating.gd b/client/menu/rating/rating.gd
index a3b2261d..1669e5fc 100644
--- a/client/menu/rating/rating.gd
+++ b/client/menu/rating/rating.gd
@@ -1,3 +1,19 @@
+# Hurry Curry! - a game about cooking
+# Copyright 2024 tpart
+# 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/>.
+#
extends Menu
const PARTICLE_AMOUNTS = [0, 6, 32, 128]
@@ -12,7 +28,7 @@ func _ready():
super()
show_rating(data[0], data[1])
-func _process(delta):
+func _process(_delta):
particles.emission_rect_extents = get_viewport_rect().size * Vector2(0.5, 0.5)
func show_rating(stars_: int, points: int):