From f70da9c821387c43df2f2c009db1add439e940ec Mon Sep 17 00:00:00 2001 From: tpart Date: Sat, 27 Sep 2025 17:49:08 +0200 Subject: Remove unused physics and physics objects --- client/map/tiles/counter.gd | 2 +- client/map/tiles/full_tile.gd | 30 ------------------------------ client/map/tiles/full_tile.gd.uid | 1 - client/map/tiles/table.gd | 2 +- client/map/tiles/wall_tile.gd | 2 +- client/project.godot | 4 ++++ 6 files changed, 7 insertions(+), 34 deletions(-) delete mode 100644 client/map/tiles/full_tile.gd delete mode 100644 client/map/tiles/full_tile.gd.uid (limited to 'client') diff --git a/client/map/tiles/counter.gd b/client/map/tiles/counter.gd index 83a33937..bd16c7a3 100644 --- a/client/map/tiles/counter.gd +++ b/client/map/tiles/counter.gd @@ -14,7 +14,7 @@ # along with this program. If not, see . # class_name Counter -extends FullTile +extends Floor const COUNTERS: Array = [ "counter", diff --git a/client/map/tiles/full_tile.gd b/client/map/tiles/full_tile.gd deleted file mode 100644 index 70cdc745..00000000 --- a/client/map/tiles/full_tile.gd +++ /dev/null @@ -1,30 +0,0 @@ -# Hurry Curry! - a game about cooking -# Copyright (C) 2025 Hurry Curry! contributors -# -# 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 . -# -class_name FullTile -extends Floor - -var static_body = StaticBody3D.new() - -func _init(ctx: TileFactory.TileCC): - super(ctx) - var shape = CollisionShape3D.new() - var box = BoxShape3D.new() - shape.position.y += .5 - shape.shape = box - shape.name = "Box" - static_body.add_child(shape) - static_body.name = "Body" - base.add_child(static_body) diff --git a/client/map/tiles/full_tile.gd.uid b/client/map/tiles/full_tile.gd.uid deleted file mode 100644 index d91ee5e3..00000000 --- a/client/map/tiles/full_tile.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://bte51jktk2d21 diff --git a/client/map/tiles/table.gd b/client/map/tiles/table.gd index 353d8e7e..43e3dbea 100644 --- a/client/map/tiles/table.gd +++ b/client/map/tiles/table.gd @@ -14,7 +14,7 @@ # along with this program. If not, see . # class_name Table -extends FullTile +extends Floor func _init(ctx: TileFactory.TileCC): super(ctx) diff --git a/client/map/tiles/wall_tile.gd b/client/map/tiles/wall_tile.gd index 10b50d9c..173a9355 100644 --- a/client/map/tiles/wall_tile.gd +++ b/client/map/tiles/wall_tile.gd @@ -14,7 +14,7 @@ # along with this program. If not, see . # class_name WallTile -extends FullTile +extends Floor const WALLS: Array = [ "wall", diff --git a/client/project.godot b/client/project.godot index 7646be34..bf64566c 100644 --- a/client/project.godot +++ b/client/project.godot @@ -252,6 +252,10 @@ toggle_first_person={ pointing/android/enable_pan_and_scale_gestures=true +[physics] + +3d/physics_engine="Dummy" + [rendering] renderer/rendering_method.mobile="gl_compatibility" -- cgit v1.2.3-70-g09d2