summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
AgeCommit message (Collapse)Author
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 r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
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-31(svn r23071) -Codechange: [NewGRF] Allow passing custom extra data through ↵michi_cc
the generic NewGRF animation helper class.
2011-09-11(svn r22923) -Codechange: Move application of the construction stage into ↵frosch
TileLayoutSpriteGroup::ProcessRegisters().
2011-08-08(svn r22731) -Fix: [NewGRF] The construction stage sprites were incorrectly ↵frosch
selected in cases other than 1 or 4 sprites per set.
2011-07-11(svn r22656) -Codechange: Deduplicate the custom error message of the ↵michi_cc
industry shape and location callbacks.
2011-07-10(svn r22648) -Fix (r22629): Missing 'break'. (thanks michi_cc)frosch
2011-07-04(svn r22635) -Fix: Correctly reseed random bits of industries and industry ↵frosch
tiles.
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-07-03(svn r22629) -Fix [FS#4599]: Remove all usages of the ErrorRefStack. It was ↵frosch
continuously overwritten by e.g. industry prospection without closing the old error window; also StopTextRefStackUsage() was not called for errors returned by commands (which caused FS#4599). Now return in the CommandCost result whether the textref stack needs to be used, and store a copy of the stack values in the error window just like for the normal string parameters.
2011-07-03(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to ↵frosch
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-06-12(svn r22564) -Codechange: Rename Get and Store persistent storage functions ↵terkhen
to GetValue and StoreValue.
2011-06-12(svn r22563) -Codechange: Use a function for storing values inside the ↵terkhen
persistent storage.
2011-06-12(svn r22557) -Codechange: Remove constness from AnimationBase callbacks.terkhen
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of ↵frosch
TileLayoutSpriteGroup instead of allocating it separately.
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-10-28(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that ↵yexo
defined tiles that relied on the substitute being drawn were broken
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-10-16(svn r20942) -Feature [NewGRF]: make it possible to distinguish player ↵rubidium
built/randomly placed industries in the location and land slope check callbacks
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-26(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so ↵rubidium
related code
2010-08-26(svn r20627) -Codechange: unify the animation code of station, airport, ↵rubidium
house and industry tiles
2010-08-26(svn r20623) -Codechange: unify the storing of animation related informationrubidium
2010-08-26(svn r20622) -Codechange: unify ↵rubidium
[GS]et[Statation|Object|Industry|House]AnimationFrame
2010-08-10(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare ↵rubidium
it for more spritegroups
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more ↵rubidium
logical location
2010-05-29(svn r19901) -Add: [NewGRF] Access to industry founder (var A7) during ↵frosch
callbacks 28 and 2F. (yexo)
2010-05-01(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and ↵frosch
industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
2010-05-01(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed ↵frosch
industries and houses during construction callbacks.
2010-04-24(svn r19707) -Add: helper functions to instantiate/fill ResolverObjectsrubidium
2010-04-05(svn r19565) -Fix: some NewGRF callbacks were named incorrectlyrubidium
2010-02-27(svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a ↵alberth
succeeded or failed command.
2010-02-22(svn r19195) -Codechange: actually draw newgrf airport tilesyexo
2010-02-07(svn r19053) -Codechange: Add an enum for the special flags of industry ↵frosch
tiles. (based on andythenorth' work)
2010-01-21(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry ↵yexo
tile chain when the industry tile was part of an original industry
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-17(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.frosch
2010-01-17(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to ↵frosch
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-08(svn r18762) -Codechange: unduplicate sprite layout drawing between ↵yexo
industries and houses
2010-01-08(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only ↵frosch
using default sprites.
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium