1
0
Fork 0
Commit Graph

16 Commits

Author SHA1 Message Date
peterbell10 84289a2ba9
Cleanup some workarounds and warnings (#4735)
* Cleanup thread_local usage in FastRandom

* Use constexpr to avoid clang warning

* Fix more Wglobal-constructor warnings

* Make MSVC happy?
2020-05-10 16:16:49 +00:00
peterbell10 759618b035 Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
peterbell10 360d8eade0 FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
Alexander Harkness 58b29adc88 Fixed cFastRandom Test. (#3291)
This resolves #3290
2016-08-03 09:35:42 +02:00
Cengiz Can bb48d8a7e8 Use an unreserved qualifier for thread local storage
Fixes #1906
2015-11-03 12:09:40 +03:00
Alexander Harkness 1049d5b706 properly this time? 2015-05-17 16:30:13 +01:00
Alexander Harkness adecdc2f07 Fixed typo. 2015-05-17 16:10:55 +01:00
worktycho c94134ec5e Fix FastRandom seeding
Fixes #1815
Fixes #2021
2015-05-17 13:16:18 +01:00
Tiger Wang a8a2d3d504 Use thread_local in cFastRandom 2015-03-14 21:52:13 +00:00
Tiger Wang e94886c140 Fixed grass spread, closes #1743
- Removed the salt parameter in cFastRandom functions, it wasn't doing
what we thought it was following the move to C++11
2015-03-14 00:59:53 +00:00
Mattes D 3c3cb198f3 Fixed c++11 branch issues. 2014-12-07 15:46:27 +01:00
Tiger Wang aa19a3afb0 Migrated random generators to std::random 2014-10-19 14:10:18 +01:00
Tycho 71c51783f3 Initalize counter in fastrandom
Fixes CID 43622
2014-04-27 13:15:19 -07:00
daniel0916 af566d5a79 Added Enchantment-Slot-Level generating 2014-04-07 19:52:35 +02:00
madmaxoft b6e4d2c263 Properly fixed warnings in cFastRandom. 2013-12-20 16:11:25 +01:00
Alexander Harkness 675b4aa878 Moved source to src 2013-11-24 14:19:41 +00:00