functions.h
changeset 1538 e1e80f10c029
parent 1420 83e74e76f600
child 1539 b3fce185178a
equal deleted inserted replaced
1537:517b9b9cfaa0 1538:e1e80f10c029
    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__)