Linus Probert
563ebf9204
Adds another build fix
2019-02-22 00:38:39 +01:00
Linus Probert
3533d5ca58
Fixes build again
2019-02-22 00:36:10 +01:00
Linus Probert
97b097af41
Fixes builds
2019-02-22 00:34:56 +01:00
Linus Probert
685bf97467
Makes the custom random generator deterministic across platforms
...
TIL that the generators are implemented according to spec but the
distributions are custom. Since this is C I think we can manage without
distributions.
This still needs a test.
2019-02-22 00:27:19 +01:00
Linus Probert
cc375bba4e
Implements control over lua random numbers
2019-02-22 00:09:31 +01:00
Linus Probert
1205856d00
Attempt att syncing random generation
...
The default rand() and srand() differ between msvc and gcc.
Attempting to fix this by implementing a custom C++ library.
2019-02-21 20:57:38 +01:00