Aokromes
d6d3f06f06
New year
2020-01-04 18:32:38 +01:00
funjoker
6c56916b29
Misc: Update copyright information
...
Happy new year
2020-01-01 18:47:28 +01:00
Shauren
bbdf60701b
Core/Random: Refactor random number generation to use std::uniform_*_distribution to restrict result range instead of doing that ourselves
...
* Seed SFMTRand with more values for its state
# Conflicts:
# src/common/Utilities/Random.cpp
2019-11-10 18:58:25 +01:00
Treeston
f441d36d78
Misc: Pass std::chrono types by value everywhere.
2018-07-23 13:53:13 +02:00
Aokromes
4bd0525edd
Update copyright note for 2018
2018-01-01 01:06:19 +01:00
Shauren
38d1fc9ab3
Core/Utils: Changed all Trinity::Containers utilities to work on all container types (including arrays where it makes sense)
...
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
* Added utility IteratorPair class with begin/end methods and MapEqualRange for use in range for syntax with multimaps
(cherry picked from commit a1e3b54e07 )
2017-06-07 09:14:37 +02:00
Shauren
ed95f9249b
Core/Random: Remove no longer needed hack for VS 2013
...
(cherry picked from commit 59fe908744 )
2017-04-14 13:45:21 +02:00
Aokromes
719a317a67
Update copyright note for 2017
2017-01-02 07:26:38 +01:00
Naios
f0e47a27f9
Core/Define: Remove the conditional macro for constexpr.
...
* Not needed anymore since the requirements were raised to MSVC 2015.
2016-08-29 22:08:31 +02:00
Aokromes
384a5216fd
Core/Common: Converted the common library to a shared library.
...
* There is still the possibility to static link against common.
2016-08-10 08:19:25 +02:00
jackpoz
0f965a530e
Common/Threading: Reduce differences between 3.3.5 and 6.x branches
...
Code functionality shouldn't have been modified.
2016-08-04 23:48:39 +02:00
treeston
224b42c53a
Util/Random: Add randtime(Milliseconds const&, Milliseconds const&) to supersede urandms(uint32,uint32) for scripts being ported to std::chrono.
2016-03-01 23:09:25 +01:00
Shauren
55ef8d80a3
Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected
...
(cherry picked from commit ae20b2ab56 )
(cherry picked from commit 921d893c2a )
(cherry picked from commit 9ab10d6e68 )
(cherry picked from commit 00c878e73a )
(cherry picked from commit ff9c999334 )
(cherry picked from commit bc94bacce4 )
(cherry picked from commit d5b0ffbe9b )
2016-02-09 19:26:29 +01:00