Changeset - r1862:4487c19c6db3
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-05-27 13:41:03
darkvater@openttd.org
(svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
newgrf.c
Show inline comments
 
@@ -1968,26 +1968,27 @@ static void GRFInhibit(byte *buf, int le
 

	
 

	
 
static void InitializeGRFSpecial(void)
 
{
 
	/* FIXME: We should rather reflect reality in _ttdpatch_flags[]. */
 

	
 
	_ttdpatch_flags[0] = (1 << 0x1B); /* multihead */
 
	_ttdpatch_flags[1] = (1 << 0x08)  /* mammothtrains */
 
	                   | (1 << 0x0B)  /* subsidiaries */
 
	                   | (1 << 0x14)  /* bridgespeedlimits */
 
	                   | (1 << 0x16)  /* eternalgame */
 
	                   | (1 << 0x17)  /* newtrains */
 
	                   | (1 << 0x18)  /* newrvs */
 
	                   | (1 << 0x19)  /* newships */
 
	                   | (1 << 0x1A)  /* newplanes */
 
			   | (1 << 0x1B); /* signalsontrafficside */
 
			               | (1 << 0x1B); /* signalsontrafficside */
 
	                   /* Uncomment following if you want to fool the GRF file.
 
	                    * Some GRF files will refuse to load without this
 
	                    * but you can still squeeze something from them even
 
	                    * without the support - i.e. USSet. --pasky */
 
			   //| (1 << 0x1C); /* electrifiedrailway */
 
			               //| (1 << 0x1C); /* electrifiedrailway */
 

	
 
	_ttdpatch_flags[2] = (1 << 0x0D)  /* buildonslopes */
 
	                   | (1 << 0x16)  /* canals */
 
	                   | (1 << 0x17); /* newstartyear */
 
}
 

	
0 comments (0 inline, 0 general)