mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- a few changes to properly compile in win32
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#ifndef _SHARED_UTIL_RANDOM_H_
|
||||
#define _SHARED_UTIL_RANDOM_H_
|
||||
|
||||
#include "math_wrapper.h"
|
||||
|
||||
namespace Shared { namespace Util {
|
||||
|
||||
// =====================================================
|
||||
@@ -26,7 +28,10 @@ private:
|
||||
|
||||
private:
|
||||
int lastNumber;
|
||||
|
||||
#ifdef USE_STREFLOP
|
||||
streflop::RandomState randomState;
|
||||
#endif
|
||||
|
||||
public:
|
||||
RandomGen();
|
||||
void init(int seed);
|
||||
|
Reference in New Issue
Block a user