Commit Graph

430 Commits

Author SHA1 Message Date
truebrain
98103121d4 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 2011-11-29 23:15:35 +00:00
yexo
5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 2011-11-08 19:48:47 +00:00
frosch
52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 2011-11-08 17:27:13 +00:00
frosch
30874b5e81 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 2011-11-08 17:26:49 +00:00
frosch
b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 2011-11-08 17:26:13 +00:00
rubidium
2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium
459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 2011-11-04 11:36:10 +00:00
rubidium
19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 2011-11-04 11:30:37 +00:00
rubidium
798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium
1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 2011-11-04 10:25:58 +00:00
rubidium
2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
frosch
3eddb9c23f (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 2011-10-21 19:10:35 +00:00
planetmaker
dfa45e79fe (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 2011-07-19 16:52:30 +00:00
terkhen
00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 2011-06-12 20:47:45 +00:00
terkhen
d7ec492887 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 2011-06-12 20:31:44 +00:00
planetmaker
e5a88a1077 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 2011-06-09 16:35:09 +00:00
frosch
71822b6f1b (svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects) 2011-05-28 09:45:12 +00:00
frosch
474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 2011-05-21 11:26:37 +00:00
smatz
756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
rubidium
bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 2011-02-07 22:37:22 +00:00
planetmaker
68d03b66e3 (svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting 2011-02-07 20:47:58 +00:00
planetmaker
44495f8dba (svn r22011) -Codechange: Rename a few variables and enhance code clearity 2011-02-07 20:47:06 +00:00
planetmaker
64280e63fb (svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables 2011-02-07 20:45:31 +00:00
alberth
4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 2011-02-06 18:26:50 +00:00
alberth
d84502c432 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 2011-02-06 18:11:39 +00:00
alberth
a5921c0514 (svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE. 2011-02-06 17:21:49 +00:00
alberth
870d2eafbf (svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE. 2011-02-06 17:19:56 +00:00
alberth
bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 2011-02-05 10:28:31 +00:00
terkhen
734994c9ba (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
rubidium
7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium
7efd7e19ed (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 2011-01-18 22:31:06 +00:00
rubidium
cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 2010-12-12 20:58:33 +00:00
rubidium
e0351ab414 (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 2010-12-12 20:11:46 +00:00
alberth
3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 2010-11-20 14:15:02 +00:00
alberth
d6afbd025c (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 2010-11-20 12:20:59 +00:00
alberth
2c4564c7dd (svn r21175) -Add: Forced construction of missing industries. 2010-11-13 15:21:55 +00:00
alberth
0c775e5750 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 2010-11-13 15:20:57 +00:00
alberth
a245db6360 (svn r21173) -Codechange: Don't recompute target industry counts each time. 2010-11-13 15:19:43 +00:00
alberth
eb4ab0091a (svn r21172) -Feature: Better control over how many new industries are created during the game. 2010-11-13 15:17:55 +00:00
alberth
f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 2010-11-13 15:15:25 +00:00
alberth
67549a206c (svn r21169) -Feature: Do not build industries during economic recession. 2010-11-13 15:08:47 +00:00
alberth
3211ab301e (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 2010-11-13 15:07:34 +00:00
alberth
e861487bcb (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 2010-11-13 15:04:58 +00:00
alberth
1bf94674df (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 2010-11-13 15:02:31 +00:00
alberth
239fcc8ccd (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 2010-11-13 10:17:16 +00:00
alberth
6c088543c1 (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 2010-11-13 10:11:47 +00:00
alberth
43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
yexo
9a07ebc382 (svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken 2010-10-28 11:10:12 +00:00