diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-05-17 12:10:41 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-05-17 12:10:41 -0400 |
commit | 92b91d6703c96f1724168e5e4845cfba6c802de4 (patch) | |
tree | 3292c35e2e153828bb1ef90ab6208757aaa84bf5 /src/game_data.cpp | |
parent | f6c029a2e5cef66b24ec1f4b989bae03ed841f44 (diff) | |
download | lingo-ap-tracker-future.tar.gz lingo-ap-tracker-future.tar.bz2 lingo-ap-tracker-future.zip |
Add static painting logic future
This goes alongside https://github.com/ArchipelagoMW/Archipelago/pull/5005, but it can't be merged into main until an AP release containing that PR happens.
Diffstat (limited to 'src/game_data.cpp')
-rw-r--r-- | src/game_data.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game_data.cpp b/src/game_data.cpp index 94b9888..588ffc8 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp | |||
@@ -127,6 +127,10 @@ struct GameData { | |||
127 | exit_obj.type = EntranceType::kCrossroadsRoofAccess; | 127 | exit_obj.type = EntranceType::kCrossroadsRoofAccess; |
128 | } | 128 | } |
129 | 129 | ||
130 | if (option["static_painting"] && option["static_painting"].as<bool>()) { | ||
131 | exit_obj.type = EntranceType::kStaticPainting; | ||
132 | } | ||
133 | |||
130 | rooms_[from_room_id].exits.push_back(exit_obj); | 134 | rooms_[from_room_id].exits.push_back(exit_obj); |
131 | }; | 135 | }; |
132 | 136 | ||