summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-09(svn r11798) -Codechange: add comments and give a more representative ↵belugas
function's name
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-06(svn r11766) -Codechange: Last fine tunings on smooth economy, by Sirkoz.belugas
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-28(svn r11716) -Fix [FS#1561]: don't put more than one Random() in function ↵glx
calls because parameter evaluation order is not guaranteed in the c++ standard (can lead to desyncs)
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
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-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-10(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over ↵glx
a house)
2007-12-09(svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to ↵rubidium
build some industries in the scenario editor.
2007-12-07(svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrongglx
2007-12-01(svn r11545) -Revert(r11543): The result is not what was expected. Looks ↵belugas
like more work might be needed
2007-12-01(svn r11543) -Codechange: Give a more adequate message when trying to place ↵belugas
an industry required to be built over a house on any other type of tiles. In reference to FS#1492, and other "bugs" like that one
2007-11-27(svn r11534) -Feature(newgrf): Implement property 23h for Industries.belugas
This will add a cost to the removal of an industry using the cheat magic bulldozer. Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to. This is a difference from original spec, where a default base cost is added.
2007-11-27(svn r11532) -Feature[newgrf]: Add decrement(0x0D) / increment(0x0E) ↵belugas
production operations from result of production callback cb29/35. Only var 0x93 will be affected by these operations
2007-11-26(svn r11528) -Fix (r11500): With smooth economy enabled, industries that ↵maedhros
should only decrease production would always increase it when more than 60% was transported.
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 r11504) -Fix [FS#1467]: removing docks/ship depots could result in ↵rubidium
non-canal water where canals should have been build.
2007-11-23(svn r11502) -Fix (r11144): don't do standard production change if callbacks ↵glx
29/35 failed -Fix (r11144): disable smooth economy for industries using callbacks 29/35
2007-11-23(svn r11500) -Codechange: Smooth economy fine-tuning, making industries more ↵belugas
responsive. Patch by Sirkoz.
2007-11-23(svn r11499) -Fix (r11144): mul/div factor were wrong (off by two)glx
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-15(svn r11442) -Feature: make news messages related to the industry ↵rubidium
(production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
2007-11-12(svn r11420) -Fix [FS#1006]: industry closure news not properly shown when ↵rubidium
the news item pops up after the industry has been removed from the map.
2007-11-11(svn r11412) -Fix (r11403): animation was not turned on properly.rubidium
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-11-11(svn r11410) -Codechange: implement random triggers for industries.rubidium
2007-11-11(svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated ↵rubidium
during construction.
2007-11-11(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must ↵glx
be in town with population large than 1200'
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-11-03(svn r11373) -Fix [FS#1398]: do not even think about building disabled ↵rubidium
industries.
2007-11-03(svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it ↵rubidium
should not kick in.
2007-10-29(svn r11356) -Fix (r11305): funding industries in MP game was causing desyncglx
2007-10-27(svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station.rubidium
2007-10-20(svn r11305) -Codechange: randomise layout when building an industry ingameglx
2007-10-19(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both ↵rubidium
used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
2007-10-19(svn r11302) -Fix (r9520): typoglx
2007-10-19(svn r11301) -Fix: water check when building industries didn't workglx
2007-10-18(svn r11293) -Fix: newgrf defined industry news messages use TTD format for ↵glx
args, which is not the same as our. So we must detect those strings and pass them the right params
2007-10-17(svn r11285) -Fix: 'site unsuitable' was always shown instead specified ↵glx
message when trying to build industry ingame (Csaboka)
2007-10-16(svn r11276) -Codechange: be more consistent with naming of some accessors.rubidium
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-15(svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. ↵belugas
Looks like there was one spot missing. Thanks frosch