functions.h
changeset 1539 3d5b40209884
parent 1538 c67f0386df1d
child 1542 2ca6d1624e6d
equal deleted inserted replaced
1538:c67f0386df1d 1539:3d5b40209884
    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__)