src/news_func.h
author Tero Marttila <terom@fixme.fi>
Fri, 18 Jul 2008 21:28:42 +0300
changeset 11175 020c61e39c94
parent 10558 208bd6477a79
permissions -rw-r--r--
added a GCS_AVAILABLE status, and changed the colours used in the download GUI
/* $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 */