1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Implemented flagged garrisons passableness ( #150 ). Full support for BorderGates.

This commit is contained in:
Michał W. Urbańczyk
2009-12-20 17:14:14 +00:00
parent 4780bcd1a6
commit 1c32679f93
9 changed files with 44 additions and 10 deletions

View File

@@ -277,7 +277,14 @@ struct CPathNode
struct CGPathNode
{
enum {ACCESSIBLE=1, VISITABLE, BLOCKVIS, BLOCKED}; //BLOCKVIS - visitable from neighbouring tile but not passable
enum
{
ACCESSIBLE=1, //tile can be entered and passed
VISITABLE, //tile can be entered as the last tile in path
BLOCKVIS, //visitable from neighbouring tile but not passable
BLOCKED //tile can't be entered nor visited
};
ui8 accessible; //the enum above
ui8 land;
ui8 turns;