(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.
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user