src/news_type.h
changeset 9199 ce9fbdff6581
parent 9158 b2de54b781eb
child 9234 bfc9d27d3d0d
--- a/src/news_type.h	Tue May 13 01:05:39 2008 +0000
+++ b/src/news_type.h	Tue May 13 10:17:04 2008 +0000
@@ -97,7 +97,7 @@
 };
 
 struct NewsItem {
-	StringID string_id;    ///< Message text (sometimes also used for storing other info)
+	StringID string_id;    ///< Message text
 	uint16 duration;       ///< Remaining time for showing this news message
 	Date date;             ///< Date of the news
 	NewsFlag flags;        ///< NewsFlags bits @see NewsFlag
@@ -105,14 +105,13 @@
 	NewsType type;         ///< News category @see NewsType
 	NewsCallback callback; ///< Call-back function
 
-	uint data_a;           ///< Reference to tile or vehicle
-	uint data_b;           ///< Reference to second tile or vehicle
+	uint data_a;           ///< Custom data 1 (usually tile or vehicle)
+	uint data_b;           ///< Custom data 2
 
 	uint64 params[10];
 };
 
 typedef bool ValidationProc(uint data_a, uint data_b);
 typedef void DrawNewsCallbackProc(Window *w, const NewsItem *ni);
-typedef StringID GetNewsStringCallbackProc(const NewsItem *ni);
 
 #endif /* NEWS_TYPE_H */