| 1230 | } |
| 1231 | |
| 1232 | void NPCHazard::WavesOfEvil() |
| 1233 | { |
| 1234 | F32 rad = this->custdata.collide.rad_cur; |
| 1235 | |
| 1236 | for (S32 i = 0; i < 8; i++) |
| 1237 | { |
| 1238 | xVec3 pos_emit; |
| 1239 | xVec3 vel_emit; |
| 1240 | |
| 1241 | pos_emit = *(xVec3*)At() * (2.0f * (xurand() - 0.5f)); |
| 1242 | pos_emit += *(xVec3*)Right() * (2.0f * (xurand() - 0.5f)); |
| 1243 | pos_emit.normalize(); |
| 1244 | pos_emit *= rad; |
| 1245 | |
| 1246 | pos_emit += *(xVec3*)Up() * 0.2f; |
| 1247 | pos_emit += this->pos_hazard; |
| 1248 | |
| 1249 | vel_emit = *(xVec3*)Up(); |
| 1250 | vel_emit *= 5.5f; |
| 1251 | |
| 1252 | NPAR_EmitH2OSpray(&pos_emit, &vel_emit); |
| 1253 | } |
| 1254 | } |
| 1255 | |
| 1256 | S32 NPCHazard::KickBlooshBlob(const xVec3* vel_flight) |
| 1257 | { |
nothing calls this directly
no test coverage detected