diff options
author | matthijs <matthijs@openttd.org> | 2005-05-23 19:00:16 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2005-05-23 19:00:16 +0000 |
commit | ea0f4757c6d6ad0341fcffaa70c933982becd2f7 (patch) | |
tree | b3cb09e2076d5931bdacfa8040e1bdb1314d8e01 /npf.h | |
parent | 1684e0d0bf753217146ab556c376a9a9933161e7 (diff) | |
download | openttd-ea0f4757c6d6ad0341fcffaa70c933982becd2f7.tar.xz |
(svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid)
Diffstat (limited to 'npf.h')
-rw-r--r-- | npf.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -43,13 +43,6 @@ typedef enum { /* Flags for AyStarNode.userdata[NPF_NODE_FLAGS]. Use NPFGetBit() NPF_FLAG_SEEN_SIGNAL, /* Used to mark that a signal was seen on the way, for rail only */ NPF_FLAG_REVERSE, /* Used to mark that this node was reached from the second start node, if applicable */ NPF_FLAG_LAST_SIGNAL_RED, /* Used to mark that the last signal on this path was red */ - NPF_FLAG_TARGET_CHECKED, /* Used by end node checking function of npf to mark - that they have evaluated this node. When this - flag is on, NPF_FLAG_IS_TARGET is on when the - node is a target, and off when it is not. Should - never be used directly, only by the end node - checking functions for caching of results. */ - NPF_FLAG_IS_TARGET, /* See comment for NPF_FLAG_TARGET_CHECKED */ } NPFNodeFlag; typedef struct NPFFoundTargetData { /* Meant to be stored in AyStar.userpath */ |