news_func.h

Go to the documentation of this file.
00001 /* $Id: news_func.h 14307 2008-09-13 10:19:51Z smatz $ */
00002 
00005 #ifndef NEWS_FUNC_H
00006 #define NEWS_FUNC_H
00007 
00008 #include "news_type.h"
00009 #include "vehicle_type.h"
00010 #include "station_type.h"
00011 
00012 void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b, void *free_data = NULL);
00013 void NewsLoop();
00014 void InitNewsItemStructs();
00015 
00016 extern NewsItem _statusbar_news_item;
00017 extern bool _news_ticker_sound;
00018 
00019 extern NewsTypeData _news_type_data[NT_END];
00020 
00026 void DeleteVehicleNews(VehicleID, StringID news);
00027 
00029 void DeleteStationNews(StationID);
00030 
00031 #endif /* NEWS_FUNC_H */

Generated on Wed Apr 1 14:38:08 2009 for OpenTTD by  doxygen 1.5.6