2008-03-28 08:53:36 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/** @file news_func.h Functions related to news. */
|
|
|
|
|
|
|
|
#ifndef NEWS_FUNC_H
|
|
|
|
#define NEWS_FUNC_H
|
|
|
|
|
|
|
|
#include "news_type.h"
|
|
|
|
#include "vehicle_type.h"
|
|
|
|
|
2008-05-15 13:39:36 +00:00
|
|
|
void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b);
|
2008-03-28 08:53:36 +00:00
|
|
|
void NewsLoop();
|
|
|
|
void InitNewsItemStructs();
|
|
|
|
|
|
|
|
extern NewsItem _statusbar_news_item;
|
|
|
|
extern bool _news_ticker_sound;
|
|
|
|
|
2008-04-20 11:40:33 +00:00
|
|
|
extern NewsTypeData _news_type_data[NT_END];
|
2008-03-28 08:53:36 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Delete a news item type about a vehicle
|
|
|
|
* if the news item type is INVALID_STRING_ID all news about the vehicle get
|
|
|
|
* deleted
|
|
|
|
*/
|
|
|
|
void DeleteVehicleNews(VehicleID, StringID news);
|
|
|
|
|
|
|
|
#endif /* NEWS_FUNC_H */
|