| 7650 | } |
| 7651 | |
| 7652 | uint16 cFodder::tool_RandomGet(size_t pMin, size_t pMax) { |
| 7653 | uint16 Rand = mRandom.getu(); |
| 7654 | uint16 Mod = (uint16) (pMax - pMin + 1); |
| 7655 | |
| 7656 | return (uint16) ((Rand % Mod) + pMin); |
| 7657 | } |
| 7658 | |
| 7659 | int16 cFodder::tool_RandomGet() { |
| 7660 |