read tunnel length from different config and fix tests

This commit is contained in:
2026-04-26 20:41:40 +02:00
parent 89005d6bb7
commit 774f5dee28
9 changed files with 22 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
#pragma once
#include <optional>
#include <string>
#include <vector>
@@ -19,7 +18,6 @@ struct BuildingDef
// Stored as raw strings here; parsing into per-cell tiles + output ports
// happens when buildings are placed, not at load time.
std::vector<std::string> surfaceMask;
std::optional<int> tunnelMaxDistance;
};
struct BuildingsConfig