Add road/tram type flag to disallow tunnels

This commit is contained in:
Jonathan G Rennison
2023-02-19 15:03:18 +00:00
parent 3497d0dcdb
commit 663a3969a0
9 changed files with 32 additions and 5 deletions

View File

@@ -1791,9 +1791,10 @@ class NIHRoadType : public NIHelper {
HasBit(rti->flags, ROTF_HIDDEN) ? 'h' : '-',
HasBit(rti->flags, ROTF_TOWN_BUILD) ? 'T' : '-');
output.print(buffer);
seprintf(buffer, lastof(buffer), " Extra Flags: %c%c",
seprintf(buffer, lastof(buffer), " Extra Flags: %c%c%c",
HasBit(rti->extra_flags, RXTF_NOT_AVAILABLE_AI_GS) ? 's' : '-',
HasBit(rti->extra_flags, RXTF_NO_TOWN_MODIFICATION) ? 't' : '-');
HasBit(rti->extra_flags, RXTF_NO_TOWN_MODIFICATION) ? 't' : '-',
HasBit(rti->extra_flags, RXTF_NO_TUNNELS) ? 'T' : '-');
output.print(buffer);
seprintf(buffer, lastof(buffer), " Collision mode: %u", rti->collision_mode);
output.print(buffer);