From a2c498464ff09969bc6a98e475b82d44002fabeb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 15 Aug 2024 04:00:41 +0200 Subject: cleanup and remove specs dir --- client/game.gd | 2 +- client/menu/blur_setup.gd | 15 +++++++++++++++ client/menu/rating/rating.gd | 18 +++++++++++++++++- 3 files changed, 33 insertions(+), 2 deletions(-) (limited to 'client') 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 . +# 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 . +# 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): -- cgit v1.2.3-70-g09d2