Get a random (float) number.
| 9753 | |
| 9754 | // Get a random (float) number. |
| 9755 | float CQuake3GameInterface::Random( float min, float max ) |
| 9756 | { |
| 9757 | return ((rand() * (max - min)) / (float)RAND_MAX) + min; |
| 9758 | } |
| 9759 | |
| 9760 | void CQuake3GameInterface::Play( int taskID, int entID, const char *type, const char *name ) |
| 9761 | { |