Merge branch 'master' into jgrpp
# Conflicts: # src/autoreplace_cmd.cpp # src/company_base.h # src/company_gui.cpp # src/cpu.cpp # src/debug.h # src/group.h # src/group_cmd.cpp # src/house.h # src/industry.h # src/newgrf_house.cpp # src/news_type.h # src/openttd.cpp # src/saveload/company_sl.cpp # src/settings_type.h # src/sl/oldloader_sl.cpp # src/story.cpp # src/table/town_land.h # src/viewport.cpp
This commit is contained in:
		@@ -11,6 +11,7 @@
 | 
			
		||||
#define LIVERY_H
 | 
			
		||||
 | 
			
		||||
#include "company_type.h"
 | 
			
		||||
#include "gfx_type.h"
 | 
			
		||||
 | 
			
		||||
static const byte LIT_NONE    = 0; ///< Don't show the liveries at all
 | 
			
		||||
static const byte LIT_COMPANY = 1; ///< Show the liveries of your own company
 | 
			
		||||
@@ -78,8 +79,8 @@ DECLARE_ENUM_AS_ADDABLE(LiveryClass)
 | 
			
		||||
/** Information about a particular livery. */
 | 
			
		||||
struct Livery {
 | 
			
		||||
	byte in_use;  ///< Bit 0 set if this livery should override the default livery first colour, Bit 1 for the second colour.
 | 
			
		||||
	byte colour1; ///< First colour, for all vehicles.
 | 
			
		||||
	byte colour2; ///< Second colour, for vehicles with 2CC support.
 | 
			
		||||
	Colours colour1; ///< First colour, for all vehicles.
 | 
			
		||||
	Colours colour2; ///< Second colour, for vehicles with 2CC support.
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void ResetCompanyLivery(Company *c);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user