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

Method GetQueuePreviewImage

src/openrct2/object/FootpathEntry.h:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return image + 71;
42 }
43 constexpr uint32_t GetQueuePreviewImage() const
44 {
45 // Editor-only paths usually lack queue images. In this case, use the main path image.
46 if (flags & FOOTPATH_ENTRY_FLAG_SHOW_ONLY_IN_SCENARIO_EDITOR)
47 {
48 return GetPreviewImage();
49 }
50
51 return image + 72;
52 }
53 constexpr uint32_t GetRailingsImage() const
54 {
55 return image + 73;

Callers 3

LoadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected