# roadveh_movement.h File Reference

Data about how a road vehicle must drive on a tile. More...

Go to the source code of this file.

## Variables
static const RoadDriveEntry | _roadveh_drive_data_0 []
static const RoadDriveEntry | _roadveh_drive_data_1 []
static const RoadDriveEntry | _roadveh_drive_data_2 []
static const RoadDriveEntry | _roadveh_drive_data_3 []
static const RoadDriveEntry | _roadveh_drive_data_4 []
static const RoadDriveEntry | _roadveh_drive_data_5 []
static const RoadDriveEntry | _roadveh_drive_data_6 []
static const RoadDriveEntry | _roadveh_drive_data_7 []
static const RoadDriveEntry | _roadveh_drive_data_8 []
static const RoadDriveEntry | _roadveh_drive_data_9 []
static const RoadDriveEntry | _roadveh_drive_data_10 []
static const RoadDriveEntry | _roadveh_drive_data_11 []
static const RoadDriveEntry | _roadveh_drive_data_12 []
static const RoadDriveEntry | _roadveh_drive_data_13 []
static const RoadDriveEntry | _roadveh_drive_data_14 []
static const RoadDriveEntry | _roadveh_drive_data_15 []
static const RoadDriveEntry | _roadveh_drive_data_16 []
static const RoadDriveEntry | _roadveh_drive_data_17 []
static const RoadDriveEntry | _roadveh_drive_data_18 []
static const RoadDriveEntry | _roadveh_drive_data_19 []
static const RoadDriveEntry | _roadveh_drive_data_20 []
static const RoadDriveEntry | _roadveh_drive_data_21 []
static const RoadDriveEntry | _roadveh_drive_data_22 []
static const RoadDriveEntry | _roadveh_drive_data_23 []
static const RoadDriveEntry | _roadveh_drive_data_24 []
static const RoadDriveEntry | _roadveh_drive_data_25 []
static const RoadDriveEntry | _roadveh_drive_data_26 []
static const RoadDriveEntry | _roadveh_drive_data_27 []
static const RoadDriveEntry | _roadveh_drive_data_28 []
static const RoadDriveEntry | _roadveh_drive_data_29 []
static const RoadDriveEntry | _roadveh_drive_data_30 []
static const RoadDriveEntry | _roadveh_drive_data_31 []
static const RoadDriveEntry | _roadveh_drive_data_32 []
static const RoadDriveEntry | _roadveh_drive_data_33 []
static const RoadDriveEntry | _roadveh_drive_data_34 []
static const RoadDriveEntry | _roadveh_drive_data_35 []
static const RoadDriveEntry | _roadveh_drive_data_40 []
static const RoadDriveEntry | _roadveh_drive_data_41 []
static const RoadDriveEntry | _roadveh_drive_data_42 []
static const RoadDriveEntry | _roadveh_drive_data_43 []
static const RoadDriveEntry | _roadveh_drive_data_48 []
static const RoadDriveEntry | _roadveh_drive_data_49 []
static const RoadDriveEntry | _roadveh_drive_data_50 []
static const RoadDriveEntry | _roadveh_drive_data_51 []
static const RoadDriveEntry | _roadveh_drive_data_56 []
static const RoadDriveEntry | _roadveh_drive_data_57 []
static const RoadDriveEntry | _roadveh_drive_data_58 []
static const RoadDriveEntry | _roadveh_drive_data_59 []
static const RoadDriveEntry *const | _road_road_drive_data []
static const RoadDriveEntry | _roadveh_tram_turn_ne_0 []
static const RoadDriveEntry | _roadveh_tram_turn_ne_1 []
static const RoadDriveEntry | _roadveh_tram_turn_se_0 []
static const RoadDriveEntry | _roadveh_tram_turn_se_1 []
static const RoadDriveEntry | _roadveh_tram_turn_sw_0 []
static const RoadDriveEntry | _roadveh_tram_turn_sw_1 []
static const RoadDriveEntry | _roadveh_tram_turn_nw_0 []
static const RoadDriveEntry | _roadveh_tram_turn_nw_1 []
static const RoadDriveEntry *const | _road_tram_drive_data []
static const RoadDriveEntry *const *const | _road_drive_data [2]

## Detailed Description

Data about how a road vehicle must drive on a tile.

Definition in file roadveh_movement.h.

