equal
deleted
inserted
replaced
408 int32 dest_scrollpos_x; |
408 int32 dest_scrollpos_x; |
409 int32 dest_scrollpos_y; |
409 int32 dest_scrollpos_y; |
410 }; |
410 }; |
411 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d)); |
411 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp_d)); |
412 |
412 |
413 /* vp2_d is the same as vp_d, except for the data_# values.. */ |
|
414 struct vp2_d { |
|
415 VehicleID follow_vehicle; |
|
416 int32 scrollpos_x; |
|
417 int32 scrollpos_y; |
|
418 int32 dest_scrollpos_x; |
|
419 int32 dest_scrollpos_y; |
|
420 byte data_1; |
|
421 byte data_2; |
|
422 byte data_3; |
|
423 }; |
|
424 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vp2_d)); |
|
425 |
|
426 struct news_d { |
413 struct news_d { |
427 uint16 follow_vehicle; |
414 uint16 follow_vehicle; |
428 int32 scrollpos_x; |
415 int32 scrollpos_x; |
429 int32 scrollpos_y; |
416 int32 scrollpos_y; |
430 int32 dest_scrollpos_x; |
417 int32 dest_scrollpos_x; |