Simutrans-Squirrel-API
|
#include <api_base.h>
Public Member Functions | |
ttextfile (string file) | |
Public Member Functions inherited from ttext | |
string | to_string () |
ttext (string text) | |
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 |