tron@2186: /* $Id$ */ tron@2186: rubidium@9259: /** @file news_func.h Functions related to news. */ truelight@0: rubidium@9259: #ifndef NEWS_FUNC_H rubidium@9259: #define NEWS_FUNC_H truelight@0: rubidium@9259: #include "news_type.h" rubidium@9259: #include "vehicle_type.h" rubidium@8094: rubidium@10556: void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b); rubidium@6573: void NewsLoop(); rubidium@6573: void InitNewsItemStructs(); truelight@0: rubidium@8764: extern NewsItem _statusbar_news_item; rubidium@8766: extern bool _news_ticker_sound; truelight@0: rubidium@10273: extern NewsTypeData _news_type_data[NT_END]; truelight@6609: rubidium@8094: /** tron@3139: * Delete a news item type about a vehicle tron@3139: * if the news item type is INVALID_STRING_ID all news about the vehicle get tron@3139: * deleted tron@3139: */ tron@3139: void DeleteVehicleNews(VehicleID, StringID news); tron@3139: rubidium@9259: #endif /* NEWS_FUNC_H */