Files
@ r10558:0f415a8b2b9f
Branch filter:
Location: cpp/openttd-patchpack/source/src/news_func.h - annotation
r10558:0f415a8b2b9f
751 B
text/x-c
(svn r14815) -Codechange: separate 'highscore' code from 'company' code
r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r10123:310b4a36ab6c r8763:c2c776621d56 r9658:ead5a2d1816a r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r9010:56ff6c523703 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r8763:c2c776621d56 r10123:310b4a36ab6c r10123:310b4a36ab6c r10123:310b4a36ab6c r8763:c2c776621d56 | /* $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"
#include "station_type.h"
void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b, void *free_data = NULL);
void NewsLoop();
void InitNewsItemStructs();
extern NewsItem _statusbar_news_item;
extern bool _news_ticker_sound;
extern NewsTypeData _news_type_data[NT_END];
/**
* 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);
/** Delete news associated with given station */
void DeleteStationNews(StationID);
#endif /* NEWS_FUNC_H */
|