MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / trackDesignGetExtension

Function trackDesignGetExtension

src/openrct2/ride/TrackDesign.cpp:2219–2235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2217}
2218
2219u8string trackDesignGetExtension(RCT12::TD46Version version)
2220{
2221 switch (version)
2222 {
2223 case RCT12::TD46Version::td4:
2224 case RCT12::TD46Version::td4AA:
2225 return ".td4";
2226 case RCT12::TD46Version::td6:
2227 return ".td6";
2228 case RCT12::TD46Version::td7:
2229 return ".td7";
2230 case RCT12::TD46Version::unknown:
2231 break;
2232 }
2233
2234 return "";
2235}

Callers 3

GetFilterPatternByTypeFunction · 0.85
SelectFunction · 0.85
InstallTrackDesignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected