Commit Graph

1118 Commits (jgrpp)

Author SHA1 Message Date
Jonathan G Rennison 26fa77c5ee Run animations at the normal rate regardless of day length factor. 8 years ago
patch-import 536a95dfd0 Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
9 years ago
rubidium dc2b4f2498 (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
rubidium 9daf7e749c (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
alberth db47d62069 (svn r26729) -Feature: Warn about missing industries after generating a map. 10 years ago
alberth 87dd209784 (svn r26729) -Feature: Warn about missing industries after generating a map. 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
planetmaker 5c3891fe3c (svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted 10 years ago
planetmaker 2aa545a842 (svn r26457) -Codechange: Remove unused parameter from SetIndustryCompleted 10 years ago
frosch 6040da6654 (svn r26328) -Fix: Warnings and compilation failures. 10 years ago
frosch 03169121c2 (svn r26328) -Fix: Warnings and compilation failures. 10 years ago
rubidium 7b342616db (svn r26312) -Codechange: iterate the nearby tiles instead of the industry list for a conflicting industry when the number of industries is really large (MJP) 10 years ago
rubidium c7629735a3 (svn r26312) -Codechange: iterate the nearby tiles instead of the industry list for a conflicting industry when the number of industries is really large (MJP) 10 years ago
rubidium 732ae5b600 (svn r26308) -Fix-ish: do not try to build more towns/industries than the pool can hold (MJP) 10 years ago
rubidium 30a95966ec (svn r26308) -Fix-ish: do not try to build more towns/industries than the pool can hold (MJP) 10 years ago
zuu 16a6a26919 (svn r25853) -Codechange: Simplify SetupFarmFieldFence by replacing the Axis and north parameter with a direction parameter and taking adventage of the new unified SetFence function (cirdan, LordAro) 11 years ago
zuu e50478c053 (svn r25853) -Codechange: Simplify SetupFarmFieldFence by replacing the Axis and north parameter with a direction parameter and taking adventage of the new unified SetFence function (cirdan, LordAro) 11 years ago
zuu 27b153d16a (svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro) 11 years ago
zuu fb5dc7762b (svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro) 11 years ago
zuu 3ca56bed7a (svn r25850) -Codechange: Merge IsBadFarmFieldTile and IsValidFarmFieldTile into IsSuitableForFarmField (cirdan, LordAro) 11 years ago
zuu e7c6786016 (svn r25850) -Codechange: Merge IsBadFarmFieldTile and IsValidFarmFieldTile into IsSuitableForFarmField (cirdan, LordAro) 11 years ago
zuu e124838db5 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 11 years ago
zuu dfb5663313 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 11 years ago
alberth 41ddef3018 (svn r25238) -Feature: Display imminent closure of an industry in its view window. 11 years ago
alberth 1b5b4db690 (svn r25238) -Feature: Display imminent closure of an industry in its view window. 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 336a93a9d8 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 12 years ago
zuu 577ba4bb67 (svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor 12 years ago
zuu 0826994821 (svn r24623) -Feature: Allow GameScripts to construct and prospect industries without having a sponsor 12 years ago
frosch 15bf9e9f03 (svn r24513) -Add: [Script] ScriptIndustryType::IsProcessingIndustry. 12 years ago
frosch bcac3d16b6 (svn r24513) -Add: [Script] ScriptIndustryType::IsProcessingIndustry. 12 years ago
frosch 2aa43d6c8b (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 12 years ago
frosch a8c88f43b6 (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 12 years ago
frosch c6af35c085 (svn r24283) -Codechange: Add AddTileNewsItem function to preemptively deduplicate code. 12 years ago
frosch a0be398da9 (svn r24283) -Codechange: Add AddTileNewsItem function to preemptively deduplicate code. 12 years ago
frosch 3f036c6af2 (svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth) 12 years ago
frosch 16b310d8ce (svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth) 12 years ago
frosch 059b4b985f (svn r24185) -Codechange: Deduplicate some only partly deduplicated code. 12 years ago
frosch 789c95d4b8 (svn r24185) -Codechange: Deduplicate some only partly deduplicated code. 12 years ago
rubidium 76d5833650 (svn r24179) -Codechange: move some variables of Town to TownCache 12 years ago
rubidium 41e5c839e0 (svn r24179) -Codechange: move some variables of Town to TownCache 12 years ago
frosch 142725e8ab (svn r24107) -Fix [FS#5143] (r3181): Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles. 12 years ago
frosch c425368a17 (svn r24107) -Fix [FS#5143] (r3181): Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles. 12 years ago
frosch afb3cbbbfc (svn r24040) -Fix [FS#5095]: Improve error messages wrt. the placement restrictions of banks, water towers and toy shops. 12 years ago
frosch a1f2ad880d (svn r24040) -Fix [FS#5095]: Improve error messages wrt. the placement restrictions of banks, water towers and toy shops. 12 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
alberth 06597e684c (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
alberth 4af8c2d5e1 (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
truebrain bc78328918 (svn r23622) -Add: a set of events to trigger in a GameScript 13 years ago
truebrain 77b7366c29 (svn r23622) -Add: a set of events to trigger in a GameScript 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
yexo 20f83ba002 (svn r23458) -Fix: don't assume all industries that cut trees have tile 0,0
-Fix: wait until all tiles of an industry are completed before starting to cut trees
13 years ago
yexo 2b1a380902 (svn r23458) -Fix: don't assume all industries that cut trees have tile 0,0
-Fix: wait until all tiles of an industry are completed before starting to cut trees
13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
truebrain 98103121d4 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
yexo 5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
frosch a608cbab5d (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 13 years ago
frosch 52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 13 years ago
frosch ebf19d6219 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 13 years ago
frosch 30874b5e81 (svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity. 13 years ago
frosch 930c6c7779 (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 13 years ago
frosch b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium 2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium fb9fb416a1 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 459c9523e8 (svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well 13 years ago
rubidium 70faeeaba9 (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 19eabdba2c (svn r23106) -Codechange: pass int* to GetTileSlope and friends 13 years ago
rubidium 1a54b7733c (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 13 years ago
rubidium 798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 13 years ago
rubidium 5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium 1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 13 years ago
rubidium a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium 69162621d8 (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium 2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
rubidium 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
frosch 856db2751a (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 13 years ago
frosch 3eddb9c23f (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 13 years ago
planetmaker 0f5eff9187 (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 13 years ago
planetmaker dfa45e79fe (svn r22673) -Add #4690: Provide random bits in var 0x10 for callback 0x3B in all cases (Hirundo) 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 3914192556 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 13 years ago
terkhen d7ec492887 (svn r22556) -Codechange: Remove constness from the town pointer at industries. 13 years ago
planetmaker 122c4622f5 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 13 years ago
planetmaker e5a88a1077 (svn r22548) -Codechange: Name also the magic number for the lumber mill's tree cutting action (FeyFre) 13 years ago
frosch a3d8633e40 (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) 13 years ago
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) 13 years ago
frosch 62b6d0eb0e (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
frosch 474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 13 years ago
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 13 years ago
rubidium cb2c7f871f (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
planetmaker 4fed6cc02e (svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting 14 years ago
planetmaker 68d03b66e3 (svn r22012) -Add: [NewGRF] Test all industry layouts also when prospecting 14 years ago
planetmaker 1cb6024e1d (svn r22011) -Codechange: Rename a few variables and enhance code clearity 14 years ago
planetmaker 44495f8dba (svn r22011) -Codechange: Rename a few variables and enhance code clearity 14 years ago
planetmaker c4544814da (svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables 14 years ago
planetmaker 64280e63fb (svn r22010) -Feature-ette [FS#4131]: [NewGRF] Test all possible industry layouts during construction and add another pony to andy's stables 14 years ago
alberth 8c3041b3c9 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
alberth 4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
alberth f838069a44 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 14 years ago
alberth d84502c432 (svn r22000) -Codechange: Introduce an enum for the industry density setting. 14 years ago
alberth d64ce48f4d (svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE. 14 years ago
alberth a5921c0514 (svn r21999) -Fix [FS#4474] (r21969): Use 'very low' industry density for generating industries in the SE. 14 years ago
alberth 4a1706d5b0 (svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE. 14 years ago
alberth 870d2eafbf (svn r21998) -Fix (r21969): Number of industries difficulty setting should not affect the SE. 14 years ago
alberth e3a35f7d40 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
alberth bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
terkhen 0e51dab6a6 (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
14 years ago
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.
14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
rubidium 7efd7e19ed (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 14 years ago
rubidium 6327f2b745 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 14 years ago
rubidium cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 14 years ago
rubidium fcd12b07bc (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 14 years ago
rubidium e0351ab414 (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 14 years ago
alberth de9c678901 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 14 years ago
alberth 73364915f1 (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 14 years ago
alberth d6afbd025c (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 14 years ago
alberth 3f65b99859 (svn r21175) -Add: Forced construction of missing industries. 14 years ago
alberth 2c4564c7dd (svn r21175) -Add: Forced construction of missing industries. 14 years ago
alberth be6ea97934 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 14 years ago
alberth 0c775e5750 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 14 years ago
alberth af72592ce1 (svn r21173) -Codechange: Don't recompute target industry counts each time. 14 years ago
alberth a245db6360 (svn r21173) -Codechange: Don't recompute target industry counts each time. 14 years ago
alberth 93765020f1 (svn r21172) -Feature: Better control over how many new industries are created during the game. 14 years ago
alberth eb4ab0091a (svn r21172) -Feature: Better control over how many new industries are created during the game. 14 years ago
alberth 40d69ce604 (svn r21171) -Change: Reset industry build data at game start or load. 14 years ago
alberth f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 14 years ago
alberth d698ee91df (svn r21169) -Feature: Do not build industries during economic recession. 14 years ago
alberth 67549a206c (svn r21169) -Feature: Do not build industries during economic recession. 14 years ago
alberth a9009b2acb (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 14 years ago
alberth 3211ab301e (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 14 years ago
alberth 6d73213ab7 (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 14 years ago
alberth e861487bcb (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 14 years ago
alberth c8e5a7b411 (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 14 years ago
alberth 1bf94674df (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 14 years ago
alberth aac41efa1a (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 14 years ago
alberth 239fcc8ccd (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 14 years ago
alberth 373c615e9e (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 14 years ago
alberth 6c088543c1 (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 14 years ago
alberth b698045b82 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 14 years ago
alberth 43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 14 years ago
yexo 30b29ae060 (svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken 14 years ago
yexo 9a07ebc382 (svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken 14 years ago
rubidium 6d72dd4b78 (svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks 14 years ago
rubidium 0b67a7ccd5 (svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks 14 years ago
frosch 1abaae6002 (svn r20900) -Codechange: Move ProductionLevels enum to industry.h 14 years ago
frosch 8a5571a264 (svn r20900) -Codechange: Move ProductionLevels enum to industry.h 14 years ago
frosch 8a55246fe6 (svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function. 14 years ago
frosch 7f060bdaf5 (svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function. 14 years ago
frosch d8887e4848 (svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code. 14 years ago
frosch b65f463e33 (svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code. 14 years ago
smatz 037cc66755 (svn r20764) -Codechange: minor coding style fix 14 years ago
smatz a09bc6c366 (svn r20764) -Codechange: minor coding style fix 14 years ago
yexo a25dc57aac (svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing 14 years ago
yexo 8cc43828e8 (svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing 14 years ago
yexo 23723413ca (svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water 14 years ago
yexo 323c526a4d (svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water 14 years ago
frosch 4a4dd45193 (svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run. 14 years ago
frosch 42a996ec23 (svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run. 14 years ago
alberth c10b57c260 (svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build. 14 years ago
alberth 4f435d9256 (svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build. 14 years ago
alberth c95bd6c214 (svn r20737) -Codechange: Introduce a function for advertising opening of a new industry. 14 years ago
alberth 21a80e0a0e (svn r20737) -Codechange: Introduce a function for advertising opening of a new industry. 14 years ago
alberth 8bda2b2313 (svn r20736) -Codechange: Introduce a new function for trying to create a new industry. 14 years ago
alberth fcf92a20e2 (svn r20736) -Codechange: Introduce a new function for trying to create a new industry. 14 years ago
alberth 5c3c30d421 (svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability(). 14 years ago
alberth 6c34a044c8 (svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability(). 14 years ago
alberth e070a87b0f (svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability(). 14 years ago
alberth 03f7733f83 (svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability(). 14 years ago
yexo 8b2b951d5c (svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object 14 years ago
yexo 2d30613c3a (svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object 14 years ago
terkhen 2cd8b7054e (svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor. 14 years ago
terkhen 5df8e6abcf (svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor. 14 years ago
rubidium 4ad5ef5c43 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
rubidium 8fd9728e19 (svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause) 14 years ago
frosch 3db0cc004b (svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass(). 14 years ago
frosch 4901d42140 (svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass(). 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium c462611488 (svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code 14 years ago
rubidium 08a41c6ee5 (svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code 14 years ago
rubidium 514f566d7c (svn r20623) -Codechange: unify the storing of animation related information 14 years ago
rubidium e2e26190d5 (svn r20623) -Codechange: unify the storing of animation related information 14 years ago
rubidium 5a7d6249af (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 14 years ago
rubidium 4efa2efdbb (svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
alberth 35fec79700 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
rubidium 1f2276b785 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
rubidium 3da3d131c6 (svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable. 14 years ago
yexo 5162f28c27 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 14 years ago
yexo e80f339086 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 14 years ago
alberth 91eba89331 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 14 years ago
alberth 0e900039f3 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 1c83b21e90 (svn r20282) -Codechange: add some spaces where they should've been 14 years ago
rubidium 4871baf44d (svn r20282) -Codechange: add some spaces where they should've been 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth e5b703ddf9 (svn r20279) -Doc: Doxygen additions/improvements. 14 years ago
alberth dc6ed2c2c0 (svn r20279) -Doc: Doxygen additions/improvements. 14 years ago
alberth 3cd9351618 (svn r20241) -Codechange: Move variable declarations to their first use. 14 years ago
alberth 2dd77d0ef9 (svn r20241) -Codechange: Move variable declarations to their first use. 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
frosch a5bea603ea (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch 1d3adb2b66 (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
frosch 9db3cde73a (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
frosch 4ecd7e1f00 (svn r19907) -Fix: [NewGRF] Call callbacks 14A, 14B and 14C after all industry variables have been assigned, so more variables are valid during the callbacks. 14 years ago
frosch 0960e0c4f2 (svn r19907) -Fix: [NewGRF] Call callbacks 14A, 14B and 14C after all industry variables have been assigned, so more variables are valid during the callbacks. 14 years ago
frosch 56103a62a4 (svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo) 14 years ago
frosch e296eeb20c (svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo) 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
frosch bca1abe146 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 14 years ago
frosch 910aade284 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 14 years ago
rubidium cb92cdf975 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 14 years ago
frosch b4a9e9cadc (svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries. 14 years ago
frosch ca9a015984 (svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries. 14 years ago
frosch a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
frosch 2e90f7f8b9 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
frosch 83bcde6da4 (svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits. 14 years ago
frosch 184fa43df2 (svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits. 14 years ago
frosch 80db03aef7 (svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types. 14 years ago
frosch 2141ca2368 (svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types. 14 years ago
rubidium 9204c5f1e4 (svn r19565) -Fix: some NewGRF callbacks were named incorrectly 14 years ago
rubidium bc925c0016 (svn r19565) -Fix: some NewGRF callbacks were named incorrectly 14 years ago
frosch a2bf2bfa87 (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 14 years ago
frosch 475c2959bd (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 14 years ago