summaryrefslogtreecommitdiff
path: root/src/industry.h
AgeCommit message (Collapse)Author
2018-11-03Add: NewGRF support for 16-in-16-out industriesNiels Martin Hansen
2018-11-03Add: Industries can produce and accept up to 16 different cargoesNiels Martin Hansen
2017-10-25(svn r27929) -Cleanup: Remove unused Industry::random_triggersfrosch
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-09(svn r23457) -Codechange: introduce Industry::TileBelongsToIndustry() to ↵yexo
simplify code checking for that
2011-10-21(svn r23049) -Fix [FS#4810]: Use the same forest-check for the ↵frosch
vegetation-map colour as for nearby station names.
2011-06-12(svn r22567) -Codechange: Store persistent storages inside a pool.terkhen
2011-06-12(svn r22556) -Codechange: Remove constness from the town pointer at industries.terkhen
2010-11-20(svn r21267) -Doc: Typo fixes.alberth
2010-11-13(svn r21173) -Codechange: Don't recompute target industry counts each time.alberth
2010-11-13(svn r21172) -Feature: Better control over how many new industries are ↵alberth
created during the game.
2010-11-13(svn r21171) -Change: Reset industry build data at game start or load.alberth
2010-11-13(svn r21170) -Codechange: Store industry management data in the save game ↵alberth
(some of it is used in the very near future).
2010-11-13(svn r21168) -Feature: Use desired industry counts rather than relative ↵alberth
probability to decide which industry to build.
2010-11-13(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a ↵alberth
local variable.
2010-11-13(svn r21166) -Codechange: Move MaybeNewIndustry() to ↵alberth
IndustryBuildData::TryBuildNewIndustry().
2010-10-04(svn r20900) -Codechange: Move ProductionLevels enum to industry.hfrosch
2010-10-04(svn r20896) -Codechange: Split recompution of productionrates for ↵frosch
non-smooth economy to separate function.
2010-08-28(svn r20674) -Codechange: Remove declared functions that do not exist ↵alberth
(anymore) otherwise.
2010-03-21(svn r19497) -Fix: [NewGRF] Bytes and words get sign-extended for ↵frosch
temporary/persistent storage. (Spotted by yexo)
2010-03-20(svn r19481) -Codechange: Turn _industry_counts into a static member of ↵frosch
Industry.
2010-02-08(svn r19062) -Codechange: Move smallmap related functions to their own header.terkhen
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-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-08(svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during ↵rubidium
industry removal causing the removed industry to be still in the list after removal
2009-08-30(svn r17316) -Codechange: use Industry::GetByTile() instead of ↵smatz
GetIndustryByTile()
2009-08-30(svn r17315) -Codechange: move code related to industry types to separate filesmatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-07-22(svn r16914) -Codechange: split Station and BaseStation into different filesrubidium
2009-07-02(svn r16725) -Documentation: raw_industry_cost_multiplierfrosch
2009-06-26(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by ↵smatz
Town::GetRandom() and Industry::GetRandom()
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-17(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.rubidium
2009-05-17(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 ↵rubidium
with < .. - 1 (both caused due to wrapper functions)
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-03-15(svn r15726) -Codechange: unify coding style for const pointerssmatz
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2008-12-26(svn r14746) -Fix: don't let any disaster vehicle (Helicopter or Airplane) ↵smatz
target invalid industry
2008-09-15(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by ↵belugas
introducing a daily random industry change. This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process. Thanks to frosch, for nice code ideas and rewrites
2008-08-20(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.belugas
Provided by ln I've added a little fix on currency.cpp too, why not :)