about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md11
-rw-r--r--VERSION2
-rw-r--r--src/tracker_state.cpp13
-rw-r--r--src/version.h2
4 files changed, 18 insertions, 10 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c94f10..b582fb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
1# lingo-ap-tracker Releases 1# lingo-ap-tracker Releases
2 2
3## v0.12.1 - 2025-01-27
4
5- Fixed sunwarp mapping not showing up on metro map when sunwarp shuffle is
6 enabled.
7- Fixed metro map door requirements sometimes saying you cannot reach areas when
8 you really can.
9
10Download:
11[lingo-ap-tracker-v0.12.1-win64.zip](https://files.fourisland.com/releases/lingo-ap-tracker/lingo-ap-tracker-v0.12.1-win64.zip)<br/>
12Source: [v0.12.1](https://code.fourisland.com/lingo-ap-tracker/tag/?h=v0.12.1)
13
3## v0.12.0 - 2024-12-20 14## v0.12.0 - 2024-12-20
4 15
5- The tracker can now connect to a game of Lingo that is running the Archipelago 16- The tracker can now connect to a game of Lingo that is running the Archipelago
diff --git a/VERSION b/VERSION index 3061e9e..63f192e 100644 --- a/VERSION +++ b/VERSION
@@ -1 +1 @@
v0.12.0 \ No newline at end of file v0.12.1 \ No newline at end of file
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index eee43e4..d372786 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -360,6 +360,10 @@ class StateCalculator {
360 // evaluated. 360 // evaluated.
361 for (const Door& door : GD_GetDoors()) { 361 for (const Door& door : GD_GetDoors()) {
362 int discard = IsDoorReachable(door.id); 362 int discard = IsDoorReachable(door.id);
363
364 door_report_[door.id] = {};
365 discard = AreRequirementsSatisfied(
366 GetState().requirements.GetDoor(door.id), &door_report_[door.id]);
363 } 367 }
364 } 368 }
365 369
@@ -522,14 +526,7 @@ class StateCalculator {
522 } 526 }
523 527
524 Decision IsDoorReachable_Helper(int door_id) { 528 Decision IsDoorReachable_Helper(int door_id) {
525 if (door_report_.count(door_id)) { 529 return AreRequirementsSatisfied(GetState().requirements.GetDoor(door_id));
526 door_report_[door_id].clear();
527 } else {
528 door_report_[door_id] = {};
529 }
530
531 return AreRequirementsSatisfied(GetState().requirements.GetDoor(door_id),
532 &door_report_[door_id]);
533 } 530 }
534 531
535 Decision IsDoorReachable(int door_id) { 532 Decision IsDoorReachable(int door_id) {
diff --git a/src/version.h b/src/version.h index f734f02..3ef9898 100644 --- a/src/version.h +++ b/src/version.h
@@ -36,6 +36,6 @@ struct Version {
36 } 36 }
37}; 37};
38 38
39constexpr const Version kTrackerVersion = Version(0, 12, 0); 39constexpr const Version kTrackerVersion = Version(0, 12, 1);
40 40
41#endif /* end of include guard: VERSION_H_C757E53C */ \ No newline at end of file 41#endif /* end of include guard: VERSION_H_C757E53C */ \ No newline at end of file