9826
|
1 |
/* $Id$ */
|
|
2 |
|
|
3 |
/** @file news_func.h Functions related to news. */
|
|
4 |
|
|
5 |
#ifndef NEWS_FUNC_H
|
|
6 |
#define NEWS_FUNC_H
|
|
7 |
|
|
8 |
#include "news_type.h"
|
|
9 |
#include "vehicle_type.h"
|
|
10 |
|
10645
|
11 |
void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b);
|
9826
|
12 |
void NewsLoop();
|
|
13 |
void InitNewsItemStructs();
|
|
14 |
|
|
15 |
extern NewsItem _statusbar_news_item;
|
|
16 |
extern bool _news_ticker_sound;
|
|
17 |
|
10294
|
18 |
extern NewsTypeData _news_type_data[NT_END];
|
9826
|
19 |
|
|
20 |
/**
|
|
21 |
* Delete a news item type about a vehicle
|
|
22 |
* if the news item type is INVALID_STRING_ID all news about the vehicle get
|
|
23 |
* deleted
|
|
24 |
*/
|
|
25 |
void DeleteVehicleNews(VehicleID, StringID news);
|
|
26 |
|
|
27 |
#endif /* NEWS_FUNC_H */
|