summaryrefslogtreecommitdiff
path: root/src/tree_cmd.cpp
AgeCommit message (Collapse)Author
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
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-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
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-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-02-20(svn r12199) -Codechange: Remove magic around the results of ↵frosch
GetTileTrackStatus().
2008-02-18(svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so ↵smatz
there can be less checks in pathfinders for depots/stations/tunnels/bridges
2008-02-08(svn r12087) -Fix: MSVC warningsglx
2008-02-06(svn r12074) -Cleanup: use C++ variable scope and declaration in ↵smatz
DrawTile_Trees()
2008-02-06(svn r12073) -Codechange: stop drawing trees a bit earlier when they are ↵smatz
invisible
2008-01-31(svn r12029) -Feature: Allow trees on shore.frosch
2008-01-30(svn r12024) -Codechange: Reduce code duplication inside tree_cmd.frosch
-CodeChange: When rocks get removed while planting trees, barren the ground. -Fix: In one case trees could spread under bridges.
2008-01-30(svn r12022) -Revert(r12018): Invisible trees are now separate from the ↵belugas
building concept. So when you want invisible trees, just select the option of the same name in the Patch Options and toggle transparency of trees. More to come on the saga of Invisibility. So stay tuned.
2008-01-30(svn r12020) -Documentation: Correct description of TropicZone.frosch
2008-01-30(svn r12018) -Fix(FS#1721,r9563): Restore initial intent on the invisible ↵belugas
tree while transparent building patch setting
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
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 r11795) -Fix [FS#1616]: take town rating into account when testing if a ↵glx
command can be executed.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...rubidium
2008-01-03(svn r11750) -Revert (r11749): commited too muchglx
2008-01-03(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset ↵glx
vehicle color mapping so the vehicles use the new owner color
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
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 r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-11-27(svn r11533) -Codechange: Rename some unclear clear_x prices member names.belugas
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-19(svn r11476) -Codechange: rename the function myabs to abs to get rid of an ↵skidd13
unneeded define
2007-11-13(svn r11426) -Codechange: Just one boolean inversion instead of twobelugas
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.
2007-10-11(svn r11246) -Codechange: beautify some conditions from "if else" into ↵belugas
trinary operator
2007-10-11(svn r11244) -Fix: trees can now be planted on bare land without making it ↵truelight
grassy (Csaboka) -Fix: planting tree in desert doesn't make it grassy for the first tile-cycle (Csaboka) -Fix: when a tree dies in desert, it no longer becomes a snowy tile for the first tile-cycle (Csaboka)
2007-09-19(svn r11128) -Fix: a lot of graphical glitches by changing some bounding ↵rubidium
boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-17(svn r11124) -Documentation: of tree_map.h and tree_cmd.cpp. Patch by Progman.rubidium
2007-08-31(svn r11024) -Fix [FS#1173]: give a more correct error when building some ↵rubidium
things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ.
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-07-26(svn r10698) -Codechange [FS#1082]: simplify the code related to ↵rubidium
foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.