| 1319 | } |
| 1320 | |
| 1321 | void zNPCB_SB2::NewTime(xScene* xscn, F32 dt) |
| 1322 | { |
| 1323 | xVec3 tmp; |
| 1324 | |
| 1325 | if (this->flag.nodes_taken == NULL) |
| 1326 | { |
| 1327 | this->move_nodes(); |
| 1328 | } |
| 1329 | |
| 1330 | for (S32 i = 0; i < 2; i++) |
| 1331 | { |
| 1332 | this->move_hand(this->hands[i], dt); |
| 1333 | } |
| 1334 | |
| 1335 | this->update_bounds(); |
| 1336 | this->update_platforms(dt); |
| 1337 | this->update_slugs(dt); |
| 1338 | |
| 1339 | this->models[1]->Flags = this->models[1]->Flags & 0xefff; |
| 1340 | this->models[2]->Flags = this->models[2]->Flags & 0xefff; |
| 1341 | |
| 1342 | this->sound_loc.mouth = xModelGetBoneLocation(*model, 4); |
| 1343 | this->sound_loc.body = this->sound_loc.mouth; |
| 1344 | this->sound_loc.hand[0] = xModelGetBoneLocation(*model, 16); |
| 1345 | this->sound_loc.hand[1] = xModelGetBoneLocation(*model, 21); |
| 1346 | |
| 1347 | zNPCCommon::NewTime(xscn, dt); |
| 1348 | } |
| 1349 | |
| 1350 | void zNPCB_SB2::decompose() |
| 1351 | { |
nothing calls this directly
no test coverage detected