diff options
author | rubidium <rubidium@openttd.org> | 2007-03-03 22:03:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-03 22:03:15 +0000 |
commit | 35fde14a527e0381769d08422513e6746704e1fc (patch) | |
tree | 419b44d6e3973f9233c668259ab6c7a64273f449 /src/news.h | |
parent | cf47f2a856d3365cd42eaa4b5e9f5e2095586172 (diff) | |
download | openttd-35fde14a527e0381769d08422513e6746704e1fc.tar.xz |
(svn r9001) -Codechange: remove duplication of functions and strings with respect to the news of new vehicles.
Diffstat (limited to 'src/news.h')
-rw-r--r-- | src/news.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/news.h b/src/news.h index 72f7e842a..8ebf46a33 100644 --- a/src/news.h +++ b/src/news.h @@ -59,11 +59,8 @@ enum NewsFlags { }; enum NewsCallback { - DNC_TRAINAVAIL = 0, ///< Show new train available message. StringID is EngineID - DNC_ROADAVAIL = 1, ///< Show new road vehicle available message. StringID is EngineID - DNC_SHIPAVAIL = 2, ///< Show new ship available message. StringID is EngineID - DNC_AIRCRAFTAVAIL = 3, ///< Show new aircraft available message. StringID is EngineID - DNC_BANKRUPCY = 4, ///< Show bankrupcy message. StringID is PlayerID (0-3) and NewsBankrupcy (4-7) + DNC_VEHICLEAVAIL = 0, ///< Show new vehicle available message. StringID is EngineID + DNC_BANKRUPCY = 1, ///< Show bankrupcy message. StringID is PlayerID (0-3) and NewsBankrupcy (4-7) }; enum NewsBankrupcy { |