summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
AgeCommit message (Collapse)Author
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.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-23(svn r12844) -Fix: the industry tick trigger should only be triggered once ↵rubidium
every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway.
2008-04-21(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does ↵rubidium
it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
2008-04-21(svn r12817) -Feature: the ability to play NewGRF sounds for industries and ↵rubidium
stations.
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-20(svn r12800) -Codechange: move the animated tile related functions out of ↵rubidium
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent