ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Where are the Source Codes of All Those rng.xxx Functions?
http://forums.te4.org/viewtopic.php?f=36&t=50110
Page 1 of 1

Author:  helminthauge [ Thu Oct 31, 2019 5:53 am ]
Post subject:  Where are the Source Codes of All Those rng.xxx Functions?

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?

Author:  helminthauge [ Thu Oct 31, 2019 7:32 am ]
Post subject:  Re: Where are the Source Codes of All Those rng.xxx Function

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 .

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/