summaryrefslogtreecommitdiff
path: root/src/table/cargo_const.h
AgeCommit message (Collapse)Author
2021-05-13Codechange: add constant for number of original cargoes.frosch
2020-12-21Cleanup: Rework the CargoSpec macro for improved readability.Xaroth Brook
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2012-01-28(svn r23862) -Fix (r23860): Fix sweets capacity.frosch
2012-01-28(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity ↵frosch
multipliers when refitting vehicles, which do not use callback 15.
2011-05-06(svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette ↵frosch
colours in smallmap/legends etc..
2009-12-05(svn r18413) -Doc: Added doxygen strings for cargo-type related enums, ↵alberth
structs, and functions.
2009-10-04(svn r17701) -Codechange: don't start line with a space if it's not inside ↵smatz
comment
2009-09-06(svn r17435) -Codechange: Move _cargo_payment_rates[] to ↵frosch
CargoSpec::current_payment.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2008-08-23(svn r14144) -Fix (r8826): Incorrect cargo weightspeter1138
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
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-17(svn r12751) -Codechange: do what has been done in r11862 in a different way ↵rubidium
so it uses less memory.
2008-03-18(svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, ↵glx
toys and bubbles in total cargo tab
2008-01-15(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same ↵rubidium
cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
2008-01-04(svn r11758) -Fix(ette): Populate 'void' cargo slots (unused slots in ↵peter1138
temperate and arctic) with default data as per pre-newcargo support. These slots are still disabled by default, but some NewGRFs (erroneously?) expect the default data.
2007-11-13(svn r11428) -Fix: wrong string used for candy/sweets units_volumeglx
2007-05-18(svn r9871) -Fix (r8826): Some cargo costs were wrong for different ↵peter1138
climates. Multiple definitions of the same cargo type are sometimes required.
2007-03-23(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback ↵peter1138
handler and custom icon sprites
2007-03-15(svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This ↵peter1138
will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs.
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.