* Open the Script version of the textfile window. * @param file_type The type of textfile to display. * @param slot The slot the Script is using. */
| 629 | * @param slot The slot the Script is using. |
| 630 | */ |
| 631 | void ShowScriptTextfileWindow(Window *parent, TextfileType file_type, CompanyID slot) |
| 632 | { |
| 633 | parent->CloseChildWindowById(WC_TEXTFILE, file_type); |
| 634 | new ScriptTextfileWindow(parent, file_type, slot); |
| 635 | } |
| 636 | |
| 637 | |
| 638 | /** |
no test coverage detected