MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetFlagTexture

Method SetFlagTexture

engine/Poseidon/World/Detection/Detector.cpp:1587–1597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1585}
1586
1587void Flag::SetFlagTexture(Texture* texture)
1588{
1589 if (_texture != texture)
1590 {
1591 _texture = texture;
1592 if (texture)
1593 {
1594 _shape->RegisterTexture(texture, _fabric);
1595 }
1596 }
1597}
1598
1599void Flag::Draw(int level, ClipFlags clipFlags, const FrameBase& pos)
1600{

Callers

nothing calls this directly

Calls 5

FindPictureFunction · 0.85
GlobLoadTextureFunction · 0.85
LowerMethod · 0.80
RegisterTextureMethod · 0.45
GetLengthMethod · 0.45

Tested by

no test coverage detected