(sctcache, bestp) [!DO_EFF_MEM_CHECKING]: cache isn't used, don't
define it.
This commit is contained in:
parent
21dd4cfc0f
commit
69d06bad46
1 changed files with 4 additions and 0 deletions
|
@ -66,14 +66,18 @@
|
|||
#define BP_ASHASHSIZE 128 /* A* queue hash table size */
|
||||
#define BP_NEIGHBORS 6 /* max number of neighbors */
|
||||
|
||||
#ifdef DO_EFF_MEM_CHECKING
|
||||
struct sctcache {
|
||||
coord x, y;
|
||||
struct sctstr *sp;
|
||||
struct sctcache *next;
|
||||
};
|
||||
#endif /* DO_EFF_MEM_CHECKING */
|
||||
|
||||
struct bestp {
|
||||
#ifdef DO_EFF_MEM_CHECKING
|
||||
struct sctcache *sctcachetab[BP_SCTHASHSIZE];
|
||||
#endif
|
||||
int sctcache_hits;
|
||||
int sctcache_misses;
|
||||
int bp_mobtype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue