summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.cpp
AgeCommit message (Collapse)Author
2019-10-19Codechange: Use std::vector for industry tile layoutsNiels Martin Hansen
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
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-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
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 r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2014-01-12(svn r26240) -Codechange: Pass the GRFFile to ↵frosch
GetErrorMessageFromLocationCallbackResult instead of the GRFID.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-08(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info ↵frosch
variables. (rubidium)
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 r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.
2011-11-08(svn r23140) -Add: ErrorUnknownCallbackResult()frosch
2011-11-04(svn r23106) -Codechange: pass int* to GetTileSlope and friendsrubidium
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
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-09-11(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing ↵frosch
construction stages in spritelayouts with inconsistent number of sprites per spriteset.
2011-08-27(svn r22848) -Add: The missing bits in station variable 43.frosch
2011-08-06(svn r22721) -Fix (r22518): Conditionally hiding a sprite caused subsequent ↵frosch
items of the spritelayout to use wrong registers.
2011-07-21(svn r22679) -Change [FS#4692] (r22655): [NewGRF] Use a value of 0 to ↵planetmaker
indicate the invalid waterclass in the nearby land info (0x60 ind. tiles, 0x62 houses, objects,...)
2011-07-11(svn r22659) -Add: [NewGRF] Support for the land slope check callback for ↵michi_cc
stations.
2011-07-11(svn r22657) -Add: [NewGRF] More default error messages for the industry ↵michi_cc
shape and location callbacks.
2011-07-11(svn r22656) -Codechange: Deduplicate the custom error message of the ↵michi_cc
industry shape and location callbacks.
2011-07-11(svn r22655) -Add: [NewGRF] Add water class to the 'land info of nearby ↵michi_cc
tiles' vars.
2011-06-13(svn r22578) -Fix: another MSVC compile warningrubidium
2011-06-13(svn r22574) -Fix (r22566): GetGRFID was using a wrong return type.terkhen
2011-06-12(svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function.terkhen
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for ↵frosch
spritelayouts allocated on the heap, and make use of constructors and destructors.
2011-05-02(svn r22410) -Document: some more bits ;)rubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-10-19(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for ↵yexo
industry vars 60,61,62,63 are unsigned instead of signed
2010-08-28(svn r20654) -Codechange: implement reading action0 of objectsrubidium
2010-08-28(svn r20648) -Codechange: implement the NewGRF override manager for objectsrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-14(svn r20487) -Fix: typo in commentsrubidium
2010-08-11(svn r20448) -Codechange: make some functions that can be const construbidium
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.frosch
2010-08-09(svn r20420) -Codechange: Add TileContext enum instead of using a bool.frosch
2010-08-08(svn r20418) -Fix [FS#4017](r20125): During world generation the ↵frosch
snow-mapbits are not yet available, so test the snowline variable directly (as before).
2010-08-08(svn r20411) -Codechange: rename unmovables as quite a lot of them are ↵rubidium
actually movable; e.g. HQ and owned land are pretty movable.
2010-08-07(svn r20401) -Codechange: let HouseSpec use GRFFilePropsrubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch