summaryrefslogtreecommitdiff
path: root/src/object_cmd.cpp
AgeCommit message (Collapse)Author
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-12(svn r26240) -Codechange: Pass the GRFFile to ↵frosch
GetErrorMessageFromLocationCallbackResult instead of the GRFID.
2013-11-04(svn r25938) -Fix [FS#5798] (r25876): Don't mistake a lighthouse for a ↵planetmaker
transmitter and vice versa
2013-10-18(svn r25880) -Fix (r25875): Special rules for world generation needs be ↵planetmaker
considered in one more place
2013-10-17(svn r25879) -Change: Allow to remove unowned objects unless they have the ↵planetmaker
'unremovable' flag
2013-10-17(svn r25876) -Codechange: Unify object placement during map creationplanetmaker
2013-10-17(svn r25875) -Change: In scenario editor allow to build all objects which ↵planetmaker
were available at any point in the past to support building scenarios with historic items
2013-10-17(svn r25871) -Codechange: Move placement rules for lighthouses to its own ↵planetmaker
function
2013-10-17(svn r25870) -Codechange: Move placement rules for transmitter to its own ↵planetmaker
function
2013-10-12(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope ↵zuu
information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
2013-10-12(svn r25835) -Change: Increase the total number of object types from 256 to ↵frosch
64000.
2013-10-12(svn r25833) -Codechange: Move ObjectType from map array into pool item.frosch
2013-10-12(svn r25832) -Codechange: Reduce variety of object type test functions.frosch
2013-09-02(svn r25753) -Fix [FS#5725] (r25557): If old savegames contain bridges over ↵frosch
owned land, keep on drawing the bridges nevertheless.
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