summaryrefslogtreecommitdiff
path: root/src/cargotype.h
AgeCommit message (Collapse)Author
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-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-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-11(svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88)rubidium
2010-04-07(svn r19573) -Fix (r19541): Special cargos did not appear at the refit list.terkhen
2010-04-02(svn r19539) -Codechange: Use a macro to loop through the list of sorted ↵terkhen
cargo specifications.
2010-04-01(svn r19534) -Add: Keep a list of cargo specifications sorted by cargo class ↵terkhen
/ name.
2009-12-05(svn r18413) -Doc: Added doxygen strings for cargo-type related enums, ↵alberth
structs, and functions.
2009-12-05(svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon().alberth
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
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-07-16(svn r16853) -Codechange: make CargoSpec const at two placessmatz
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-06-25(svn r16661) -Codechange: move definition of few very short functions to ↵smatz
header files
2008-07-30(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.frosch
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
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-28(svn r12458) -Codechange: split acquiring the sprite ID for cargos from the ↵rubidium
actual drawing of them.
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-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-07-19(svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem ↵peter1138
another way.
2007-07-17(svn r10606) -Fix (r8826): plural and single cargo names were mixed up.peter1138
2007-04-13(svn r9620) -Codechange: apply cargo translation table to newstation ↵peter1138
variables 0x60..0x65
2007-03-23(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback ↵peter1138
handler and custom icon sprites
2007-03-22(svn r9411) -Codechange: Add support for loading of newcargo data.peter1138
2007-03-19(svn r9327) -Fix (r9301): Fix warning on MSVCpeter1138
2007-03-18(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can ↵peter1138
stop in bus or truck stops.
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-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-02-24(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo ↵peter1138
mapping is now dealt with only in NewGRF code, on load where possible.
2007-02-24(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table ↵peter1138
support, applied to action 3s only.
2007-02-23(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few ↵belugas
comments style.
2007-02-23(svn r8858) -Codechange: Replace magic number test with class method for ↵peter1138
determining if a cargo is valid/active.
2007-02-22(svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping ↵peter1138
tables with dynamically generated data. Change associated code to use new functions.
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.