|
OpenTTD
|
GUI functions related to textfiles. More...
#include "fileio_type.h"#include "strings_func.h"#include "textfile_type.h"#include "window_gui.h"Go to the source code of this file.
Data Structures | |
| struct | TextfileWindow |
| Window for displaying a textfile. More... | |
Functions | |
| const char * | GetTextfile (TextfileType type, Subdirectory dir, const char *filename) |
| Search a textfile file next to the given content. | |
GUI functions related to textfiles.
Definition in file textfile_gui.h.
| const char* GetTextfile | ( | TextfileType | type, |
| Subdirectory | dir, | ||
| const char * | filename | ||
| ) |
Search a textfile file next to the given content.
| type | The type of the textfile to search for. |
| dir | The subdirectory to search in. |
| filename | The filename of the content to look for. |
NULL otherwise. Definition at line 386 of file textfile_gui.cpp.
References FioCheckFileExists(), GetCurrentLanguageIsoCode(), lastof, lengthof, seprintf(), and strecpy().
Referenced by GameOptionsWindow::OnInvalidateData(), and AIConfigWindow::OnInvalidateData().
1.8.1.2