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 | 356c2e2c907b142862625e6864480cc6991547e9 (patch) | |
tree | 419b44d6e3973f9233c668259ab6c7a64273f449 /src/news.h | |
parent | 9da74db5017e00fee13430ea8e68554e9395ab9c (diff) | |
download | openttd-356c2e2c907b142862625e6864480cc6991547e9.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 { |