summaryrefslogtreecommitdiff
path: root/src/object_cmd.cpp
AgeCommit message (Collapse)Author
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2021-01-06Fix #8168: allow relocating of HQ partial over existing HQ (#8510)Patric Stout
Just in case you want to move it SLIGHTLY to the right.
2019-12-21Codechange: Replace FOR_ALL_OBJECTS with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-11-10Fix #7697: Add a Missing AddProducedCargo proc for HQSamu
On TileLoop_Object, HQs are able to produce and move passengers and mail to stations, but querying the HQ tiles for cargo supplied was returning nothing. This makes it so that they return +1 to both passengers and mail.
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-08Fix #7478: Don't remove NewGRF objects on company take-over. (#7483)PeterN
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-13Cleanup: Remove questionable syntax in HQ size calculationJohannes E. Krause
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2016-09-18(svn r27656) -Fix [FS#6511]: When removing objects of bankrupt companies the ↵frosch
tiles may revert to canal. In that case also check the ownership of the canal.
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
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