summaryrefslogtreecommitdiff
path: root/news.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-04 11:01:35 +0000
committertron <tron@openttd.org>2006-03-04 11:01:35 +0000
commit4270026b4248bbaa1b1b46b099baadbd24921dd0 (patch)
tree2eef654bc6b8956ee2e2ff73c1a3f6e72b920031 /news.h
parent006444a0dcb20f44d5be0f7827b68fa379c4d77a (diff)
downloadopenttd-4270026b4248bbaa1b1b46b099baadbd24921dd0.tar.xz
(svn r3757) -Feature: Delete news items about vehicles, when they get stale
This is used to delete - all news about a vehicle, when it gets deleted - "vehicle has stopped in depot" news, when it gets started - "vehicle has invalid orders" news, when the orders get changed
Diffstat (limited to 'news.h')
-rw-r--r--news.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/news.h b/news.h
index 736542eae..d90cb4df2 100644
--- a/news.h
+++ b/news.h
@@ -73,4 +73,11 @@ enum {
DNC_BANKRUPCY = 4,
};
+/**
+ * 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_H */