MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xEntBoulder_Setup

Function xEntBoulder_Setup

src/SB/Core/x/xEntBoulder.cpp:824–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

822}
823
824void xEntBoulder_Setup(xEntBoulder* ent)
825{
826 ent->asset->redMult = 1.0f;
827 ent->asset->greenMult = 1.0f;
828 ent->asset->blueMult = 1.0f;
829
830 if (ent->model != NULL)
831 {
832 ent->asset->seeThru = ent->model->Alpha;
833 }
834 else
835 {
836 ent->asset->seeThru = 1.0f;
837 }
838
839 xEntSetup(ent);
840}
841
842void xEntBoulder_Reset(xEntBoulder* boul, xScene* sc)
843{

Callers 1

zSceneSetupFunction · 0.85

Calls 1

xEntSetupFunction · 0.70

Tested by

no test coverage detected