diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c74e487e..b9a64c748 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Cities: Skylines - Traffic Manager: _President Edition_ +compatibility# Cities: Skylines - Traffic Manager: _President Edition_ # Changelog @@ -29,16 +29,41 @@ This changelog includes all versions and major variants of the mod going all the +#### TM:PE V[11.6.4.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.6.3-test...11.6.4) STABLE, 25/01/2022 + +* [New] TM:PE 11.6 branch released as STABLE - huge thanks to our beta testers! +* [Mod] Fixed: `Move It` traffic settings not copy/pasted in-game #1303 #1300 (krzychu124) +* [Mod] Fixed: `Node Controller Renewal` silent fail place intersection #1308 #1307 (krzychu124) +* [Mod] Fixed: `Intersection Marking Tool` silent fail place intersection #1308 #1307 (krzychu124) +* [Updated] Compatibility update for Airports DLC #1230 (krzychu124) +* [Updated] Reduce logging from `AssetDataExtension` in release builds #1296 #1295 (aubergine18) +* [Updated] Translations for multiple languages #1304 (Chamëleon, MenschLennart, John Deehe, Skazov, AlexofCA, CrankyAnt, Иван Соколов, AduitSSH, John Lok Ho, DNSE, shg166, GiorgioHerbie, footbool, krzychu124, aubergine18, Dmytro Lytovchenko, Fizzy_LaFizz, Vladimír Krajč, alvaroer, Mahmoud Al Gammal, ipd, 田七不甜, vitalii201, 許景翔, Mehmet Ömer Tüzer, vicugna-pacos, kianzarrin, Mbyron26, Headspike, lennier3, kevinlin18, Ikki_di_Phoenix) +* [Updated] Reorganise General options tab #1306 #1262 (aubergine18) +* [Updated] Improved compatibility checks, inhibit `Resume` if problems detected #1310 #1309 #699 #697 (aubergine18) +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) + +#### TM:PE V11.6.4.0 TEST, 25/01/2022 -#### TM:PE 11.6.3.0 TEST, 19/01/2022 +* [Mod] Fixed: `Move It` traffic settings not copy/pasted in-game #1303 #1300 (krzychu124) +* [Mod] Fixed: `Node Controller Renewal` silent fail place intersection #1308 #1307 (krzychu124) +* [Mod] Fixed: `Intersection Marking Tool` silent fail place intersection #1308 #1307 (krzychu124) +* [Updated] Compatibility update for Airports DLC #1230 (krzychu124) +* [Updated] Reduce logging from `AssetDataExtension` in release builds #1296 #1295 (aubergine18) +* [Updated] Translations for multiple languages #1304 (Chamëleon, MenschLennart, John Deehe, Skazov, AlexofCA, CrankyAnt, Иван Соколов, AduitSSH, John Lok Ho, DNSE, shg166, GiorgioHerbie, footbool, krzychu124, aubergine18, Dmytro Lytovchenko, Fizzy_LaFizz, Vladimír Krajč, alvaroer, Mahmoud Al Gammal, ipd, 田七不甜, vitalii201, 許景翔, Mehmet Ömer Tüzer, vicugna-pacos, kianzarrin, Mbyron26, Headspike, lennier3, kevinlin18, Ikki_di_Phoenix) +* [Updated] Reorganise General options tab #1306 #1262 (aubergine18) +* [Updated] Improved compatibility checks, inhibit `Resume` if problems detected #1310 #1309 #699 #697 (aubergine18) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) + +#### TM:PE V[11.6.3.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.6.2-test...11.6.3-test) TEST, 19/01/2022 - [New] What's New panel #118 #1284 (krzychu124, aubergine18) - [Mod] Incompatible: `Traffic++ V2` - ancient mod, breaks game #1287 (aubergine18) - [Fixed] App mode detection #1290 #1289 #1286 (krzychu124) - [Fixed] Versioned atlas to ensure textures load properly #1281 (kianzarrin) - [Updated] Speed Limits manager for asset editor and mods #1277 #1285 (kianzarrin, krzychu124) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) -#### TM:PE 11.6.2.0 TEST, 08/01/2022 +#### TM:PE V[11.6.2.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.6.1-test...11.6.2-test) TEST, 08/01/2022 - [New] Speed Limits UI Overhaul #1168 #389 (kvakvs) - [New] Road sign icon themes for multiple countries #1260 #1251 #1215 (Coreybpa, kvakvs, aubergine18) @@ -78,6 +103,7 @@ This changelog includes all versions and major variants of the mod going all the - [Updated] Performance: Removed the ProcessCitizen and the CitizenHandler #1169 #1170 (egi) - [Updated] Speed Limits manager now uses structures #1163 (kvakvs) - [Removed] Obsolete and unnecessary code #1194 #1185 #1183 #1177 #1176 #1174 (egi) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.1.3 TEST, 14/10/2021 @@ -85,6 +111,7 @@ This changelog includes all versions and major variants of the mod going all the - [Fixed] Despawn off not working as expected #1167 #1148 (OliverWieland, krzychu124) - [Fixed] Bug in ResetIncomingHighwayLaneArrows #1165 (krzychu124, egi) - [Updated] Performance, memory efficiency #1161 #1162 #1164 #1165 (thanks egi) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.1.2 TEST, 21/09/2021 @@ -99,6 +126,7 @@ This changelog includes all versions and major variants of the mod going all the - [Updated] Performance: Speed Limits GUI #1149 (egi) - [Updated] Improved performance benchmarking #1155 (egi) - [Removed] Obsolete and unnecessary code #1156 #1154 #1155 (egi) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.1.1 TEST, 25/08/2021 @@ -107,14 +135,16 @@ This changelog includes all versions and major variants of the mod going all the - [Fixed] Refreshing dedicated turning lanes after loading a savegame #1140 #1137 (kianzarrin) - [Fixed] Custom path-finding initialization and patching - rewritten execution flow #1145 (krzychu124) - [Updated] Internal changes to Speed Limits code for Speed Limits UI #1143 (kvakvs) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) -#### TM:PE V11.6.1.0 TEST, 10/08/2021 +#### TM:PE V[11.6.1.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.6.0-test...11.6.1-test) TEST, 10/08/2021 - [New] Language: Indonesian #1135 (Fizzy_LaFizz) - [New] First version of Notifier API for use by other mods #1127 (kianzarrin) - [Fixed] Speed Limits inifinite loop when using Shift modifier #1131 #1128 (krzychu124, kianzarrin) - [Fixed] Overlay transparency and UI opacity settings #1129 (krzychu124) - [Fixed] Half-segment detection when using Lane Arrows tool #1138 #1141 (kianzarrin, krzychu124) - [Updated] Multiple languages #1135 (mjm92150, Ikki_di_Phoenix, GiorgioHerbie, vicugna-pacos, DNSE, JJTspanishguy, krzychu124, macsergey, Lasm Gratel, 許景翔 gk50125012, kevinlin18, Warintorn Choorasri, chameleon-tbn) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.0.3 TEST, 17/06/2021 @@ -122,6 +152,7 @@ This changelog includes all versions and major variants of the mod going all the - [Updated] Performance: PathFind performance improvements #1114 (krzychu124) - [Updated] Lifted limit of threads for 8t+ CPUs #1114 (krzychu124) - [Updated] Reduced simulation thread sleep multiplier for long pathfind queues #1114 (krzychu124) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.0.2 TEST, 08/06/2021 @@ -129,18 +160,21 @@ This changelog includes all versions and major variants of the mod going all the - [Fixed] Reloading localised textures for Priority Signs and TTL #1121 #1099 (TianQiBuTian, krzychu124) - [Updated] Lane Connectors: New shape, changed interactions in over/under-ground mode #985 #282 #3 (krzychu124) - [Updated] Performance: Network flag detection #1118 (kianzarrin) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.6.0.1 TEST, 28/05/2021 - [Updated] Merge changes from 11.5.2.2 STABLE release #1113 (krzychu124) +- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) #### TM:PE V11.5.2-hotfix-1 STABLE, 27/05/2021 - [Mod] Compatible: `Barges (Cargo Ferries)` #1112 (krzychu124) - [Mod] Compatible: `Movable Bridges` #1112 (krzychu124) - [Mod] Compatible: `81-Tiles` #1112 (krzychu124) +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) -#### TM:PE V11.6.0 TEST, 16/05/2021 +#### TM:PE V[11.6.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.5.2...11.6.0-test) TEST, 16/05/2021 - [New] Full migration to Harmony 2.x #1089 #1060 #1059 #947 #944 #943 #921 #895 #866 #865 #864 #783 #782 #462 (Krzychu124, kianzarrin) - [New] Map/Asset/Intersection Editor support, except for traffic lights #1011 #1004 #990 #989 #972 #971 #970 #969 #966 #965 #964 #963 #959 #956 #898 #600 #288 (kianzarrin, Strdate) @@ -192,23 +226,26 @@ This changelog includes all versions and major variants of the mod going all the - [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785) - [GitHub] [CitiesSkylinesMods/TMPE](https://github.com/CitiesSkylinesMods/TMPE) -#### TM:PE V11.5.2 STABLE, 12/05/2021 +#### TM:PE V[11.5.2](https://github.com/CitiesSkylinesMods/TMPE/compare/11.5.1...11.5.2) STABLE, 12/05/2021 - [Mod] Hotfix: `Barges (Cargo Ferries)` #1103 (krzychu124) - [Mod] Hotfix: `81-Tiles` unified alternative path position #1105 (krzychu124) - [Fixed] Cargo trucks not respecting lane routing #1105 (krzychu124) - [Fixed] Bug in outside connection detection #1105 (krzychu124) +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) #### TM:PE V11.5.2 STABLE (Reverted), 09/05/2021 - [Mod] Hotfix: `Barges (Cargo Ferries)` #1103 (krzychu124) - [Meta] Had bugs and was reverted to 11.5.1 STABLE Hotfix-1 +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) #### TM:PE V11.5.1-hotfix-1 STABLE, 21/11/2020 - [Fixed] Right click mouse button closing lane connection tool #1037 (krzychu124) +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) -#### TM:PE V11.5.1 STABLE, 19/11/2020 +#### TM:PE V[11.5.1](https://github.com/CitiesSkylinesMods/TMPE/compare/11.5.0...11.5.1) STABLE, 19/11/2020 - [Meta] Includes all features from TM:PE 11.5.0 LABS - [New] Right-Click will exit tool and subsequently TM:PE toolbsar #1014 #1032 (HypoSim, krzychu124) @@ -218,6 +255,7 @@ This changelog includes all versions and major variants of the mod going all the - [Fixed] Error thrown if segment info is null #957 (kianzarrin, thebugfixnet) - [Updated] Use locks and existing list in GenericObservable #909 (egi) - [Updated] RoadSelectionPanel icons optimized to 8bit #984 (Chamëleon) +- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) #### TM:PE V[11.4.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.3.2...11.4.0) STABLE, 22/05/2020 @@ -654,7 +692,7 @@ This changelog includes all versions and major variants of the mod going all the #### TM:PE V11 ALPHA 11.0-alpha5, 31/07/2019 - [Updated] Lots of code clean-up (#461, #349, #377, #451) -- [Meta] Build process will now error if `in` is used without a `readonly struct` (thanks dymanoid!) (#463) +- [Meta] Build process will now error if `in` is used without a `readonly struct` (thanks dymanoid!) (#463 #440) - [Meta] See `Contributing` guide in GitHub wiki if you get build errors due to #463 - [Steam] [TM:PE v11 ALPHA](https://steamcommunity.com/sharedfiles/filedetails/?id=1806963141) @@ -700,12 +738,12 @@ This changelog includes all versions and major variants of the mod going all the #### TM:PE LABS [10.21](https://github.com/CitiesSkylinesMods/TMPE/compare/10.20...10.21), 02/07/2019 - [New] Cims have individual driving styles to determine lane changes and driving speed (#263 #334) -- [New] Miles Per Hour option for speed limits (thanks kvakvs) (#384) +- [New] Miles Per Hour option for speed limits (thanks kvakvs) (#13 #384 #556) - [New] Selectable style (US, UK, EU) of speed sign in speed limits UI (thanks kvakvs) (#384) -- [New] Differentiate LABS, STABLE and DEBUG branches in UI (#326, #333) +- [New] Differentiate LABS, STABLE and DEBUG branches in UI (#326, #333, #386) - [New] Keybinds tab in mod options - choose your own shortcuts! (thanks kvakvs) (#382) - [New] Show keyboard shortcuts in button tooltips where applicable (thanks kvakvs) (#382) -- [New] Basic support of offline mode for users playing on EA's Origin service (#333, #400) +- [New] Basic support of offline mode for users playing on EA's Origin service (#333, #340, #400) - [Updated]: Avoid setting loss due to duplicate TM:PE subscriptions (#333, #306, #149, #190, #211, #400) - [Fixed] Vehicle limit count; compatibility with More Vehicles mod (thanks Dymanoid) (#362) - [Fixed] Mail trucks ignoring lane arrows (thanks Subaru & eudyptula for feedback) (#307, #338) @@ -871,14 +909,15 @@ This changelog includes all versions and major variants of the mod going all the #### TM:PE LABS 1.10.15, 10/02/2019 -- [New] (Experimental) Turn on red (thanks to FireController1847 for implementation and to pcfantasy for source code base) -- [New] Notification if user is still subscribed to old original TM:PE -- [Updated] Use Escape key to close Traffic Manager without returning to Pause Menu (thanks to aubergine10 for suggestion) (#16) -- [Updated] New icons for cargo and passenger train restriction (thanks to aubergine10) (#17) -- [Updated] Updated pathfinding with missing vanilla logic -- [Updated] Tweaked values in `CargoTruckAI` path finding (thanks to pcfantasy for improvement suggestion) -- [Updated] Tweaked speed multiplier of reckless drivers to get more realistic speed range (thanks to aubergine10 for suggestion) (#23) -- [Updated] Simplified Chinese translation updated (thanks to Emphasia for translating) +- [New] (Experimental) Turn on red #54 #25 (FireController1847, pcfantasy, LinuxFan) +- [New] Notification if user is still subscribed to old original TM:PE #72 +- [Fixed] Option not loading/saving #57 (krzychu124) +- [Updated] Use Escape key to close Traffic Manager without returning to Pause Menu #54 #16 (krzychu124, aubergine18) +- [Updated] New icons for cargo and passenger train restriction #17 #37 (aubergine10) +- [Updated] Updated pathfinding with missing vanilla logic #54 +- [Updated] Tweaked values in `CargoTruckAI` path finding #54 (pcfantasy, krzychu124) +- [Updated] Tweaked speed multiplier of reckless drivers to get more realistic speed range #25 #54 (krzychu124, aubgergine10) +- [Updated] Simplified Chinese translation updated #54 (Emphasia) - [Steam] [Traffic Manager: President Edition (LABS)](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252) #### TM:PE LABS 1.10.14, 27/01/2019 diff --git a/README.md b/README.md index 4b329933a..ea24958e8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Report a Bug

