diff options
author | rubidium <rubidium@openttd.org> | 2008-08-02 22:52:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-02 22:52:36 +0000 |
commit | 4f5f3846a041d002dc05ba17b7ae035108257603 (patch) | |
tree | 200074fca91ef53cb9bbbfc8f166f7ed7b2df195 /src/npf.h | |
parent | cd041b6944a392dedeef5fa8caa07c340200d9d7 (diff) | |
download | openttd-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |