summaryrefslogtreecommitdiff
path: root/src/npf.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-02 22:52:36 +0000
committerrubidium <rubidium@openttd.org>2008-08-02 22:52:36 +0000
commit4f5f3846a041d002dc05ba17b7ae035108257603 (patch)
tree200074fca91ef53cb9bbbfc8f166f7ed7b2df195 /src/npf.h
parentcd041b6944a392dedeef5fa8caa07c340200d9d7 (diff)
downloadopenttd-4f5f3846a041d002dc05ba17b7ae035108257603.tar.xz
(svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc)
Diffstat (limited to 'src/npf.h')
-rw-r--r--src/npf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/npf.h b/src/npf.h
index d1429b35a..9ab9a456b 100644
--- a/src/npf.h
+++ b/src/npf.h
@@ -66,6 +66,8 @@ enum {
/* Flags for AyStarNode.userdata[NPF_NODE_FLAGS]. Use NPFGetBit() and NPFGetBit() to use them. */
enum NPFNodeFlag {
NPF_FLAG_SEEN_SIGNAL, ///< Used to mark that a signal was seen on the way, for rail only
+ NPF_FLAG_2ND_SIGNAL, ///< Used to mark that two signals were seen, rail only
+ NPF_FLAG_3RD_SIGNAL, ///< Used to mark that three signals were seen, 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_IGNORE_START_TILE, ///< Used to mark that the start tile is invalid, and searching should start from the second tile on