summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
AgeCommit message (Collapse)Author
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
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-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
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-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-05(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67yexo
2009-12-16(svn r18514) -Codechange: make it a bit clearer that for tile layouts ↵rubidium
num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-16(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing ↵rubidium
foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-02(svn r17047) -Fix: Mark house tiles dirty when triggers were triggered.frosch
2009-08-02(svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the ↵frosch
north tile.
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-10(svn r16559) -Codechange: introduce Company::IsValidAiID() and ↵smatz
Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-05-23(svn r16402) -Codechange: make Resolve a function of SpriteGrouprubidium
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-15(svn r16314) -Fix (r9315): Allow accessing the houseage when the house is ↵frosch
not yet built.
2009-03-17(svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 ↵frosch
were incorrect after 0xFF had been reached and could desync clients joining afterwards.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-11-23(svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map ↵frosch
array instead of the construction year. Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-11-22(svn r14605) -Fix (r9315): When callback 1E fails, use the standard random ↵frosch
colour.
2008-10-18(svn r14488) -Fix: Synchronize drawing of spritelayouts in DrawTileLayout ↵frosch
(Houses), IndustryDrawTileLayout, DrawStationTile, DrawTile_Station and DrawTile_Track (Waypoint). Now transparency options, PALETTE_MODIFIER_TRANSPARENT and SPRITE_MODIFIER_OPAQUE should work for all of them.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-12(svn r14295) -Fix(r14294): If the house is not built yet, still give me ↵belugas
proper coordinates, pretty please! Plus, two(2) rogue tabs found their way in.
2008-09-12(svn r14294) -Feature[newGRF]: Add Variational Action 2 Variable 0x47 for ↵belugas
houses, Coordinates of the house tile
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-18(svn r13729) -Fix: assumption that non-north tiles of a house do not have ↵rubidium
the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-25(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable ↵frosch
is queried for.
2008-06-25(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().frosch
2008-06-25(svn r13629) -Fix [FS#2108](r13603): diameter != radiusfrosch
2008-06-21(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables ↵belugas
for Houses. This var will return the manhattan distance of the nearest house that match a given criteria. The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID The search radius can be defined too, up to 64.
2008-06-18(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences ↵smatz
are now drawn until first non-opaque sprite is found (bit 14 not set) This is to balance performance, code complexity and NewGRF requirements
2008-06-15(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 ↵belugas
variable for Houses. Or, in more simple terms, the check for the animation frame of nearby house.