ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/util.h
(Generate patch)

Comparing deliantra/server/include/util.h (file contents):
Revision 1.30 by root, Mon Jan 15 01:50:33 2007 UTC vs.
Revision 1.31 by root, Mon Jan 15 02:39:41 2007 UTC

32 ((unsigned int)(val) - (unsigned int)(beg) <= (unsigned int)(end) - (unsigned int)(beg)) 32 ((unsigned int)(val) - (unsigned int)(beg) <= (unsigned int)(end) - (unsigned int)(beg))
33 33
34// in range excluding end 34// in range excluding end
35#define IN_RANGE_EXC(val,beg,end) \ 35#define IN_RANGE_EXC(val,beg,end) \
36 ((unsigned int)(val) - (unsigned int)(beg) < (unsigned int)(end) - (unsigned int)(beg)) 36 ((unsigned int)(val) - (unsigned int)(beg) < (unsigned int)(end) - (unsigned int)(beg))
37
38void fork_abort (const char *msg);
37 39
38// this is much faster than crossfires original algorithm 40// this is much faster than crossfires original algorithm
39// on modern cpus 41// on modern cpus
40inline int 42inline int
41isqrt (int n) 43isqrt (int n)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines