X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_random.h;h=c65b93a93049801ab51d98f4bfec2197f20ca6eb;hb=0809ba8eb14cf885c8f197d751c80cced84d9676;hp=0af2dcb36eefec47b7abdb62f207c2919c0c379d;hpb=b3016b249333ac0ab0008d8c6c4d9029b2ff30c9;p=synfig.git diff --git a/ETL/trunk/ETL/_random.h b/ETL/trunk/ETL/_random.h index 0af2dcb..c65b93a 100644 --- a/ETL/trunk/ETL/_random.h +++ b/ETL/trunk/ETL/_random.h @@ -41,28 +41,28 @@ class rand_source_xor public: typedef int seed_type; typedef short value_type; - + private: short entropy_pool[256]; int pool_index; - + public: random() { seed(0); mod=offset=0; } - + void seed(const seed_type &x) { pool_index=0; } - + void add_entropy(value_type entropy) { int i; for(i=0;iPOOL_SIZE)