Phase 14 - Organized directories.

This commit is contained in:
2026-10-03 19:13:39 -04:00
parent 6666173c4f
commit d950fd9d9a
307 changed files with 1452 additions and 1110 deletions
+6 -6
View File
@@ -40,11 +40,11 @@
extends SceneTree
const STAGE_SCENE := preload("res://scenes/sandbox_stage.tscn")
const STAGE_SELECTION := preload("res://scripts/stage_selection.gd")
const TERRAIN_BLOCK := preload("res://scripts/terrain_block.gd")
const OVERLAY_SCRIPT := preload("res://scripts/stage_placement_overlay.gd")
const RIG := preload("res://scripts/stickman_rig.gd")
const STAGE_SCENE := preload("res://scenes/stage/sandbox_stage.tscn")
const STAGE_SELECTION := preload("res://scripts/stage/stage_selection.gd")
const TERRAIN_BLOCK := preload("res://scripts/terrain/terrain_block.gd")
const OVERLAY_SCRIPT := preload("res://scripts/stage/stage_placement_overlay.gd")
const RIG := preload("res://scripts/characters/stickman/stickman_rig.gd")
# The Ground registry template is authored 200x32 but StageSpawner sanitizes
# every terrain polygon onto the 16px TERRAIN_GRID_SIZE before placement, so the
@@ -297,7 +297,7 @@ func _test_bug2_overlay_clear() -> void:
# Source-presence check: clear_terrain_guide() and clear_action() must both
# call queue_redraw() so the erased line is removed (Godot 4.4 exposes no
# is_queued_for_redraw(), so this is the headless-observable regression).
var file := FileAccess.open("res://scripts/stage_placement_overlay.gd", FileAccess.READ)
var file := FileAccess.open("res://scripts/stage/stage_placement_overlay.gd", FileAccess.READ)
_check(file != null, "stage_placement_overlay.gd is readable")
if file != null:
var text := file.get_as_text()