Skip to content

Commit 6287c54

Browse files
authored
Merge pull request #1712 from CitiesSkylinesMods/whats-new-11.7.3.0
What's new 11.7.3.0
2 parents 38f2e55 + f249e61 commit 6287c54

File tree

8 files changed

+44
-20
lines changed

8 files changed

+44
-20
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,28 @@ This changelog includes all versions and major variants of the mod going all the
2929

3030
> Date format: dd/mm/yyyy
3131
32+
#### TM:PE V[11.7.3.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.7.2.0...11.7.3.0) STABLE, 13/12/2022
33+
34+
- [Meta] Compatibility patch for the game update 1.16.0-f3 (krzychu124)
35+
- [New] Improved bus/trolleybus stop path (pull to side earlier and use more of available space) #1688, #1690 (kianzarrin)
36+
- [Fixed] Cargo truck pathfinding via CargoVehicle networks (cargo stations/terminals) #1701, #1703 (krzychu124)
37+
- [Fixed] Lane connector on overlapping lanes #1706 (kianzarrin)
38+
- [Fixed] Parking signs on lanes with bus stop #1707 (kianzarrin)
39+
- [Updated] Minor changes in debug tools #1696, #1697 (kianzarrin)
40+
- [Updated] TMPE API Updates compatibility with other mods #1689 #1692 (kianzarrin)
41+
- [Steam] [TM:PE v11 STABLE](https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252)
42+
43+
#### TM:PE V11.7.3.0 TEST, 13/12/2022
44+
45+
- [Meta] Compatibility patch for the game update 1.16.0-f3 (krzychu124)
46+
- [New] Improved bus/trolleybus stop path (pull to side earlier and use more of available space) #1688, #1690 (kianzarrin)
47+
- [Fixed] Cargo truck pathfinding via CargoVehicle networks (cargo stations/terminals) #1701, #1703 (krzychu124)
48+
- [Fixed] Lane connector on overlapping lanes #1706 (kianzarrin)
49+
- [Fixed] Parking signs on lanes with bus stop #1707 (kianzarrin)
50+
- [Updated] Minor changes in debug tools #1696, #1697 (kianzarrin)
51+
- [Updated] TMPE API Updates compatibility with other mods #1689 #1692 (kianzarrin)
52+
- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785)
53+
3254
#### TM:PE V[11.7.2.0](https://github.com/CitiesSkylinesMods/TMPE/compare/11.7.1.2...11.7.2.0) STABLE, 15/11/2022
3355

3456
- [Meta] Compatibility patch for the game update 1.15.1-f4 (krzychu124)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://github.com/CitiesSkylinesMods/TMPE/wiki/Report-a-Bug">Report a Bug</a><br />
1010
</p>
1111
<p align="center">
12-
<a href="https://store.steampowered.com/app/255710/Cities_Skylines/"><img src="https://img.shields.io/static/v1?label=cities:%20skylines&message=v1.15.1-f4&color=01ABF8&logo=unity" /></a>
12+
<a href="https://store.steampowered.com/app/255710/Cities_Skylines/"><img src="https://img.shields.io/static/v1?label=cities:%20skylines&message=v1.16.0-f3&color=01ABF8&logo=unity" /></a>
1313
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252"><img src="https://img.shields.io/github/v/release/CitiesSkylinesMods/TMPE?label=stable&color=7cc17b&logo=steam&logoColor=F5F5F5" /></a>
1414
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785"><img src="https://img.shields.io/github/v/release/CitiesSkylinesMods/TMPE?include_prereleases&label=test&color=f7b73c&logo=steam&logoColor=F5F5F5" /></a>
1515
<a href="https://github.com/CitiesSkylinesMods/TMPE/releases/latest"><img src="https://img.shields.io/github/v/release/CitiesSkylinesMods/TMPE?label=origin&color=F56C2D&logo=origin&logoColor=F56C2D" /></a>

TLM/SharedAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
// Minor Version
2121
// Build Number
2222
// Revision
23-
[assembly: AssemblyVersion("11.7.2.*")]
23+
[assembly: AssemblyVersion("11.7.3.*")]

TLM/TLM/Custom/PathFinding/CustomPathFind.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,12 +2642,6 @@ private bool ProcessItemCosts(
26422642
$"\toffsetLength={offsetLength}");
26432643
}
26442644
#endif
2645-
if ((vehicleCategory_ & VehicleInfo.VehicleCategory.PublicTransportRoad) != 0 &&
2646-
(vehicleCategory_ & ~(VehicleInfo.VehicleCategory.Bus | VehicleInfo.VehicleCategory.Trolleybus | VehicleInfo.VehicleCategory.Taxi)) == 0)
2647-
{
2648-
offsetLength *= 0.75f;
2649-
}
2650-
26512645
float baseLength = offsetLength / (prevLaneSpeed * maxLength_); // NON-STOCK CODE
26522646
float comparisonValue = item.ComparisonValue; // NON-STOCK CODE
26532647
#if ROUTING
@@ -3142,6 +3136,11 @@ private bool ProcessItemCosts(
31423136
$"ProcessItemCosts: Adding next item\n\tnextItem={nextItem}");
31433137
}
31443138