- + @@ -39,60 +39,28 @@ Official releases: Recent updates (dd/mm/yyyy): -#### TM:PE V11.5.2-hotfix-1 STABLE, 27/05/2021 - -- [Mod] Compatible: `Barges (Cargo Ferries)` #1112 (krzychu124) -- [Mod] Compatible: `Movable Bridges` #1112 (krzychu124) -- [Mod] Compatible: `81-Tiles` #1112 (krzychu124) - -#### TM:PE 11.6.3.0 TEST, 19/01/2022 - -- [New] What's New panel #118 #1284 (krzychu124, aubergine18) -- [Mod] Incompatible: `Traffic++ V2` - ancient mod, breaks game #1287 (aubergine18) -- [Fixed] App mode detection #1290 #1289 #1286 (krzychu124) -- [Fixed] Versioned atlas to ensure textures load properly #1281 (kianzarrin) -- [Updated] Speed Limits manager for asset editor and mods #1277 #1285 (kianzarrin, krzychu124) - -#### TM:PE 11.6.2.0 TEST, 08/01/2022 - -- [New] Speed Limits UI Overhaul #1168 #389 (kvakvs) -- [New] Road sign icon themes for multiple countries #1260 #1251 #1215 (Coreybpa, kvakvs, aubergine18) -- [New] Dynamic loading of road sign icon themes #1215 (kvakvs) -- [New] Default speeds apply to all elevations #1245 #1233 #1226 #1221 #1168 (kvakvs, kianzarrin) -- [New] Additional API methods for modders #1209 (kianzarrin) -- [Mod] Updated: `UnifiedUI` latest version #1182 (kianzarrin) -- [Mod] Compatible: `More CitizenUnits` #1192 (algernon-A) -- [Mod] Incompatible: `CSMultiplayer` #1196 (Krzychu124) -- [Fixed] Auto TTL should set-up dedicated turning lanes properly #1242 #1241 (kianzarrin) -- [Fixed] Position of lane arrow tool for different resolutions #1237 (kianzarrin) -- [Fixed] Update routings after modifying dedicated turning lanes policy #1236 #1235 (kianzarrin) -- [Fixed] Checkbox label text wrap for long captions #1232 #401 (aubergine18, krzychu124) -- [Fixed] Update SPEED_TO_MPH constant to correct value #1224 #988 (Glenwing, aubergine18) -- [Fixed] Junction Restrictions transparency #1217 #1216 (kianzarrin) -- [Fixed] U-turn policy on T-junctions #1212 #900 #347 (SubaruSVX, yackimoff, kianzarrin) -- [Fixed] Routing manager lane connection check #1210 (kianzarrin) -- [Fixed] Recalculation after lane connection remove #1199 #1198 (kian, krzychu124) -- [Fixed] Priority Signs tool not working #1189 (krzychu124) -- [Fixed] Lifecycle of TMPE tool #1188 (kianzarrin) -- [Fixed] Guard against null when disabling tool (kianzarrin) -- [Fixed] Trains not counted as waiting at timed traffic lights at rail junctions #1184 #1173 (DarthJimbo, krzychu124) -- [Fixed] Toolbar could be dragged through Speed Limits window #1168 #683 (aubergine18, kvakvs) -- [Updated] Code clean-up: ResetIncomingHighwayLaneArrows #1166 #1178 (egi) -- [Updated] Incompatible mod detector improvements #1196 (Krzychu124) -- [Updated] Code clean-up: Netutil and Speed Limits #1273 #1275 (kianzarrin) -- [Updated] Static texture classes now CustomManagers #1265 (kvakvs) -- [Updated] Performance: GetNode/Segment -> ToNode/Segment #1202 (kianzarrin) -- [Updated] Performance: Refactoring/buffer to extension methods #1203 (kianzarrin) -- [Updated] Performance: Converted .m_segments.m_buffer[segmentId] calls to segment #1204 (egi) -- [Updated] Performance: Refactoring IsValid #1201 #1197 #1175 (egi) -- [Updated] Replace NetService with newer code #1185 #1183 (egi) -- [Updated] Performance: Replace VehicleService with newer code #1176 (egi) -- [Updated] Code clean-up: Removed indirection for simplicity #1179 #1172 #1171 (egi) -- [Updated] Improve error logging of Traffic rules record #1200 (kianzarrin) -- [Updated] Performance: Switched from CO.IsFlagSet to kianzarrin's IsFlagSet #1186 (egi) -- [Updated] Performance: Removed the ProcessCitizen and the CitizenHandler #1169 #1170 (egi) -- [Updated] Speed Limits manager now uses structures #1163 (kvakvs) -- [Removed] Obsolete and unnecessary code #1194 #1185 #1183 #1177 #1176 #1174 (egi) +#### TM:PE V11.6.4.0 STABLE, 25/01/2022 + +* [New] TM:PE 11.6 branch released as STABLE - huge thanks to our beta testers! +* [Mod] Fixed: `Move It` traffic settings not copy/pasted in-game #1303 #1300 (krzychu124) +* [Mod] Fixed: `Node Controller Renewal` silent fail place intersection #1308 #1307 (krzychu124) +* [Mod] Fixed: `Intersection Marking Tool` silent fail place intersection #1308 #1307 (krzychu124) +* [Updated] Compatibility update for Airports DLC #1230 (krzychu124) +* [Updated] Reduce logging from `AssetDataExtension` in release builds #1296 #1295 (aubergine18) +* [Updated] Translations for multiple languages #1304 (Chamëleon, MenschLennart, John Deehe, Skazov, AlexofCA, CrankyAnt, Иван Соколов, AduitSSH, John Lok Ho, DNSE, shg166, GiorgioHerbie, footbool, krzychu124, aubergine18, Dmytro Lytovchenko, Fizzy_LaFizz, Vladimír Krajč, alvaroer, Mahmoud Al Gammal, ipd, 田七不甜, vitalii201, 許景翔, Mehmet Ömer Tüzer, vicugna-pacos, kianzarrin, Mbyron26, Headspike, lennier3, kevinlin18, Ikki_di_Phoenix) +* [Updated] Reorganise General options tab #1306 #1262 (aubergine18) +* [Updated] Improved compatibility checks, inhibit `Resume` if problems detected #1310 #1309 #699 #697 (aubergine18) + +#### TM:PE V11.6.4.0 TEST, 25/01/2022 + +* [Mod] Fixed: `Move It` traffic settings not copy/pasted in-game #1303 #1300 (krzychu124) +* [Mod] Fixed: `Node Controller Renewal` silent fail place intersection #1308 #1307 (krzychu124) +* [Mod] Fixed: `Intersection Marking Tool` silent fail place intersection #1308 #1307 (krzychu124) +* [Updated] Compatibility update for Airports DLC #1230 (krzychu124) +* [Updated] Reduce logging from `AssetDataExtension` in release builds #1296 #1295 (aubergine18) +* [Updated] Translations for multiple languages #1304 (Chamëleon, MenschLennart, John Deehe, Skazov, AlexofCA, CrankyAnt, Иван Соколов, AduitSSH, John Lok Ho, DNSE, shg166, GiorgioHerbie, footbool, krzychu124, aubergine18, Dmytro Lytovchenko, Fizzy_LaFizz, Vladimír Krajč, alvaroer, Mahmoud Al Gammal, ipd, 田七不甜, vitalii201, 許景翔, Mehmet Ömer Tüzer, vicugna-pacos, kianzarrin, Mbyron26, Headspike, lennier3, kevinlin18, Ikki_di_Phoenix) +* [Updated] Reorganise General options tab #1306 #1262 (aubergine18) +* [Updated] Improved compatibility checks, inhibit `Resume` if problems detected #1310 #1309 #699 #697 (aubergine18) See [Full Changelog](https://github.com/CitiesSkylinesMods/TMPE/blob/master/CHANGELOG.md) for details of all releases. diff --git a/TLM/SharedAssemblyInfo.cs b/TLM/SharedAssemblyInfo.cs index 19bcbfe55..a626ffb7f 100644 --- a/TLM/SharedAssemblyInfo.cs +++ b/TLM/SharedAssemblyInfo.cs @@ -20,4 +20,4 @@ // Minor Version // Build Number // Revision -[assembly: AssemblyVersion("11.6.3.*")] +[assembly: AssemblyVersion("11.6.4.*")] diff --git a/TLM/TLM/Custom/PathFinding/CustomPathFind.cs b/TLM/TLM/Custom/PathFinding/CustomPathFind.cs index 7d9fe7066..bc581005e 100644 --- a/TLM/TLM/Custom/PathFinding/CustomPathFind.cs +++ b/TLM/TLM/Custom/PathFinding/CustomPathFind.cs @@ -2200,9 +2200,14 @@ private void ProcessItemPublicTransport( #else var nextMaxSpeed = nextLaneInfo.m_speedLimit; #endif - + float newDistance = distance; + if (!stablePath_ && (nextLaneInfo.m_vehicleType & VehicleInfo.VehicleType.Plane) != VehicleInfo.VehicleType.None) + { + Randomizer randomizer = new Randomizer(pathFindIndex_ ^ nextLaneId); + newDistance *= randomizer.Int32(10000U) * (1f / 1000f); + } nextItem.ComparisonValue = comparisonValue + - (distance / + (newDistance / ((prevMaxSpeed + nextMaxSpeed) * 0.5f * maxLength_)); nextItem.Duration = duration + (distance / ((prevMaxSpeed + nextMaxSpeed) * 0.5f)); @@ -2468,11 +2473,15 @@ private bool ProcessItemCosts( bool acuteTurningAngle = false; if (prevLaneType == NetInfo.LaneType.Vehicle && (prevVehicleType & VehicleInfo.VehicleType.Car) == VehicleInfo.VehicleType.None) { - float turningAngle = !nextSegment.m_overridePathFindDirectionLimit - ? (0.01f - Mathf.Min( - nextSegmentInfo.m_maxTurnAngleCos, - prevSegmentInfo.m_maxTurnAngleCos)) - : 1f; + float turningAngle = 1f; + if (!nextSegment.m_overridePathFindDirectionLimit) + { + turningAngle = 0.01f - Mathf.Min(nextSegmentInfo.m_maxTurnAngleCos, prevSegmentInfo.m_maxTurnAngleCos); + } + if ((nextSegment.m_flags2 & NetSegment.Flags2.ForbidTurn) != 0 && (netManager.m_nodes.m_buffer[nextNodeId].m_flags & NetNode.Flags.End) == 0) + { + turningAngle = -0.99f; + } if (turningAngle < 1f) { Vector3 vector = nextNodeId != prevSegment.m_startNode ? prevSegment.m_endDirection @@ -2760,6 +2769,10 @@ private bool ProcessItemCosts( #if ADVANCEDAI && ROUTING } #endif + if (!stablePath_ && (nextLaneInfo.m_vehicleType & VehicleInfo.VehicleType.Plane) != 0) + { + transitionCostOverMeanMaxSpeed *= (float)new Randomizer(pathFindIndex_ ^ nextLaneId).Int32(10000u) * 0.001f; + } nextItem.Position.m_segment = nextSegmentId; nextItem.Position.m_lane = (byte)nextLaneIndex; nextItem.Position.m_offset = @@ -2934,6 +2947,10 @@ private bool ProcessItemCosts( NetInfo.LaneType.None) { nextItem.ComparisonValue += 0.1f; blocked = true; + if ((allowedVehicleTypes & VehicleInfo.VehicleType.Plane) != 0) + { + continue; + } } nextItem.LaneId = nextLaneId; diff --git a/TLM/TLM/Patch/_CitizenAI/_TouristAI/Connection/TouristAIConnection.cs b/TLM/TLM/Patch/_CitizenAI/_TouristAI/Connection/TouristAIConnection.cs index 0249bfcae..b7a059002 100644 --- a/TLM/TLM/Patch/_CitizenAI/_TouristAI/Connection/TouristAIConnection.cs +++ b/TLM/TLM/Patch/_CitizenAI/_TouristAI/Connection/TouristAIConnection.cs @@ -1,9 +1,10 @@ namespace TrafficManager.Patch._CitizenAI._TouristAI.Connection { using System; + using UnityEngine; public delegate int GetTaxiProbabilityDelegate(TouristAI instance); public delegate int GetBikeProbabilityDelegate(TouristAI instance); - public delegate int GetCarProbabilityDelegate(TouristAI instance); + public delegate int GetCarProbabilityDelegate(TouristAI instance, Vector3 position); public delegate int GetElectricCarProbabilityDelegate(TouristAI instance, Citizen.Wealth wealth); public delegate int GetCamperProbabilityDelegate(TouristAI instance, Citizen.Wealth wealth); diff --git a/TLM/TLM/Patch/_CitizenAI/_TouristAI/GetVehicleInfoPatch.cs b/TLM/TLM/Patch/_CitizenAI/_TouristAI/GetVehicleInfoPatch.cs index 35900dd70..876c8011c 100644 --- a/TLM/TLM/Patch/_CitizenAI/_TouristAI/GetVehicleInfoPatch.cs +++ b/TLM/TLM/Patch/_CitizenAI/_TouristAI/GetVehicleInfoPatch.cs @@ -92,7 +92,7 @@ public static bool Prefix(TouristAI __instance, bikeProb = 0; taxiProb = 0; } else { - carProb = GetCarProbability(__instance); + carProb = GetCarProbability(__instance, citizenData.m_frame1.m_position); bikeProb = GetBikeProbability(__instance); taxiProb = GetTaxiProbability(__instance); } diff --git a/TLM/TLM/Resources/whats_new.txt b/TLM/TLM/Resources/whats_new.txt index ef78d95d6..7cce943e7 100644 --- a/TLM/TLM/Resources/whats_new.txt +++ b/TLM/TLM/Resources/whats_new.txt @@ -1,4 +1,20 @@ +[Version] 11.6.4.0 +[Stable] +[Released] January 25th 2022 +[Link] tmpe-v1164-stable-25012022 +[New] TM:PE 11.6 branch released as STABLE - huge thanks to our beta testers! +[Mod] Fixed: `Move It` traffic settings not copy/pasted in-game #1303 #1300 (krzychu124) +[Mod] Fixed: `Node Controller Renewal` silent fail place intersection #1308 #1307 (krzychu124) +[Mod] Fixed: `Intersection Marking Tool` silent fail place intersection #1308 #1307 (krzychu124) +[Updated] Compatibility update for Airports DLC #1230 (krzychu124) +[Updated] Reduce logging from `AssetDataExtension` in release builds #1296 #1295 (aubergine18) +[Updated] Translations for multiple languages #1304 (Chamëleon, MenschLennart, John Deehe, Skazov, AlexofCA, CrankyAnt, Иван Соколов, AduitSSH, John Lok Ho, DNSE, shg166, GiorgioHerbie, footbool, krzychu124, aubergine18, Dmytro Lytovchenko, Fizzy_LaFizz, Vladimír Krajč, alvaroer, Mahmoud Al Gammal, ipd, 田七不甜, vitalii201, 許景翔, Mehmet Ömer Tüzer, vicugna-pacos, kianzarrin, Mbyron26, Headspike, lennier3, kevinlin18, Ikki_di_Phoenix) +[Updated] Reoganise General options tab #1306 #1262 (aubergine18) +[Updated] Improved compatibility checks, inhibit `Resume` if problems detected #1310 #1309 #699 #697 (aubergine18) +[/Version] + [Version] 11.6.3.0 +[Stable] [Released] January 19th 2022 [Link] tmpe-v1163-test-19012022 [New] What's New panel #118 #1284 (krzychu124, aubergine18) @@ -9,6 +25,7 @@ [/Version] [Version] 11.6.2.0 +[Stable] [Released] January 8th 2022 [Link] tmpe-v1162-test-08012022 [New] Speed Limits UI Overhaul #1168 #389 (kvakvs) @@ -52,6 +69,7 @@ [/Version] [Version] 11.6.1.3 +[Stable] [Released] October 14th 2021 [Link] tmpe-v1161-test-14102021 [Fixed] Cannot setup timed traffic lights on monorail nodes #1160 PR??? (Adreos, krzychu124) @@ -61,6 +79,7 @@ [/Version] [Version] 11.6.1.2 +[Stable] [Released] September 21st 2021 [Mod] New: `UnifiedUI` integration, configurable in mod options #1153 (kianzarrin) [New] GUI scaling for Traffic Lights and Speed Limits #1157 #1152 #1157 #406 #299 (RenaKunisaki, aubergine18, kianzarrin) @@ -76,6 +95,7 @@ [/Version] [Version] 11.6.1.1 +[Stable] [Released] August 25th 2021 [Fixed] Community Content Pack detection - Train Stations; Bridges & Piers #1144 (krzychu124) [Fixed] Vehicle Restrictions overlay position on Hydro Dam #1142 #741 (aubergine18. krzychu124) @@ -85,6 +105,7 @@ [/Version] [Version] 11.6.1.0 +[Stable] [Released] August 10th 2021 [New] Language: Indonesian #1135 (Fizzy_LaFizz) [Updated] Multiple languages #1135 (mjm92150, Ikki_di_Phoenix, GiorgioHerbie, vicugna-pacos, DNSE, JJTspanishguy, krzychu124, macsergey, Lasm Gratel, 許景翔 gk50125012, kevinlin18, Warintorn Choorasri, chameleon-tbn) @@ -95,6 +116,7 @@ [/Version] [Version] 11.6.0.3 +[Stable] [Released] June 17th 2021 [Link] tmpe-v1160-test-17062021 [Fixed] Segment lane routing calculations broken by invalid node/segment connections #1125 #1124 (Kexik-png-jpeg-negr, krzychu124) @@ -104,6 +126,7 @@ [/Version] [Version] 11.6.0.2 +[Stable] [Released] June 8th 2021 [Updated] Lane Connectors: New shape, changed interactions in over/under-ground mode #985 #282 #3 (krzychu124) [Updated] Performance: Network flag detection #1118 (kianzarrin) @@ -112,6 +135,7 @@ [/Version] [Version] 11.6.0.1 +[Stable] [Released] May 28th 2021 [Updated] Merge changes from 11.5.2.2 STABLE release #1113 (krzychu124) [/Version] @@ -125,6 +149,7 @@ [/Version] [Version] 11.6.0.0 +[Stable] [Released] May 16th 2021 [New] Full migration to Harmony 2.x #1089 #1060 #1059 #947 #944 #943 #921 #895 #866 #865 #864 #783 #782 #462 (Krzychu124, kianzarrin, LinuxFan) [New] Map/Asset/Intersection Editor support, except for traffic lights #1011 #1004 #990 #989 #972 #971 #970 #969 #966 #965 #964 #963 #959 #956 #898 #600 #288 (kianzarrin, Strdate) diff --git a/TLM/TLM/UI/WhatsNew/WhatsNew.cs b/TLM/TLM/UI/WhatsNew/WhatsNew.cs index 817e8967f..8203df962 100644 --- a/TLM/TLM/UI/WhatsNew/WhatsNew.cs +++ b/TLM/TLM/UI/WhatsNew/WhatsNew.cs @@ -14,7 +14,7 @@ public class WhatsNew { private const string RESOURCES_PREFIX = "TrafficManager.Resources."; // bump and update what's new changelogs when new features added - internal static readonly Version CurrentVersion = new Version(11,6,3, 0); + internal static readonly Version CurrentVersion = new Version(11,6,4,0); internal bool Shown => CurrentVersion == GlobalConfig.Instance.Main.LastWhatsNewPanelVersion; public List Changelogs { get; private set; } diff --git a/TLM/TLM/Util/VersionUtil.cs b/TLM/TLM/Util/VersionUtil.cs index e2b5ed611..5c3e12a39 100644 --- a/TLM/TLM/Util/VersionUtil.cs +++ b/TLM/TLM/Util/VersionUtil.cs @@ -116,11 +116,9 @@ public static void LogMonoVersion() { } } - ///

Checks to see if game version is what TMPE expects, and if not warns users. - /// Returns false if there is a game/mod version problem. public static bool CheckGameVersion() { + Log.Info($"Expected C:SL v{ExpectedGameVersionString} - Actual C:SL v{BuildConfig.applicationVersion}"); if (CurrentGameVersionU != EXPECTED_GAME_VERSION_U) { - Log.Info($"Detected game version v{BuildConfig.applicationVersion}. TMPE built for {ExpectedGameVersionString}"); Log._Debug($"CurrentGameVersion={CurrentGameVersion} ExpectedGameVersion={ExpectedGameVersion}"); Version current = CurrentGameVersion.Take(VERSION_COMPONENTS_COUNT); Version expected = ExpectedGameVersion.Take(VERSION_COMPONENTS_COUNT);