diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:00:55 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:00:55 +0000 |
commit | ad48ab923764087bf66153d1c26ed0eb05a19989 (patch) | |
tree | 7851cc098dee7c0e5c5ea0ffe183711342b2a283 /src/saveload | |
parent | 894216083d3f0b7c01ad705c253723e948297138 (diff) | |
download | openttd-ad48ab923764087bf66153d1c26ed0eb05a19989.tar.xz |
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/town_sl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp index 4a2920984..1a424308c 100644 --- a/src/saveload/town_sl.cpp +++ b/src/saveload/town_sl.cpp @@ -157,6 +157,8 @@ static const SaveLoad _town_desc[] = { SLE_CONDARR(Town, goal, SLE_UINT32, NUM_TE, 165, SL_MAX_VERSION), + SLE_CONDSTR(Town, text, SLE_STR, 0, 168, SL_MAX_VERSION), + SLE_CONDVAR(Town, time_until_rebuild, SLE_FILE_U8 | SLE_VAR_U16, 0, 53), SLE_CONDVAR(Town, grow_counter, SLE_FILE_U8 | SLE_VAR_U16, 0, 53), SLE_CONDVAR(Town, growth_rate, SLE_FILE_U8 | SLE_VAR_I16, 0, 53), |