Equivalent; scheduling.
| 214 | |
| 215 | // Equivalent; scheduling. |
| 216 | static void zEntHangableMountFX(zEntHangable* ent) |
| 217 | { |
| 218 | xParEmitterCustomSettings info; |
| 219 | |
| 220 | if (sMountEmitter != NULL) |
| 221 | { |
| 222 | info.custom_flags = 0x300; |
| 223 | for (S32 i = 0; i < 10; i++) |
| 224 | { |
| 225 | info.pos = ent->pivot; |
| 226 | info.vel.x = 0.0f; |
| 227 | info.vel.y = -(xurand() * 2.0f - -2.0f); |
| 228 | info.vel.z = 0.0f; |
| 229 | xParEmitterEmitCustom(sMountEmitter, (1.0f / 30.0f), &info); |
| 230 | } |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | S32 zEntHangableEventCB(xBase* from, xBase* to, U32 toEvent, const F32* toParam, xBase*) |
| 235 | { |
no test coverage detected