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

Function exportSplash

src/OpenLoco/src/S5/S5Entity.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 static Entity exportSplash(const OpenLoco::Splash& src)
118 {
119 Entity dst{};
120 S5::Splash& dstSplash = reinterpret_cast<S5::Splash&>(dst);
121 dstSplash.base = exportEntityBase(src, enumValue(EffectType::splash), 0);
122 dstSplash.frame = src.frame;
123 return dst;
124 }
125
126 static Entity exportFireball(const OpenLoco::Fireball& src)
127 {

Callers 1

exportEffectEntityFunction · 0.85

Calls 2

exportEntityBaseFunction · 0.85
enumValueFunction · 0.85

Tested by

no test coverage detected