functions.h
changeset 1538 c67f0386df1d
parent 1420 5308b177b5b3
child 1539 3d5b40209884
equal deleted inserted replaced
1537:edd70cde5f84 1538:c67f0386df1d
    90 // *  is to help finding desync problems.
    90 // *  is to help finding desync problems.
    91 // *
    91 // *
    92 // * Warning: DO NOT enable this unless you understand what it does
    92 // * Warning: DO NOT enable this unless you understand what it does
    93 // **************
    93 // **************
    94 
    94 
    95 //#define RANDOM_DEBUG
    95 #define RANDOM_DEBUG
    96 
    96 
    97 #ifdef RANDOM_DEBUG
    97 #ifdef RANDOM_DEBUG
    98 	#define Random() DoRandom(__LINE__, __FILE__)
    98 	#define Random() DoRandom(__LINE__, __FILE__)
    99 	uint32 DoRandom(int line, const char *file);
    99 	uint32 DoRandom(int line, const char *file);
   100 	#define RandomRange(max) DoRandomRange(max, __LINE__, __FILE__)
   100 	#define RandomRange(max) DoRandomRange(max, __LINE__, __FILE__)