Page 1 of 1

Where are the Source Codes of All Those rng.xxx Functions?

Posted: Thu Oct 31, 2019 5:53 am
by helminthauge
I want to know how exact some of these functions, i.e. rng.normalFloat work, but I can't find their source codes. Where are they?

Re: Where are the Source Codes of All Those rng.xxx Function

Posted: Thu Oct 31, 2019 7:32 am
by helminthauge
ok, I found them myself.
The usage of some basic ones can be found in /src/core_rng.luadoc . More advanced ones based on these basic ones can be found in /game/loader/pre-init.lua .