summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
AgeCommit message (Collapse)Author
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
2008-03-31(svn r12513) -Codechange: rename OriginalTileRandomiser something more ↵skidd13
descriptive
2008-03-27(svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only.glx
2008-03-18(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't ↵skidd13
computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-01-31(svn r12028) -Codechange: Split common part of station var 0x67, house var ↵frosch
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.
2008-01-15(svn r11855) -Fix [FS#1335]: recompute town population when removing a ↵glx
'newhouses' grf, or when loading a game with missing 'newhouses' grfs
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...rubidium
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11664) -Codechange: use more specific ("rail_type.h" instead of ↵rubidium
"rail.h" that includes way more than only "rail_type.h") includes at some places.
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-12(svn r11418) -Fix (r11416): forgot an instanceglx
2007-11-12(svn r11416) -Fix(r11411): For once, the warnings of MSVC are not useless. ↵belugas
Inversion of the two parameters of DoTriggerHouse cause a complain which was legit, in this case
2007-11-11(svn r11411) -Codechange: implement random triggers for houses.rubidium
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.