summaryrefslogtreecommitdiff
path: root/src/cargo_type.h
AgeCommit message (Collapse)Author
2021-05-13Codechange: add constant for number of original cargoes.frosch
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Remove SourceTypeByte typeCharles Pigott
2018-11-03Fix: Industry chain window layout no more unnecessarily large when the ↵Niels Martin Hansen
number of cargoes in/out isn't large either
2018-07-02Fix: ALL_CARGOTYPES mask constant was 32 instead of 64 bits (#6845)Jonathan G Rennison
NUM_CARGO and CargoTypes were increased from 32 to 64 cargoes/bits respectively in commit 11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7
2018-06-26Change: Increase cargo type limit to 64.PeterN
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2012-01-20(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed ↵rubidium
the cargo count of the current quarter instead of the last quarter like the tooltip says
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-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-11-04(svn r23087) -Feature: Auto-refitting of vehicles during loading at a ↵michi_cc
station when the vehicle allows it.
2011-05-02(svn r22413) -Document: even more stuffrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2009-12-05(svn r18413) -Doc: Added doxygen strings for cargo-type related enums, ↵alberth
structs, and functions.
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-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2008-10-19(svn r14491) -Documentation: updates/additions of doxygen docs (Alberth)rubidium
2008-10-19(svn r14490) -Codechange: fix comment style on a few locations (Alberth)rubidium
2007-12-26(svn r11704) -Codechange: remove another bunch of useless includes.rubidium
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium