(svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format.

This commit is contained in:
rubidium
2007-06-07 09:20:04 +00:00
parent 740eb9d89a
commit b0421273f2
4 changed files with 41 additions and 40 deletions

View File

@@ -116,7 +116,7 @@ struct GRFFileProps {
struct IndustrySpec {
const IndustryTileTable *const *table;///< List of the tiles composing the industry
byte num_table; ///< Number of elements in the table
byte cost_multiplier; ///< Base cost multiplier. Watch out for this one, << 5 VS << 8
uint16 cost_multiplier; ///< Base cost multiplier.
IndustryType conflicting[3]; ///< Industries this industry cannot be close to
byte check_proc; ///< Index to a procedure to check for conflicting circumstances
CargoID produced_cargo[2];