aboutsummaryrefslogtreecommitdiff
path: root/internal/validate/validate.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 16:50:41 -0400
committerhistoria <[not public]>2026-06-27 16:50:41 -0400
commit988b006a5bb9edb6465653566e7bdf8175347b8c (patch)
tree3a1fceff2ee80c11b5dafcc49c13ababe021e880 /internal/validate/validate.go
parent1cab9ca20e24742f770a676f84e4ed9f1636f297 (diff)
downloadthehouseoficarus-988b006a5bb9edb6465653566e7bdf8175347b8c.tar.gz
feat: one-way map links, blocked paths on map, map grid startup validation, user colors for maps
Diffstat (limited to 'internal/validate/validate.go')
-rw-r--r--internal/validate/validate.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/validate/validate.go b/internal/validate/validate.go
index 36969ed..56de6f1 100644
--- a/internal/validate/validate.go
+++ b/internal/validate/validate.go
@@ -51,7 +51,7 @@ type Source struct {
Courses []CourseView
Techs []TechView
TechIDs map[string]bool
- CheckSources []int
+ RootRooms []int
IgnoreUnreachable []int
}
@@ -80,6 +80,7 @@ func Run(s Source) []Issue {
issues = append(issues, validateRoomEnterSteps(s)...)
issues = append(issues, validateTechs(s)...)
issues = append(issues, validateRoomWiring(s)...)
+ issues = append(issues, validateRoomGrid(s)...)
return issues
}