Subversion Repositories display

Rev

Blame | Last modification | View Log | RSS feed

/*
 * Copyright (C) 2014 Steve Ratcliffe
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 or
 * version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package test.util;

/**
 * The flags on a NOD 1 entry.
 *
 * @author Steve Ratcliffe
 */

public interface NodeFlags {
        int NODE_ARCS = 0x40;
        int NODE_LARGE_OFFSET = 0x20;
        int NODE_RESTRICTIONS = 0x10;
        int NODE_BOUNDARY = 0x08;
        int NODE_DESTCLASS_MASK = 0x3;

        // Keep this up to date when flags are added above.
        int NODE_UNKNOWN_MASK = 0x84;
}