From ffd86e88b55474a8298a9815c8b53076abdd06d3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 11 Sep 2023 15:52:03 +0200 Subject: [PATCH] release: v24.1.0 --- CHANGELOG.md | 2 +- gradle.properties | 4 ++-- plugin/src/main/kotlin/sc/plugin2024/Segment.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb8993d3a..780645122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ The version should always be in sync with the [GUI](https://github.com/software- A `y` version of 0 marks the beta of the current year and likely contains breaking changes between patches. -### 24.0.9 All The Moves - 2023-09-XX +### 24.1.0 New Helpers - 2023-09-11 - Add a few helpers ### 24.0.8 All The Moves - 2023-09-04 diff --git a/gradle.properties b/gradle.properties index d7441914b..e60f6a550 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ socha.gameName=mississippi socha.version.year=24 -socha.version.minor=00 -socha.version.patch=08 \ No newline at end of file +socha.version.minor=01 +socha.version.patch=00 \ No newline at end of file diff --git a/plugin/src/main/kotlin/sc/plugin2024/Segment.kt b/plugin/src/main/kotlin/sc/plugin2024/Segment.kt index a71163cda..8021b0f67 100644 --- a/plugin/src/main/kotlin/sc/plugin2024/Segment.kt +++ b/plugin/src/main/kotlin/sc/plugin2024/Segment.kt @@ -110,7 +110,7 @@ internal fun SegmentFields.alignPassengers(random: Random = Random): Boolean { val result = shuffledIndices(CubeDirection.values().size, random = random) .mapToObj { Field.PASSENGER(CubeDirection.values()[it], 1) } .filter { - // TODO this rotation is relative now! + // this rotation is relative! val target = Coordinates(x, y).localToCube() + it.direction.vector get(target) == Field.WATER || (target.arrayX == -2 && target.r.absoluteValue < 3) // in front of a tile is always water