Commit Graph

381 Commits (582a75e0527eb11232bb2390fa1230bd2720f5ee)

Author SHA1 Message Date
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
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
frosch 1abaae6002 (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 d8887e4848 (svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code. 14 years ago
smatz 037cc66755 (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 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
frosch 4a4dd45193 (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 c95bd6c214 (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 5c3c30d421 (svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability(). 14 years ago
alberth e070a87b0f (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
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
rubidium 4ad5ef5c43 (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
rubidium 360d6daf34 (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 514f566d7c (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
alberth a51d34c048 (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
yexo 5162f28c27 (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
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (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 8c85b4ce3d (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 3cd9351618 (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
rubidium 9fd2afb147 (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 ee53807e51 (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 56103a62a4 (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
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
rubidium cb92cdf975 (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 a4413f4cf6 (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 80db03aef7 (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
frosch a2bf2bfa87 (svn r19499) -Remove: same_industry_close setting did not do what it said and caused NewGRF trouble. 14 years ago
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 14 years ago
frosch be6c18454a (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 14 years ago
yexo d72dfea800 (svn r19476) -Codechange: simplify the 'is conflicting industry nearby' check a bit 14 years ago