|
Simutrans-Squirrel-API OTRP v63_4
|
#include <api_base.h>


Public Member Functions | |
| ttextfile (string file) | |
| Public Member Functions inherited from ttext | |
| ttext (string text) | |
| string | to_string () |
Loads text from a file.
It does variable substitution as ttext.
Definition at line 38 of file api_base.h.
| ttextfile::ttextfile | ( | string | file | ) |
Constructor. Text is taken from a file.
The file is searched in the following paths:
| file | filename |