src/airport_movement.h
branchNewGRF_ports
changeset 6719 4cc327ad39d5
parent 6715 ce1614834bc3
child 6720 35756db7e577
equal deleted inserted replaced
6718:5a8b295aa345 6719:4cc327ad39d5
    16 	byte next;     // next position from this position
    16 	byte next;     // next position from this position
    17 };
    17 };
    18 
    18 
    19 ///////////////////////////////////////////////////////////////////////
    19 ///////////////////////////////////////////////////////////////////////
    20 /////*********Movement Positions on Airports********************///////
    20 /////*********Movement Positions on Airports********************///////
       
    21 
       
    22 static const AirportMovingData _airport_moving_data_dummy[] = {
       
    23 	{    0,    0, AMED_NOSPDCLAMP | AMED_SLOWTURN,     {DIR_N} },
       
    24 	{    0,   96, AMED_NOSPDCLAMP | AMED_SLOWTURN,     {DIR_N} },
       
    25 	{   96,   96, AMED_NOSPDCLAMP | AMED_SLOWTURN,     {DIR_N} },
       
    26 	{   96,    0, AMED_NOSPDCLAMP | AMED_SLOWTURN,     {DIR_N} },
       
    27 };
       
    28 
    21 // Country Airfield (small) 4x3
    29 // Country Airfield (small) 4x3
    22 static const AirportMovingData _airport_moving_data_country[22] = {
    30 static const AirportMovingData _airport_moving_data_country[22] = {
    23 	{   53,    3, AMED_EXACTPOS,                   {DIR_SE} }, // 00 In Hangar
    31 	{   53,    3, AMED_EXACTPOS,                   {DIR_SE} }, // 00 In Hangar
    24 	{   53,   27, 0,                               {DIR_N} }, // 01 Taxi to right outside depot
    32 	{   53,   27, 0,                               {DIR_N} }, // 01 Taxi to right outside depot
    25 	{   32,   23, AMED_EXACTPOS,                   {DIR_NW} }, // 02 Terminal 1
    33 	{   32,   23, AMED_EXACTPOS,                   {DIR_NW} }, // 02 Terminal 1
   267 	{   64,   56, AMED_HELI_RAISE,                 {DIR_N} }, // 54 Takeoff Helipad2
   275 	{   64,   56, AMED_HELI_RAISE,                 {DIR_N} }, // 54 Takeoff Helipad2
   268 	{  136,   96, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 55 Go to position for Hangarentrance in air
   276 	{  136,   96, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 55 Go to position for Hangarentrance in air
   269 	{  136,   96, AMED_HELI_LOWER,                 {DIR_N} }, // 56 Land in front of hangar2
   277 	{  136,   96, AMED_HELI_LOWER,                 {DIR_N} }, // 56 Land in front of hangar2
   270 	{  126,  104, 0,                               {DIR_SE} }, // 57 Outway 2
   278 	{  126,  104, 0,                               {DIR_SE} }, // 57 Outway 2
   271 	{  136,  136, 0,                               {DIR_NE} }, // 58 Airport OUTWAY 2
   279 	{  136,  136, 0,                               {DIR_NE} }, // 58 Airport OUTWAY 2
   272 	{  136,  152, AMED_EXACTPOS,                   {DIR_SW} }, // 59 Accelerate to end of runway2
   280 	{  136,  152, AMED_EXACTPOS,                   {DIR_NE} }, // 59 Accelerate to end of runway2
   273 	{   16,  152, AMED_NOSPDCLAMP,                 {DIR_N} }, // 60 Release control of runway2, for smoother movement
   281 	{   16,  152, AMED_NOSPDCLAMP,                 {DIR_N} }, // 60 Release control of runway2, for smoother movement
   274 	{   20,  152, AMED_NOSPDCLAMP,                 {DIR_N} }, // 61 End of runway2
   282 	{   20,  152, AMED_NOSPDCLAMP,                 {DIR_N} }, // 61 End of runway2
   275 	{  -56,  152, AMED_NOSPDCLAMP | AMED_TAKEOFF,  {DIR_N} }, // 62 Take off2
   283 	{  -56,  152, AMED_NOSPDCLAMP | AMED_TAKEOFF,  {DIR_N} }, // 62 Take off2
   276 	{   24,    8, AMED_NOSPDCLAMP | AMED_LAND,     {DIR_N} }, // 63 Going down for land2
   284 	{   24,    8, AMED_NOSPDCLAMP | AMED_LAND,     {DIR_N} }, // 63 Going down for land2
   277 	{  136,    8, AMED_NOSPDCLAMP | AMED_BRAKE,    {DIR_N} }, // 64 Just landed, brake until end of runway2in
   285 	{  136,    8, AMED_NOSPDCLAMP | AMED_BRAKE,    {DIR_N} }, // 64 Just landed, brake until end of runway2in
   375 	{   69,    9, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 8 - circle #4 (south)
   383 	{   69,    9, AMED_NOSPDCLAMP | AMED_SLOWTURN, {DIR_N} }, // 8 - circle #4 (south)
   376 };
   384 };
   377 
   385 
   378 ///////////////////////////////////////////////////////////////////////
   386 ///////////////////////////////////////////////////////////////////////
   379 /////**********Movement Machine on Airports*********************///////
   387 /////**********Movement Machine on Airports*********************///////
       
   388 static const byte _airport_entries_dummy[] = {0, 1, 2, 3};
       
   389 static const AirportFTAbuildup _airport_fta_dummy[] = {
       
   390 	{ 0, 0, 0, 3},
       
   391 	{ 1, 0, 0, 0},
       
   392 	{ 2, 0, 0, 1},
       
   393 	{ 3, 0, 0, 2},
       
   394 	{ MAX_ELEMENTS, 0, 0, 0 } // end marker. DO NOT REMOVE
       
   395 };
       
   396 
   380 /* First element of terminals array tells us how many depots there are (to know size of array)
   397 /* First element of terminals array tells us how many depots there are (to know size of array)
   381  * this may be changed later when airports are moved to external file  */
   398  * this may be changed later when airports are moved to external file  */
   382 static const TileIndexDiffC _airport_depots_country[] = {{3, 0}};
   399 static const TileIndexDiffC _airport_depots_country[] = {{3, 0}};
   383 static const byte _airport_terminal_country[] = {1, 2};
   400 static const byte _airport_terminal_country[] = {1, 2};
   384 static const byte _airport_entries_country[] = {16, 16, 16, 16};
   401 static const byte _airport_entries_country[] = {16, 16, 16, 16};