15 Commits

Author SHA1 Message Date
yvt
585cbfce1c Improve random number generation
The global RNG state is now protected from simultaneous accesses by
employing a mutex.

Performance sensitive code requiring generation of a large number of
random numbers can utilize `LocalRNG`. This is not thread-safe but
provides a much greater throughput. `LocalRNG` is seeded by the global
RNG only at construction time.
2018-09-17 23:48:38 +09:00
VelocityRa
30d133ce31 Use better random generator 2016-11-22 23:08:35 +02:00
yvt
d83778ce05 Fixed to compile on MSVC 2013 2014-06-14 00:38:20 +09:00
yvt
d856bcadaa Reduce compiler warnings 2014-04-06 22:42:17 +09:00
yvt
12e960a2a3 Updated the startup window 2014-02-10 03:36:51 +09:00
yvt
c5d70a8750 Added ToString function for script 2013-11-23 17:55:19 +09:00
yvt
d62e8b98d8 Added Cross(Vector3, Vector3) for scripting, and some fixes 2013-11-23 11:57:32 +09:00
yvt
765dea1ccc Fixed a bug that made Vector2 unusable in script 2013-11-23 11:27:50 +09:00
yvt
4db816a94c Script now can access a component of vectors 2013-11-17 18:26:22 +09:00
yvt
f08393b475 Extended GetRandom for script 2013-09-22 02:58:00 +09:00
yvt
9da577a491 The very first scripting functionality for modding 2013-09-21 04:17:34 +09:00
yvt
b80a9294e8 Added Script API reference, and some missing exports. 2013-09-14 23:10:04 +09:00
yvt
faf3d53ef4 Extended math scripting interface
* Negating vectors
* 4-component vector
* Transforming a vector by a matrix
2013-09-14 21:08:49 +09:00
yvt
13692657e1 Merge and some refactor (ref-counting some objects) 2013-09-14 13:28:19 +09:00
learn_more
51a50fa8e9 Move scriptbindings to one folder 2013-09-13 23:53:01 +02:00