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

Method mapHas1

src/OpenLoco/src/World/Station.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 bool mapHas1(const tile_coord_t x, const tile_coord_t y) const
60 {
61 return (data[y * kMapColumns + x] & (1 << enumValue(CatchmentFlags::flag_0))) != 0;
62 }
63 bool mapHas2(const tile_coord_t x, const tile_coord_t y) const
64 {
65 return (data[y * kMapColumns + x] & (1 << enumValue(CatchmentFlags::flag_1))) != 0;

Callers 1

isWithinCatchmentDisplayFunction · 0.80

Calls 1

enumValueFunction · 0.85

Tested by

no test coverage detected