diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-12 19:58:06 +0000 |
commit | 0f7392bd616e0bd256b5ec241ad52d7230bcc454 (patch) | |
tree | f23fb584e594e0c9ff5a9ad650d97c493714078d /src/engine.h | |
parent | 74f9be8f2c1dca108b88449e6935c61442cbf829 (diff) | |
download | openttd-0f7392bd616e0bd256b5ec241ad52d7230bcc454.tar.xz |
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h index 08f1caf8a..be8eb397e 100644 --- a/src/engine.h +++ b/src/engine.h @@ -109,9 +109,11 @@ struct EngineInfo { byte misc_flags; byte callbackmask; byte retire_early; ///< Number of years early to retire vehicle + StringID string_id; ///< Default name of engine }; struct Engine { + char *name; ///< Custom name of engine Date intro_date; Date age; uint16 reliability; |