MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / hasSaveFlags

Function hasSaveFlags

src/OpenLoco/src/S5/S5.cpp:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 static bool exportGameState(Stream& stream, const S5File& file, const std::vector<ObjectHeader>& packedObjects);
53
54 constexpr bool hasSaveFlags(SaveFlags flags, SaveFlags flagsToTest)
55 {
56 return (flags & flagsToTest) != SaveFlags::none;
57 }
58
59 constexpr bool hasLoadFlags(LoadFlags flags, LoadFlags flagsToTest)
60 {

Callers 1

prepareHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected