| 109 | } |
| 110 | |
| 111 | void zRumbleStartEntDistance(xEnt* ent, F32 dist, _tagRumbleType type, F32 maxTime) |
| 112 | { |
| 113 | xVec3 ent_player_dist; |
| 114 | xVec3Sub(&ent_player_dist, xEntGetPos(&globals.player.ent), xEntGetPos(ent)); |
| 115 | |
| 116 | zRumbleStartDistance(globals.currentActivePad, SQR(ent_player_dist.x) + SQR(ent_player_dist.z), |
| 117 | SQR(dist), type, maxTime); |
| 118 | } |
| 119 | |
| 120 | S32 zPadAddRumble(_tagRumbleType type, F32 time, S32 replace, U32 fxflags) |
| 121 | { |
no test coverage detected