mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:53:51 +00:00
de5a07ee71
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@138 ea6a568a-9f4f-0410-981a-c910a81bb256
8 lines
309 B
Text
8 lines
309 B
Text
module random;
|
|
|
|
native uint rand(); // Return a number between 0 and uint.max, inclusive
|
|
native float frand(); // Return a number between 0 and 1, inclusive
|
|
|
|
// Return a random number between a and b, inclusive. Allows negative
|
|
// numbers, and works with a>b, a<b and a==b
|
|
native int randInt(int a, int b);
|