| 48 | |
| 49 | |
| 50 | void zThrown_Setup(zScene* sc) |
| 51 | { |
| 52 | ThrowableStats* stats; |
| 53 | char tmpstr[256]; |
| 54 | |
| 55 | F32 airTime; |
| 56 | |
| 57 | c_fruit.killTimer = globals.player.carry.fruitLifetime; |
| 58 | airTime = xsqrt((2.0f * globals.player.carry.throwHeight) / globals.player.carry.throwGravity); |
| 59 | globals.player.carry.throwDistance = globals.player.carry.throwGravity * airTime; |
| 60 | l_normal.throwSpeedXZ = globals.player.carry.throwDistance / (2.0f * airTime); |
| 61 | } |
| 62 | |
| 63 | void zThrown_AddTempFrame(zThrownStruct* thrown) |
| 64 | { |