73% match. Kind of a difficult function
| 487 | this->frozenSB = NULL; |
| 488 | this->frozenSB = (xModelInstance*)xModelInstanceAlloc(tempIModel, NULL, 0, 0, NULL); |
| 489 | |
| 490 | tempIModel = (RpAtomic*)xSTFindAsset(xStrHash("b2_SB_frozen_ice"), NULL); |
| 491 | this->frozenSBIce = NULL; |
| 492 | this->frozenSBIce = (xModelInstance*)xModelInstanceAlloc(tempIModel, NULL, 0, 0, NULL); |
| 493 | this->frozenSBIce->Alpha = 0.7f; |
| 494 | |
| 495 | this->round1Csn = (zCutsceneMgr*)zSceneFindObject(xStrHash("CSNMGR_ROUND1")); |
| 496 | this->round2Csn = (zCutsceneMgr*)zSceneFindObject(xStrHash("CSNMGR_ROUND2")); |
| 497 | this->round3Csn = (zCutsceneMgr*)zSceneFindObject(xStrHash("CSNMGR_ROUND3")); |
| 498 | |
| 499 | this->safeGroundPortal = (_zPortal*)zSceneFindObject(xStrHash("SAFEGROUND_PORTAL")); |
| 500 | xVec3Copy(&this->arenaExtent, (xVec3*)xSTFindAsset(xStrHash("MK ARENA EXTENT"), NULL)); |
| 501 | xVec3Copy(&this->fudgePos, (xVec3*)xSTFindAsset(xStrHash("FUDGE_POS"), NULL)); |
| 502 | xVec3Init(&this->fudgeFace, 0.0f, 0.0f, 1.0f); |
| 503 | xVec3AddTo(&this->fudgeFace, &this->fudgePos); |
| 504 | |
| 505 | // |
| 506 | |
| 507 | strcpy(objName, "ROBOT_CHUCK_NPC01"); |
| 508 | |
| 509 | for (S32 i = 0; i < 3; i++) |
| 510 | { |
| 511 | this->chuckList[i] = (zNPCCommon*)zSceneFindObject(xStrHash(objName)); |
| 512 | objName[16]++; |
| 513 | } |
| 514 | |
| 515 | strcpy(objName, "MP_CHUCK_ARENA01"); |
| 516 | |
| 517 | for (S32 i = 0; i < 3; i++) |
| 518 | { |
| 519 | this->chuckMovePoint[i] = (zMovePoint*)zSceneFindObject(xStrHash(objName)); |
| 520 | objName[15]++; |
| 521 | } |
| 522 | |
| 523 | for (S32 i = 0; i < 3; i++) |
| 524 | { |
| 525 | ((zNPCRobot*)this->chuckList[i])->DuploOwner(this); |
| 526 | } |
| 527 | |
| 528 | this->newsfish = (zNPCNewsFish*)zSceneFindObject(xStrHash("NEWSFISH")); |
| 529 | this->newsfish->TalkOnScreen(1); |
| 530 | |
| 531 | strcpy(tempString, "HEALTH_00"); |
| 532 | |
| 533 | for (S32 i = 0; i < 2; i++) |
| 534 | { |
| 535 | this->underwear[i] = (zEntPickup*)zSceneFindObject(xStrHash(tempString)); |
| 536 | tempString[8]++; |
| 537 | } |
| 538 | |
| 539 | this->conveyorBelt[0] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 01")); |
| 540 | this->conveyorBelt[1] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 02")); |
| 541 | this->conveyorBelt[2] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 03")); |
| 542 | this->conveyorBelt[3] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 04")); |
| 543 | this->conveyorBelt[4] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 08")); |
| 544 | this->conveyorBelt[5] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 09")); |
| 545 | this->conveyorBelt[6] = (zPlatform*)zSceneFindObject(xStrHash("CONVEYOR BELT 10")); |
| 546 |
nothing calls this directly
no test coverage detected