tron@2186: /* $Id$ */ tron@2186: rubidium@8763: /** @file news_func.h Functions related to news. */ truelight@0: rubidium@8763: #ifndef NEWS_FUNC_H rubidium@8763: #define NEWS_FUNC_H truelight@0: rubidium@8763: #include "news_type.h" rubidium@8763: #include "vehicle_type.h" rubidium@7598: rubidium@9658: void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b, void *free_data = NULL); rubidium@6247: void NewsLoop(); rubidium@6247: void InitNewsItemStructs(); truelight@0: rubidium@8268: extern NewsItem _statusbar_news_item; rubidium@8270: extern bool _news_ticker_sound; truelight@0: rubidium@9010: extern NewsTypeData _news_type_data[NT_END]; truelight@6283: rubidium@7598: /** 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@8763: #endif /* NEWS_FUNC_H */