mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
vcmi: modernize headers
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
typedef std::mt19937 TGenerator;
|
||||
typedef std::uniform_int_distribution<int> TIntDist;
|
||||
typedef std::uniform_int_distribution<int64_t> TInt64Dist;
|
||||
typedef std::uniform_real_distribution<double> TRealDist;
|
||||
typedef std::function<int()> TRandI;
|
||||
using TGenerator = std::mt19937;
|
||||
using TIntDist = std::uniform_int_distribution<int>;
|
||||
using TInt64Dist = std::uniform_int_distribution<int64_t>;
|
||||
using TRealDist = std::uniform_real_distribution<double>;
|
||||
using TRandI = std::function<int()>;
|
||||
|
||||
/// The random generator randomly generates integers and real numbers("doubles") between
|
||||
/// a given range. This is a header only class and mainly a wrapper for
|
||||
|
||||
Reference in New Issue
Block a user