equal
deleted
inserted
replaced
979 w = AllocateWindowDescFront(&_other_player_ships_desc, (station << 16) | (VEH_Ship << 11) | VLW_flag | player); |
979 w = AllocateWindowDescFront(&_other_player_ships_desc, (station << 16) | (VEH_Ship << 11) | VLW_flag | player); |
980 } |
980 } |
981 } |
981 } |
982 |
982 |
983 if (w != NULL) { |
983 if (w != NULL) { |
984 vehiclelist_d *vl = &WP(w, vehiclelist_d); |
|
985 vl->flags = VL_REBUILD | (_sorting.ship.order << (VL_DESC - 1)); |
|
986 vl->sort_type = _sorting.ship.criteria; |
|
987 |
|
988 w->caption_color = player; |
|
989 w->vscroll.cap = 4; |
984 w->vscroll.cap = 4; |
990 w->widget[7].unkA = (w->vscroll.cap << 8) + 1; |
985 w->widget[7].unkA = (w->vscroll.cap << 8) + 1; |
991 w->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG; |
986 w->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG; |
992 } |
987 } |
993 } |
988 } |