| 4031 | } |
| 4032 | |
| 4033 | void zNPCGoalKnock::StreakUpdate() |
| 4034 | { |
| 4035 | zNPCRobot* npc = (zNPCRobot*)(psyche->clt_owner); |
| 4036 | xVec3 a, b, c; |
| 4037 | |
| 4038 | xVec3Copy(&c, (xVec3*)NPCC_rightDir(npc)); |
| 4039 | xVec3SMul(&c, &c, 0.1f); |
| 4040 | xVec3Copy(&a, (xVec3*)npc->Pos()); |
| 4041 | a.y += 0.5f; |
| 4042 | b = a; |
| 4043 | xVec3Add(&a, &a, &c); |
| 4044 | xVec3Sub(&b, &b, &c); |
| 4045 | xFXStreakUpdate(this->streakID, &a, &b); |
| 4046 | } |
| 4047 | |
| 4048 | S32 zNPCGoalAfterlife::Enter(F32 dt, void* updCtxt) |
| 4049 | { |
nothing calls this directly
no test coverage detected