## Variable Documentation

const RoadDriveEntry* const* const _road_drive_data[2]`[static]`

Initial value:

     {
      _road_road_drive_data,
      _road_tram_drive_data,
    }

Definition at line 1474 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_0[]`[static]`

Initial value:

     {
      {15, 5},
      {14, 5},
      {13, 5},
      {12, 5},
      {11, 5},
      {10, 5},
      { 9, 5},
      { 8, 5},
      { 7, 5},
      { 6, 5},
      { 5, 5},
      { 4, 5},
      { 3, 5},
      { 2, 5},
      { 1, 5},
      { 0, 5},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 12 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_1[]`[static]`

Initial value:

     {
      {5,  0},
      {5,  1},
      {5,  2},
      {5,  3},
      {5,  4},
      {5,  5},
      {5,  6},
      {5,  7},
      {5,  8},
      {5,  9},
      {5, 10},
      {5, 11},
      {5, 12},
      {5, 13},
      {5, 14},
      {5, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 31 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_10[]`[static]`

Initial value:

     {
      {0, 9},
      {1, 9},
      {2, 9},
      {3, 9},
      {4, 9},
      {5, 9},
      {6, 8},
      {7, 7},
      {8, 6},
      {9, 5},
      {9, 4},
      {9, 3},
      {9, 2},
      {9, 1},
      {9, 0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 163 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_11[]`[static]`

Initial value:

     {
      { 9, 15},
      { 9, 14},
      { 9, 13},
      {10, 12},
      {11, 11},
      {12, 10},
      {13,  9},
      {14,  9},
      {15,  9},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 181 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_12[]`[static]`

Initial value:

     {
      {15, 5},
      {14, 5},
      {13, 5},
      {12, 4},
      {11, 3},
      {10, 2},
      { 9, 1},
      { 9, 0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 193 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_13[]`[static]`

Initial value:

     {
      {9, 15},
      {9, 14},
      {9, 13},
      {9, 12},
      {9, 11},
      {9, 10},
      {8,  9},
      {7,  8},
      {6,  7},
      {5,  6},
      {4,  5},
      {3,  5},
      {2,  5},
      {1,  5},
      {0,  5},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 204 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_14[]`[static]`

Initial value:

     {
      {15, 8},
      {15, 7},
      {15, 6},
      {15, 5},
      {RDE_TURNED | DIAGDIR_NE, 0}
    }

Definition at line 222 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_15[]`[static]`

Initial value:

     {
      {8, 0},
      {7, 0},
      {6, 0},
      {5, 0},
      {RDE_TURNED | DIAGDIR_SE, 0}
    }

Definition at line 229 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_16[]`[static]`

Initial value:

     {
      {15, 9},
      {14, 9},
      {13, 9},
      {12, 9},
      {11, 9},
      {10, 9},
      { 9, 9},
      { 8, 9},
      { 7, 9},
      { 6, 9},
      { 5, 9},
      { 4, 9},
      { 3, 9},
      { 2, 9},
      { 1, 9},
      { 0, 9},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 236 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_17[]`[static]`

Initial value:

     {
      {9,  0},
      {9,  1},
      {9,  2},
      {9,  3},
      {9,  4},
      {9,  5},
      {9,  6},
      {9,  7},
      {9,  8},
      {9,  9},
      {9, 10},
      {9, 11},
      {9, 12},
      {9, 13},
      {9, 14},
      {9, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 255 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_18[]`[static]`

Initial value:

     {
      {9, 0},
      {9, 1},
      {9, 2},
      {9, 3},
      {9, 4},
      {9, 5},
      {8, 6},
      {7, 7},
      {6, 8},
      {5, 9},
      {4, 9},
      {3, 9},
      {2, 9},
      {1, 9},
      {0, 9},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 274 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_19[]`[static]`

Initial value:

     {
      {15,  9},
      {14,  9},
      {13,  9},
      {12, 10},
      {11, 11},
      {10, 12},
      { 9, 13},
      { 9, 14},
      { 9, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 292 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_2[]`[static]`

Initial value:

     {
      {5, 0},
      {5, 1},
      {5, 2},
      {4, 3},
      {3, 4},
      {2, 5},
      {1, 5},
      {0, 5},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 50 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_20[]`[static]`

Initial value:

     {
      { 9, 0},
      { 9, 1},
      {10, 2},
      {11, 3},
      {12, 4},
      {13, 5},
      {14, 5},
      {15, 5},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 304 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_21[]`[static]`

Initial value:

     {
      {0,  5},
      {1,  5},
      {2,  5},
      {3,  5},
      {4,  5},
      {5,  6},
      {6,  7},
      {7,  8},
      {8,  9},
      {9, 10},
      {9, 11},
      {9, 12},
      {9, 13},
      {9, 14},
      {9, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 315 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_22[]`[static]`

Initial value:

     {
      {0, 8},
      {0, 7},
      {0, 6},
      {0, 5},
      {RDE_TURNED | DIAGDIR_SW, 0}
    }

Definition at line 333 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_23[]`[static]`

Initial value:

     {
      {8, 15},
      {7, 15},
      {6, 15},
      {5, 15},
      {RDE_TURNED | DIAGDIR_NW, 0}
    }

Definition at line 340 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_24[]`[static]`

Initial value:

     {
      { 0, 5},
      { 1, 5},
      { 2, 5},
      { 3, 5},
      { 4, 5},
      { 5, 5},
      { 6, 5},
      { 7, 5},
      { 8, 5},
      { 9, 5},
      {10, 5},
      {11, 5},
      {12, 5},
      {13, 5},
      {14, 5},
      {15, 5},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 347 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_25[]`[static]`

Initial value:

     {
      {5, 15},
      {5, 14},
      {5, 13},
      {5, 12},
      {5, 11},
      {5, 10},
      {5,  9},
      {5,  8},
      {5,  7},
      {5,  6},
      {5,  5},
      {5,  4},
      {5,  3},
      {5,  2},
      {5,  1},
      {5,  0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 366 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_26[]`[static]`

Initial value:

     {
      {0, 5},
      {1, 5},
      {2, 5},
      {3, 4},
      {4, 3},
      {5, 2},
      {5, 1},
      {5, 0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 385 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_27[]`[static]`

Initial value:

     {
      { 5, 15},
      { 5, 14},
      { 5, 13},
      { 5, 12},
      { 5, 11},
      { 5, 10},
      { 6,  9},
      { 7,  8},
      { 8,  7},
      { 9,  6},
      {10,  5},
      {11,  5},
      {12,  5},
      {13,  5},
      {14,  5},
      {15,  5},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 396 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_28[]`[static]`

Initial value:

     {
      {15, 9},
      {14, 9},
      {13, 9},
      {12, 9},
      {11, 9},
      {10, 9},
      { 9, 9},
      { 8, 8},
      { 7, 7},
      { 6, 6},
      { 5, 5},
      { 5, 4},
      { 5, 3},
      { 5, 2},
      { 5, 1},
      { 5, 0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 415 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_29[]`[static]`

Initial value:

     {
      {5, 15},
      {5, 14},
      {5, 13},
      {5, 12},
      {4, 11},
      {3, 10},
      {2,  9},
      {1,  9},
      {0,  9},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 434 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_3[]`[static]`

Initial value:

     {
      {15,  5},
      {14,  5},
      {13,  5},
      {12,  5},
      {11,  5},
      {10,  5},
      { 9,  6},
      { 8,  7},
      { 7,  8},
      { 6,  9},
      { 5, 10},
      { 5, 11},
      { 5, 12},
      { 5, 13},
      { 5, 14},
      { 5, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 61 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_30[]`[static]`

Initial value:

     {
      {15, 6},
      {15, 7},
      {15, 8},
      {15, 9},
      {RDE_TURNED | DIAGDIR_NE, 0}
    }

Definition at line 446 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_31[]`[static]`

Initial value:

     {
      {6, 0},
      {7, 0},
      {8, 0},
      {9, 0},
      {RDE_TURNED | DIAGDIR_SE, 0}
    }

Definition at line 453 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_4[]`[static]`

Initial value:

     {
      { 5, 0},
      { 5, 1},
      { 5, 2},
      { 5, 3},
      { 5, 4},
      { 5, 5},
      { 6, 6},
      { 7, 7},
      { 8, 8},
      { 9, 9},
      {10, 9},
      {11, 9},
      {12, 9},
      {13, 9},
      {14, 9},
      {15, 9},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 80 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_42[]`[static]`

Initial value:

     {
      {0, 9},
      {1, 9},
      {2, 8},
      {2, 7},
      {2, 6},
      {2, 5},
      {2, 4},
      {3, 3},
      {4, 3},
      {5, 3},
      {6, 4},
      {6, 5},
      {6, 6},
      {6, 7},
      {6, 8},
      {6, 9},
      {6, 8},
      {6, 7},
      {6, 6},
      {6, 5},
      {6, 4},
      {5, 3},
      {4, 3},
      {3, 3},
      {2, 4},
      {1, 5},
      {0, 5},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 680 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_43[]`[static]`

Initial value:

     {
      {9, 15},
      {9, 14},
      {8, 13},
      {7, 13},
      {6, 13},
      {5, 13},
      {4, 13},
      {3, 12},
      {3, 11},
      {3, 10},
      {4,  9},
      {5,  9},
      {6,  9},
      {7,  9},
      {8,  9},
      {9,  9},
      {8,  9},
      {7,  9},
      {6,  9},
      {5,  9},
      {4,  9},
      {3, 10},
      {3, 11},
      {3, 12},
      {4, 13},
      {5, 14},
      {5, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 710 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_5[]`[static]`

Initial value:

     {
      {0,  9},
      {1,  9},
      {2,  9},
      {3, 10},
      {4, 11},
      {5, 12},
      {5, 13},
      {5, 14},
      {5, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 99 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_58[]`[static]`

Initial value:

     {
      {0, 5},
      {1, 5},
      {2, 4},
      {3, 3},
      {4, 3},
      {5, 3},
      {6, 4},
      {6, 5},
      {6, 6},
      {6, 7},
      {6, 8},
      {6, 9},
      {6, 8},
      {6, 7},
      {6, 6},
      {6, 5},
      {6, 4},
      {5, 3},
      {4, 3},
      {3, 3},
      {2, 4},
      {2, 5},
      {2, 6},
      {2, 7},
      {2, 8},
      {1, 9},
      {0, 9},
      {RDE_NEXT_TILE | DIAGDIR_NE, 0}
    }

Definition at line 960 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_59[]`[static]`

Initial value:

     {
      {5, 15},
      {5, 14},
      {4, 13},
      {3, 12},
      {3, 11},
      {3, 10},
      {4,  9},
      {5,  9},
      {6,  9},
      {7,  9},
      {8,  9},
      {9,  9},
      {8,  9},
      {7,  9},
      {6,  9},
      {5,  9},
      {4,  9},
      {3, 10},
      {3, 11},
      {3, 12},
      {4, 13},
      {5, 13},
      {6, 13},
      {7, 13},
      {8, 13},
      {9, 14},
      {9, 15},
      {RDE_NEXT_TILE | DIAGDIR_SE, 0}
    }

Definition at line 990 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_6[]`[static]`

Initial value:

     {
      {0, 6},
      {0, 7},
      {0, 8},
      {0, 9},
      {RDE_TURNED | DIAGDIR_SW, 0}
    }

Definition at line 111 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_7[]`[static]`

Initial value:

     {
      {6, 15},
      {7, 15},
      {8, 15},
      {9, 15},
      {RDE_TURNED | DIAGDIR_NW, 0}
    }

Definition at line 118 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_8[]`[static]`

Initial value:

     {
      { 0, 9},
      { 1, 9},
      { 2, 9},
      { 3, 9},
      { 4, 9},
      { 5, 9},
      { 6, 9},
      { 7, 9},
      { 8, 9},
      { 9, 9},
      {10, 9},
      {11, 9},
      {12, 9},
      {13, 9},
      {14, 9},
      {15, 9},
      {RDE_NEXT_TILE | DIAGDIR_SW, 0}
    }

Definition at line 125 of file roadveh_movement.h.

const RoadDriveEntry _roadveh_drive_data_9[]`[static]`

Initial value:

     {
      {9, 15},
      {9, 14},
      {9, 13},
      {9, 12},
      {9, 11},
      {9, 10},
      {9,  9},
      {9,  8},
      {9,  7},
      {9,  6},
      {9,  5},
      {9,  4},
      {9,  3},
      {9,  2},
      {9,  1},
      {9,  0},
      {RDE_NEXT_TILE | DIAGDIR_NW, 0}
    }

Definition at line 144 of file roadveh_movement.h.