summaryrefslogtreecommitdiff
path: root/src/news_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-15 13:39:36 +0000
committerrubidium <rubidium@openttd.org>2008-05-15 13:39:36 +0000
commit76b8970a33a9dfad23fe14d92813f21385594986 (patch)
treedbf82a81f389a63eb11a06152870ba44cc07d456 /src/news_func.h
parent009a748ab33a77613aad7d269a79eb74a3be5080 (diff)
downloadopenttd-76b8970a33a9dfad23fe14d92813f21385594986.tar.xz
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
Diffstat (limited to 'src/news_func.h')
-rw-r--r--src/news_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_func.h b/src/news_func.h
index 5ccbbef4d..c43030375 100644
--- a/src/news_func.h
+++ b/src/news_func.h
@@ -8,7 +8,7 @@
#include "news_type.h"
#include "vehicle_type.h"
-void AddNewsItem(StringID string, NewsMode mode, NewsFlag flag, NewsType type, NewsCallback callback, uint data_a, uint data_b);
+void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b);
void NewsLoop();
void DrawNewsBorder(const Window *w);
void InitNewsItemStructs();