Initial VS2013, C++11 and linux commit. This most likely won't build and suffers from some compiler issues. More commits to follow.

This commit is contained in:
mfeemster
2014-08-31 21:25:15 -07:00
parent d1196f4205
commit 79d611dd20
70 changed files with 8833 additions and 1902 deletions

View File

@ -35,7 +35,7 @@
typedef unsigned long int ISAAC_INT;
const ISAAC_INT GOLDEN_RATIO = ISAAC_INT(0x9e3779b9);
#else
typedef unsigned __int64 ISAAC_INT;
typedef uint64_t ISAAC_INT;
const ISAAC_INT GOLDEN_RATIO = ISAAC_INT(0x9e3779b97f4a7c13);
#endif
@ -55,7 +55,7 @@ public:
/// Global ISAAC RNG to be used from anywhere. This is not thread safe, so take caution to only
/// use it when no other threads are.
/// </summary>
static auto_ptr<QTIsaac<ALPHA, ISAAC_INT>> GlobalRand;
static unique_ptr<QTIsaac<ALPHA, ISAAC_INT>> GlobalRand;
/// <summary>
/// The structure which holds all of the random information.