Mercurial > hg > openttd
view src/news_func.h @ 10515:7156262cf0c9 draft
(svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 29 Dec 2008 21:50:25 +0000 |
parents | 57aa34285d05 |
children | cfec481a8652 |
line wrap: on
line source
/* $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 */