Subversion Repositories display

Rev

Rev 333 | Blame | Compare with Previous | 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 bits that appear in the so-called alt6 byte at the beginning
 * of a route arc.
 *
 * We used to call the byte containing the arc flags 'alt6'. The name didn't mean
 * anything.
 *
 * @author Steve Ratcliffe
 */

public interface ArcFlags {
    static final int ARC_HASNET = 0x80;
        static final int ARC_SIGN = 0x40;
        static final int ARC_CURVE = 0x20;
        static final int ARC_LEN = 0x18;
        static final int ARC_EXTRA = ARC_CURVE | ARC_LEN;
        static final int ARC_CLASSMASK = 0x7;
}