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

Method init

src/SB/Game/zEntCruiseBubble.cpp:1188–1204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186 }
1187
1188 bool uv_animated_model::init(RpAtomic* m)
1189 {
1190 this->model = m;
1191 if (m == NULL)
1192 {
1193 return false;
1194 }
1195
1196 if (!this->clone_uv(this->uv, this->uvsize, m))
1197 {
1198 return false;
1199 }
1200
1201 this->offset.assign(0.0f, 0.0f);
1202 this->offset_vel.assign(0.0f, 0.0f);
1203 return true;
1204 }
1205
1206 bool uv_animated_model::clone_uv(RwTexCoords*& coords, S32& size, RpAtomic* m) const
1207 {

Callers 3

init_wake_ribbonsFunction · 0.45
init_explode_decalFunction · 0.45
init_hudFunction · 0.45

Calls 11

clone_uvMethod · 0.95
init_missle_modelFunction · 0.85
init_wake_ribbonsFunction · 0.85
init_explode_decalFunction · 0.85
init_shrapnelFunction · 0.85
init_hudFunction · 0.85
init_debugFunction · 0.85
xCameraGetFOVFunction · 0.85
init_soundFunction · 0.70
load_settingsFunction · 0.70
init_statesFunction · 0.70

Tested by

no test coverage detected