(svn r11204) -Feature: [NewGRF] Add support for Action 00 for Industries and IndustryTiles.
authorbelugas
Fri, 05 Oct 2007 02:21:40 +0000
changeset 8169 38b56ae08de9
parent 8168 a1f7d65a60be
child 8170 5ec8665fb427
(svn r11204) -Feature: [NewGRF] Add support for Action 00 for Industries and IndustryTiles.
Thanks to :Csaboka for original concept, specs & help. Dalestan for technical explanations.
Pikkabird & Georges for detailled comments on their grf works. The Alpha testers (You know who you are).
And finally (but not least) Maedhros (newhouses), peter1138(newgrf) Rubidium and glx (numerous and welcome patches)
Remember: it certainly can be buggy. But be sure that behaviour has been tested in TTDP (if you can) before raising a flag.
src/newgrf.cpp
--- a/src/newgrf.cpp	Fri Oct 05 02:06:29 2007 +0000
+++ b/src/newgrf.cpp	Fri Oct 05 02:21:40 2007 +0000
@@ -4724,7 +4724,7 @@
 	                   |                                        (0 << 0x04)  // aichoosechance
 	                   |                                        (1 << 0x05)  // resolutionwidth
 	                   |                                        (1 << 0x06)  // resolutionheight
-	                   |                                        (0 << 0x07)  // newindustries
+	                   |                                        (1 << 0x07)  // newindustries
 	                   |         ((_patches.improved_load ? 1 : 0) << 0x08)  // fifoloading
 	                   |                                        (0 << 0x09)  // townroadbranchprob
 	                   |                                        (0 << 0x0A)  // tempsnowline