equal
deleted
inserted
replaced
151 CBID_VEH_LENGTH = 0x11, |
151 CBID_VEH_LENGTH = 0x11, |
152 |
152 |
153 // Refit capacity, the passed vehicle needs to have its ->cargo_type set to |
153 // Refit capacity, the passed vehicle needs to have its ->cargo_type set to |
154 // the cargo we are refitting to, returns the new cargo capacity |
154 // the cargo we are refitting to, returns the new cargo capacity |
155 CBID_REFIT_CAP = 0x15, |
155 CBID_REFIT_CAP = 0x15, |
|
156 |
|
157 CBID_ARTIC_ENGINE = 0x16, |
156 }; |
158 }; |
157 |
159 |
158 // bit positions for rvi->callbackmask, indicates which callbacks are used by an engine |
160 // bit positions for rvi->callbackmask, indicates which callbacks are used by an engine |
159 // (some callbacks are always used, and dont appear here) |
161 // (some callbacks are always used, and dont appear here) |
160 enum CallbackMask { |
162 enum CallbackMask { |
161 CBM_WAGON_POWER = 0, |
163 CBM_WAGON_POWER = 0, |
162 CBM_VEH_LENGTH = 1, |
164 CBM_VEH_LENGTH = 1, |
163 CBM_REFIT_CAP = 3, |
165 CBM_REFIT_CAP = 3, |
|
166 CBM_ARTIC_ENGINE = 4, |
164 }; |
167 }; |
165 |
168 |
166 enum { |
169 enum { |
167 CALLBACK_FAILED = 0xFFFF |
170 CALLBACK_FAILED = 0xFFFF |
168 }; |
171 }; |