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

Comparing deliantra/server/include/micropather.h (file contents):
Revision 1.1 by root, Thu May 24 00:24:11 2007 UTC vs.
Revision 1.2 by root, Mon Jun 11 21:38:14 2007 UTC

50 50
51#ifndef GRINLIZ_TYPES_INCLUDED 51#ifndef GRINLIZ_TYPES_INCLUDED
52 #if defined(_MSC_VER) && (_MSC_VER >= 1400 ) 52 #if defined(_MSC_VER) && (_MSC_VER >= 1400 )
53 #include <stdlib.h> 53 #include <stdlib.h>
54 typedef uintptr_t UPTR; 54 typedef uintptr_t UPTR;
55 #elif defined (__GNUC__) && (__GNUC__ >= 3 ) 55 #else
56 #include <stdlib.h> 56 #include <stdint.h>
57 typedef uintptr_t UPTR; 57 typedef uintptr_t UPTR;
58 #else
59 // Assume not 64 bit pointers. Get a new compiler.
60 typedef unsigned UPTR;
61 #endif 58 #endif
62#endif 59#endif
63 60
64/* USE_LIST and USE_BINARY_HASH change the some of details the pather algorithms. They 61/* USE_LIST and USE_BINARY_HASH change the some of details the pather algorithms. They
65 are set optimally in my experiments, but different applications may benefit 62 are set optimally in my experiments, but different applications may benefit

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines