summaryrefslogtreecommitdiff
path: root/src/object_cmd.cpp
AgeCommit message (Collapse)Author
2012-01-22(svn r23842) -Change [FS#5001, FS#5002]: do not let towns (ever) remove objectsrubidium
2012-01-06(svn r23763) -Fix [FS#4956]: check whether a water tile is really empty when ↵rubidium
overbuilding it with an object
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23723) -Codechange: speedup flood checks a bityexo
2011-12-03(svn r23413) -Add: Company infrastructure counts for canals.michi_cc
2011-11-16(svn r23236) -Fix (r23141): Construction of objects was always rejected.frosch
2011-11-08(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitionsyexo
2011-11-08(svn r23148) -Change: [NewGRF] Check the results of various callbacks for ↵frosch
validness.
2011-11-08(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean ↵frosch
callbacks, and check the results for validity.
2011-11-08(svn r23141) -Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and ↵frosch
157 to make them consistent with other slope check callbacks. (michi_cc)
2011-11-04(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type ↵rubidium
functions use int z as well
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the station/object building code
2011-11-04(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
for the terraform code
2011-11-04(svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT ↵rubidium
from the bridge code
2011-11-04(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and ↵rubidium
use it
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-10-04(svn r22994) -Fix [FS#4775]: tile was cleared before the object-placement ↵yexo
callback was run, resulting in possible differences in test and exec run
2011-09-25(svn r22960) -Feature: Allow depots, standard roadstops and airports on ↵frosch
steep slopes.
2011-07-30(svn r22698) -Fix [FS#4694]: Only insert cleared object tiles into ↵frosch
_cleared_object_areas if clearing actually succeeds, else subsequential tests of the same tile will be skipped and considered successful.
2011-07-11(svn r22658) -Feature: [NewGRF] Custom error messages for object callback 0x157.michi_cc
2011-07-08(svn r22643) -Fix: Disallow building NewObjects on water tiles owned by ↵michi_cc
another company.
2011-06-12(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.terkhen
2011-02-19(svn r22116) -Codechange: use PoolBase::Clean() at more placessmatz
2011-02-08(svn r22033) -Fix: don't crash when there are too many objects generated ↵smatz
already when placing transmitters
2011-02-08(svn r22026) -Fix: don't crash when we generate too many objects while ↵smatz
generating map
2011-02-07(svn r22019) -Codechange: s/functions.h/clear_func.h/rubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-12-12(svn r21485) -Codechange: use CircularTileSearch to find whether there's a ↵rubidium
transmitter nearby
2010-12-10(svn r21454) -Codechange: add support for object variable 48rubidium
2010-12-10(svn r21453) -Codechange: add the view of an object to the savegamerubidium
2010-11-24(svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave ↵rubidium
more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object
2010-11-21(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.frosch
2010-11-21(svn r21288) -Codechange: Add helper function to find entries in ↵frosch
_cleared_object_areas.
2010-11-13(svn r21156) -Codechange: Introduce EconomyIsInRecession().alberth
2010-10-12(svn r20919) -Fix [FS#4140]: objects didn't change colour when the company ↵rubidium
changed colour. Now they do, except when the "decide colour" callback is (defined to be) used
2010-10-08(svn r20909) -Fix [FS#4137]: don't see coasts as water for object constructionrubidium
2010-09-05(svn r20748) -Fix: overbuilding an object tile with sea under it with a ↵yexo
canal didn't take the cost for clearing the sea into account
2010-09-05(svn r20745) -Fix: don't delete an object when trying to terraform a tile of ↵yexo
it with canal under it. If we delete the object the terraforming will still fail due to the canal
2010-09-05(svn r20744) -Fix: overbuilding an object with water under it failedyexo
2010-09-05(svn r20743) -Fix: Make testruns of clearing an object tile not influence ↵frosch
repeated testruns resp. the exec run.
2010-09-05(svn r20742) -Fix: Evaluate DC_NO_WATER flag when clearing objects built on ↵frosch
water.
2010-09-03(svn r20730) -Fix: crash when removing an object while the newgrf debug ↵yexo
window was open for that object
2010-09-03(svn r20729) -Fix [FS#4107]: assert when overbuilding objectyexo
2010-09-02(svn r20721) -Fix: objects that can be built on water shouldn't be drowned.rubidium
2010-09-01(svn r20714) -Fix: bit 9 of object's flags implies bit 3 is set, so just ↵rubidium
test for either of the bits being set
2010-09-01(svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't ↵rubidium
removed properly
2010-08-31(svn r20706) -Fix (r20664): land slope check wasn't called when it should be ↵rubidium
called
2010-08-28(svn r20669) -Codechange: trigger the whole object every 256 ticks instead ↵rubidium
of every 250 ticks