equal
deleted
inserted
replaced
909 this->SetDirty(); |
909 this->SetDirty(); |
910 break; |
910 break; |
911 |
911 |
912 case SVW_RENAME: |
912 case SVW_RENAME: |
913 SetDParam(0, this->window_number); |
913 SetDParam(0, this->window_number); |
914 ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, 31, 180, this, CS_ALPHANUMERAL); |
914 ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL); |
915 break; |
915 break; |
916 |
916 |
917 case SVW_TRAINS: { // Show a list of scheduled trains to this station |
917 case SVW_TRAINS: { // Show a list of scheduled trains to this station |
918 const Station *st = GetStation(this->window_number); |
918 const Station *st = GetStation(this->window_number); |
919 ShowVehicleListWindow(st->owner, VEH_TRAIN, (StationID)this->window_number); |
919 ShowVehicleListWindow(st->owner, VEH_TRAIN, (StationID)this->window_number); |