summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
AgeCommit message (Collapse)Author
2008-05-31(svn r13348) -Fix: an industry does not always need foundations; in the case ↵rubidium
of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert.
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-21(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.peter1138
2008-05-18(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.glx
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
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-05-01(svn r12933) -Fix: minor errors related to industries accepted/produced cargoglx
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
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-20(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpprubidium
2008-04-20(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a ↵rubidium
uniform naming of the thing instead of using both names for the same thing.
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-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-07(svn r12617) -Codechange: add type safety to the Order's load and unload types.rubidium
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining
2008-04-06(svn r12593) -Codechange: hide Order's flags in most of the code.rubidium
2008-04-06(svn r12588) -Codechange: do not access the destination of an order directly.rubidium
2008-04-05(svn r12584) -Codechange: do not access the order type directly.rubidium
2008-04-03(svn r12547) -Feature: invisibility options to make objects invisible ↵smatz
instead of transparent
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-02-29(svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other ↵peter1138
strings.
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-09(svn r12092) -Fix(r11532)[FS#1755]: Make sure the production level will not ↵belugas
get out of delimited boundaries, while using var result 0D/0E and than multiplying/dividing it. And use multiply/divide operations instead of shifting. It does the same, just adds a bit more readability
2008-02-09(svn r12091) -Codechange : remove all production level magic numbers and ↵belugas
replace them by enums
2008-02-02(svn r12042) -Fix [FS#1676]: Reimplement how rivers and canals are stored in ↵peter1138
the map, allowing the sea/river/canal status to also be stored for buoys, docks, locks and depots. All these are now allowed on rivers and removal of them will revert to the original water type.
2008-01-31(svn r12029) -Feature: Allow trees on shore.frosch
2008-01-29(svn r12006) -Fix: implement FS#1697 without the nasty side effects as ↵rubidium
specified in FS#1712.
2008-01-24(svn r11977) -Fix(r11976): not a typo, not a bug. Just a removal that ↵belugas
should have been done. Would help to compile first...
2008-01-24(svn r11976) -Fix: It seems that industries using results 0D/0E on callback ↵belugas
cb29/35 were a bit too eager to close down.
2008-01-22(svn r11952) -Fix (r11926): Prevent industries from being built on rivers, ↵peter1138
unless they require water.
2008-01-19(svn r11925) -Fix (r122, r9867): loading old, pre savegame version 2, savegames.rubidium
2008-01-16(svn r11876) -Fix: Start industry tile animation also for overridden ↵frosch
industry tiles. (Will only apply to new games or newly build industries.)
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
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