functions.h
changeset 2091 97197b795fe6
parent 2078 94c05035e2ce
child 2125 3098398bf7ff
equal deleted inserted replaced
2090:9bbad972eb2a 2091:97197b795fe6
   124 
   124 
   125 
   125 
   126 uint32 InteractiveRandom(void); /* Used for random sequences that are not the same on the other end of the multiplayer link */
   126 uint32 InteractiveRandom(void); /* Used for random sequences that are not the same on the other end of the multiplayer link */
   127 uint InteractiveRandomRange(uint max);
   127 uint InteractiveRandomRange(uint max);
   128 
   128 
       
   129 
       
   130 // Used for profiling
       
   131 #define TIC() { extern uint32 rdtsc(void); uint32 _xxx_ = rdtsc();
       
   132 #define TOC(s) 	_xxx_ = rdtsc() - _xxx_; printf("%s: %d\n", s, _xxx_); }
       
   133 
       
   134 
   129 void SetDate(uint date);
   135 void SetDate(uint date);
   130 /* facedraw.c */
   136 /* facedraw.c */
   131 void DrawPlayerFace(uint32 face, int color, int x, int y);
   137 void DrawPlayerFace(uint32 face, int color, int x, int y);
   132 
   138 
   133 /* texteff.c */
   139 /* texteff.c */