Soften tactical map grid overlays

This commit is contained in:
2026-06-20 09:09:01 +09:00
parent 641aeb6b33
commit 684f3bf90a
2 changed files with 45 additions and 28 deletions

View File

@@ -4792,6 +4792,10 @@ func _check_terrain_and_unit_presentation(failures: Array[String]) -> void:
failures.append("background terrain texture should stay lighter than fallback terrain texture")
if scene._map_grid_color(true).a >= scene._map_grid_color(false).a:
failures.append("background grid should be lighter than fallback grid")
if scene._map_grid_color(true).a > 0.025:
failures.append("high-resolution battle backgrounds should not be covered by visible square grid lines: %.3f" % scene._map_grid_color(true).a)
if not scene.has_method("_draw_tactical_tile_overlay") or not scene.has_method("_draw_tactical_corner_brackets"):
failures.append("battlefield tactical overlays should use generated tile art with corner brackets instead of full square UI borders")
if scene._terrain_edge_color("F", "G").a <= 0.0:
failures.append("forest edge blend should be visible")
if not scene._should_draw_terrain_edge("F", "G", Vector2i(1, 0)):