diff options
author | tpart <tpart120@proton.me> | 2025-09-27 17:49:08 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-09-27 17:49:08 +0200 |
commit | f70da9c821387c43df2f2c009db1add439e940ec (patch) | |
tree | 5cf1628b8cb5ebdbb70f75f7084699f4c6283328 | |
parent | 76000ca51cb9c5a4feff2cbbed642349e4e6b107 (diff) | |
download | hurrycurry-f70da9c821387c43df2f2c009db1add439e940ec.tar hurrycurry-f70da9c821387c43df2f2c009db1add439e940ec.tar.bz2 hurrycurry-f70da9c821387c43df2f2c009db1add439e940ec.tar.zst |
Remove unused physics and physics objects
-rw-r--r-- | client/map/tiles/counter.gd | 2 | ||||
-rw-r--r-- | client/map/tiles/full_tile.gd | 30 | ||||
-rw-r--r-- | client/map/tiles/full_tile.gd.uid | 1 | ||||
-rw-r--r-- | client/map/tiles/table.gd | 2 | ||||
-rw-r--r-- | client/map/tiles/wall_tile.gd | 2 | ||||
-rw-r--r-- | client/project.godot | 4 |
6 files changed, 7 insertions, 34 deletions
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 <https://www.gnu.org/licenses/>. # 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 <https://www.gnu.org/licenses/>. -# -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 <https://www.gnu.org/licenses/>. # 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 <https://www.gnu.org/licenses/>. # 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" |