src/news_func.h
author smatz
Thu, 17 Jul 2008 23:43:47 +0000
changeset 9654 11fb7b19b64b
parent 9236 0c4f622cbcec
child 9658 f5c4d3c04b5d
permissions -rw-r--r--
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
/* $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"

void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b);
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);

#endif /* NEWS_FUNC_H */