Commit Graph

20 Commits

Author SHA1 Message Date
rubidium d8cfb4f064 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 2008-03-28 04:57:32 +00:00
rubidium 26c621945d (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same 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-15 13:19:49 +00:00
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 2008-01-13 01:21:35 +00:00
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 2007-12-23 10:56:02 +00:00
rubidium 6a9e77e079 (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. 2007-12-21 22:50:51 +00:00
peter1138 d93fcea1f8 (svn r10628) -Fix (r10606,FS#1055): Revert r10606 and fix the plural problem another way. 2007-07-19 17:28:55 +00:00
peter1138 b6d6e407ad (svn r10606) -Fix (r8826): plural and single cargo names were mixed up. 2007-07-17 20:32:27 +00:00
peter1138 59399480b3 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 2007-04-13 19:32:18 +00:00
peter1138 68572f1076 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 2007-03-23 20:55:45 +00:00
peter1138 4d81a464e2 (svn r9411) -Codechange: Add support for loading of newcargo data. 2007-03-22 23:19:40 +00:00
peter1138 63ccdcf082 (svn r9327) -Fix (r9301): Fix warning on MSVC 2007-03-19 12:58:43 +00:00
peter1138 e485b8f694 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 2007-03-18 22:07:44 +00:00
peter1138 99577265de (svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs. 2007-03-15 22:48:46 +00:00
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 2007-03-07 12:11:48 +00:00
peter1138 4c4b035175 (svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible. 2007-02-24 23:36:40 +00:00
peter1138 a23b4594ed (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. 2007-02-24 19:36:47 +00:00
belugas 6d199fcdb7 (svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. 2007-02-23 11:50:43 +00:00
peter1138 7e73413709 (svn r8858) -Codechange: Replace magic number test with class method for determining if a cargo is valid/active. 2007-02-23 09:56:20 +00:00
peter1138 6062004960 (svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions. 2007-02-22 22:09:51 +00:00
peter1138 ef2daa5060 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. 2007-02-20 22:09:21 +00:00