From 4f5f3846a041d002dc05ba17b7ae035108257603 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 2 Aug 2008 22:52:36 +0000 Subject: (svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) --- src/npf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/npf.h') 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 -- cgit v1.2.3-54-g00ecf