3139+
if ((nextLaneInfo.vehicleCategory & VehicleInfo.VehicleCategory.PublicTransportRoad) != 0 &&
3140+
(nextLaneInfo.vehicleCategory & ~(VehicleInfo.VehicleCategory.Bus | VehicleInfo.VehicleCategory.Trolleybus | VehicleInfo.VehicleCategory.Taxi)) == 0) {
3141+
nextItem.ComparisonValue -= baseLength * 0.25f;
3142+
}
3143+
31453144
AddBufferItem(
31463145
#if DEBUG
31473146
isLogEnabled,

TLM/TLM/Resources/whats_new.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
[Version] 11.7.2.0
2-
[Released] Nov 15th 2022
3-
[Link] tmpe-v11720-stable-15112022
1+
[Version] 11.7.3.0
2+
[Released] Dec 13th 2022
3+
[Link] tmpe-v11730-stable-13122022
44
[Stable]
5-
[Meta] Compatibility patch for the game update 1.15.1-f4 (krzychu124)
6-
[New] Clear all TM:PE rules from selected node #692, #1668 (kianzarrin)
7-
[Fixed] Timed Traffic Lights wait = 0 issues #1497, #1674 (kianzarrin)
8-
[Updated] Minor changes to Timed Traffic Lights sensitivity slider #1670 (kianzarrin)
9-
[Updated] Pedestrian zone roads have now lower priority when setting up high priority road #1653 (kianzarrin)
5+
[Meta] Compatibility patch for the game update 1.16.0-f3 (krzychu124)
6+
[New] Improved bus/trolleybus stop path (pull to side earlier and use more of available space) #1688, #1690 (kianzarrin)
7+
[Fixed] Cargo truck pathfinding via CargoVehicle networks (cargo stations/terminals) #1701, #1703 (krzychu124)
8+
[Fixed] Lane connector on overlapping lanes #1706 (kianzarrin)
9+
[Fixed] Parking signs on lanes with bus stop #1707 (kianzarrin)
10+
[Updated] Minor changes in debug tools #1696, #1697 (kianzarrin)
11+
[Updated] TMPE API Updates compatibility with other mods #1689 #1692 (kianzarrin)
1012
[/Version]

TLM/TLM/UI/WhatsNew/WhatsNew.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace TrafficManager.UI.WhatsNew {
1111

1212
public class WhatsNew {
1313
// bump and update what's new changelogs when new features added
14-
public static readonly Version CurrentVersion = new Version(11,7,2,0);
14+
public static readonly Version CurrentVersion = new Version(11,7,3,0);
1515

1616
private const string WHATS_NEW_FILE = "whats_new.txt";
1717
private const string RESOURCES_PREFIX = "TrafficManager.Resources.";

TLM/TLM/Util/Extensions/VehicleExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ public static ExtVehicleType MapCarVehicleCategoryToExtVehicle(this VehicleInfo.
118118
VehicleInfo.VehicleCategory.MaintenanceTruck |
119119
VehicleInfo.VehicleCategory.ParkTruck |
120120
VehicleInfo.VehicleCategory.PostTruck |
121-
VehicleInfo.VehicleCategory.SnowTruck)) != 0) {
121+
VehicleInfo.VehicleCategory.SnowTruck |
122+
VehicleInfo.VehicleCategory.BankTruck)) != 0) {
122123
return ExtVehicleType.Service;
123124
} else if ((category & VehicleInfo.VehicleCategory.Bus) != 0) {
124125
return ExtVehicleType.Bus;

TLM/TLM/Util/VersionUtil.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ public static class VersionUtil {
3535
// we could alternatively use BuildConfig.APPLICATION_VERSION because const values are evaluated at compile time.
3636
// but I have decided not to do this because I don't want this to happen automatically with a rebuild if
3737
// CS updates. these values should be changed manually so as to force us to acknowledge that they have changed.
38-
public const uint EXPECTED_GAME_VERSION_U = 197387280U;
38+
public const uint EXPECTED_GAME_VERSION_U = 201450256U;
3939

4040
// see comments for EXPECTED_GAME_VERSION_U.
41-
public static Version ExpectedGameVersion => new Version(1, 15, 1, 4);
41+
public static Version ExpectedGameVersion => new Version(1, 16, 0, 3);
4242

4343
public static string ExpectedGameVersionString => BuildConfig.VersionToString(EXPECTED_GAME_VERSION_U, false);
4444

0 commit comments

Comments
 (0)