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 |
|
rubidium
|
0b67a7ccd5
|
(svn r20942) -Feature [NewGRF]: make it possible to distinguish player built/randomly placed industries in the location and land slope check callbacks
|
2010-10-16 13:15:54 +00:00 |
|
frosch
|
8a5571a264
|
(svn r20900) -Codechange: Move ProductionLevels enum to industry.h
|
2010-10-04 20:10:31 +00:00 |
|
frosch
|
7f060bdaf5
|
(svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function.
|
2010-10-04 19:23:50 +00:00 |
|
frosch
|
b65f463e33
|
(svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code.
|
2010-09-26 11:04:30 +00:00 |
|
smatz
|
a09bc6c366
|
(svn r20764) -Codechange: minor coding style fix
|
2010-09-07 20:38:26 +00:00 |
|
yexo
|
8cc43828e8
|
(svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing
|
2010-09-06 15:23:16 +00:00 |
|
yexo
|
323c526a4d
|
(svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water
|
2010-09-05 16:00:04 +00:00 |
|
frosch
|
42a996ec23
|
(svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run.
|
2010-09-05 13:31:39 +00:00 |
|
alberth
|
4f435d9256
|
(svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build.
|
2010-09-04 12:09:12 +00:00 |
|
alberth
|
21a80e0a0e
|
(svn r20737) -Codechange: Introduce a function for advertising opening of a new industry.
|
2010-09-04 12:01:55 +00:00 |
|
alberth
|
fcf92a20e2
|
(svn r20736) -Codechange: Introduce a new function for trying to create a new industry.
|
2010-09-04 11:59:12 +00:00 |
|
alberth
|
6c34a044c8
|
(svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability().
|
2010-09-04 11:29:42 +00:00 |
|
alberth
|
03f7733f83
|
(svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability().
|
2010-09-04 11:16:40 +00:00 |
|
yexo
|
2d30613c3a
|
(svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object
|
2010-09-04 00:16:33 +00:00 |
|
terkhen
|
5df8e6abcf
|
(svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor.
|
2010-09-01 19:04:06 +00:00 |
|
rubidium
|
8fd9728e19
|
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
|
2010-08-28 18:37:49 +00:00 |
|
frosch
|
4901d42140
|
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
|
2010-08-27 20:46:36 +00:00 |
|
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
2010-08-26 22:01:16 +00:00 |
|
rubidium
|
08a41c6ee5
|
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
|
2010-08-26 19:29:20 +00:00 |
|
rubidium
|
e2e26190d5
|
(svn r20623) -Codechange: unify the storing of animation related information
|
2010-08-26 15:31:40 +00:00 |
|
rubidium
|
4efa2efdbb
|
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
|
2010-08-26 14:45:45 +00:00 |
|
alberth
|
35fec79700
|
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
|
2010-08-15 14:06:43 +00:00 |
|
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.
|
2010-08-08 10:59:30 +00:00 |
|
yexo
|
e80f339086
|
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
|
2010-08-07 20:11:27 +00:00 |
|
alberth
|
0e900039f3
|
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
|
2010-08-02 20:47:27 +00:00 |
|
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
2010-08-01 19:44:49 +00:00 |
|
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
2010-08-01 19:22:34 +00:00 |
|
rubidium
|
4871baf44d
|
(svn r20282) -Codechange: add some spaces where they should've been
|
2010-08-01 19:01:09 +00:00 |
|
rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
|
alberth
|
dc6ed2c2c0
|
(svn r20279) -Doc: Doxygen additions/improvements.
|
2010-08-01 17:45:53 +00:00 |
|
alberth
|
2dd77d0ef9
|
(svn r20241) -Codechange: Move variable declarations to their first use.
|
2010-07-30 10:39:24 +00:00 |
|
alberth
|
be6c058424
|
(svn r20211) -Codechange: Indented code should have curly braces around it.
|
2010-07-24 10:14:39 +00:00 |
|
rubidium
|
b8487afe54
|
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
|
2010-07-19 17:28:27 +00:00 |
|
frosch
|
1d3adb2b66
|
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
2010-06-05 12:16:12 +00:00 |
|
frosch
|
9db3cde73a
|
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
|
2010-05-31 20:22:57 +00:00 |
|
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.
|
2010-05-30 12:26:32 +00:00 |
|
frosch
|
e296eeb20c
|
(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during callbacks 28 and 2F. (yexo)
|
2010-05-29 13:08:50 +00:00 |
|
rubidium
|
062dd0e24c
|
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
|
2010-05-13 10:14:29 +00:00 |
|
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.
|
2010-05-01 13:09:49 +00:00 |
|
rubidium
|
f56ebd81c3
|
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
|
2010-04-24 13:39:11 +00:00 |
|
frosch
|
ca9a015984
|
(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries.
|
2010-04-23 21:47:03 +00:00 |
|
frosch
|
2e90f7f8b9
|
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
|
2010-04-18 14:56:05 +00:00 |
|
frosch
|
184fa43df2
|
(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits.
|
2010-04-17 11:49:25 +00:00 |
|
frosch
|
2141ca2368
|
(svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types.
|
2010-04-16 21:21:54 +00:00 |
|
rubidium
|
bc925c0016
|
(svn r19565) -Fix: some NewGRF callbacks were named incorrectly
|
2010-04-05 21:01:02 +00:00 |
|