|
OpenTTD Source
1.10.0-RC1
|
Class for writing the string IDs. More...
Public Member Functions | |
| StringNameWriter (StringList &strings) | |
| Writer for the string names. More... | |
| void | WriteStringID (const char *name, int stringid) |
| Write the string ID. More... | |
| void | Finalise (const StringData &data) |
| Finalise writing the file. More... | |
Public Member Functions inherited from HeaderWriter | |
| virtual | ~HeaderWriter () |
| Especially destroy the subclasses. More... | |
| void | WriteHeader (const StringData &data) |
| Write the header information. More... | |
Data Fields | |
| StringList & | strings |
| The string names. | |
Class for writing the string IDs.
Definition at line 190 of file game_text.cpp.
|
inline |
Writer for the string names.
| strings | The string table to add the strings to. |
Definition at line 197 of file game_text.cpp.
|
inlinevirtual |
Finalise writing the file.
| data | The data about the string. |
Implements HeaderWriter.
Definition at line 206 of file game_text.cpp.
|
inlinevirtual |
Write the string ID.
| name | The name of the string. |
| stringid | The ID of the string. |
Implements HeaderWriter.
Definition at line 201 of file game_text.cpp.