Fix bugs in edge definitions in Rooms tile set, remove spikes tile set default tip
authorunC0Rr
Tue, 28 Jan 2025 15:57:05 +0100
changeset 16074 fff7c8e36f7b
parent 16073 5d302b12d837
Fix bugs in edge definitions in Rooms tile set, remove spikes tile set
share/hedgewars/Data/wfc_templates.toml
--- a/share/hedgewars/Data/wfc_templates.toml	Tue Jan 28 15:49:45 2025 +0100
+++ b/share/hedgewars/Data/wfc_templates.toml	Tue Jan 28 15:57:05 2025 +0100
@@ -46,7 +46,8 @@
 # Rooms tiles
 [[tiles.Rooms]]
 name = "bend_120.png"
-edges = [ "fee", "fee", "f", "f" ]
+edges = [ "fee", "eef", "f", "f" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = true
 can_rotate270 = true
@@ -54,13 +55,15 @@
 [[tiles.Rooms]]
 name = "corner_120.png"
 edges = [ "eef", "fee", "e", "e" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = true
 can_rotate270 = true
 
 [[tiles.Rooms]]
 name = "corridor_120.png"
-edges = [ "efe", "e", "e", "efe" ]
+edges = [ "efe", "e", "efe", "e" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = false
 can_rotate270 = false
@@ -68,6 +71,7 @@
 [[tiles.Rooms]]
 name = "door_120.png"
 edges = [ "f", "fee", "efe", "eef" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = true
 can_rotate270 = true
@@ -75,10 +79,12 @@
 [[tiles.Rooms]]
 name = "empty_120.png"
 edges = [ "f", "f", "f", "f" ]
+is_negative = true
 
 [[tiles.Rooms]]
 name = "side_120.png"
 edges = [ "e", "eef", "f", "fee" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = true
 can_rotate270 = true
@@ -86,6 +92,7 @@
 [[tiles.Rooms]]
 name = "t_120.png"
 edges = [ "e", "efe", "efe", "efe" ]
+is_negative = true
 can_rotate90 = true
 can_rotate180 = true
 can_rotate270 = true
@@ -93,6 +100,7 @@
 [[tiles.Rooms]]
 name = "turn_120.png"
 edges = [ "efe", "efe", "e", "e" ]
+is_negative = true
 can_mirror = false
 can_flip = false
 can_rotate90 = true
@@ -102,28 +110,8 @@
 [[tiles.Rooms]]
 name = "wall_120.png"
 edges = [ "e", "e", "e", "e" ]
-
-# spikes tiles
-[[tiles.spikes]]
-name = "spikes_filled.png"
-edges = [ "e", "e", "e", "e" ]
 is_negative = true
 
-[[tiles.spikes]]
-name = "spikes_filled.png"
-edges = [ "e", "f", "e", "f" ]
-is_negative = true
-
-[[tiles.spikes]]
-name = "spikes_filled.png"
-edges = [ "f", "f", "f", "f" ]
-
-[[tiles.spikes]]
-name = "spikes_triangle.png"
-edges = [ "e", "f", "f", "e" ]
-can_mirror = true
-can_flip = false
-
 ################ EDGES ################
 [edges.bottom_row]
 top = { begin = "e", fill = "e", end = "e" }
@@ -136,7 +124,7 @@
 bottom.fill = "f"
 
 [edges.full_top_bottom]
-#top = { begin = "f", fill = "f", end = "f" }
+top = { begin = "f", fill = "f", end = "f" }
 bottom = { begin = "f", fill = "f", end = "f" }
 
 ################ TEMPLATES ################
@@ -202,26 +190,14 @@
 
 [[templates]]
 # 5
-width = 3960
-height = 1920
-can_invert = false
-is_negative = true
-put_girders = true
-max_hedgehogs = 40
-wrap = true
-edges = "top_bottom"
-tiles = [ "Rooms" ]
-
-[[templates]]
-# 6
-width = 2400
-height = 1600
+width = 2280
+height = 1200
 can_invert = false
 put_girders = true
 max_hedgehogs = 40
 wrap = true
 edges = "full_top_bottom"
-tiles = [ "spikes" ]
+tiles = [ "Rooms" ]
 
 [template_types]
 small = [ 2 ]