equal
deleted
inserted
replaced
221 /** |
221 /** |
222 * Offset between the current railtype and normal rail. This means that:<p> |
222 * Offset between the current railtype and normal rail. This means that:<p> |
223 * 1) All the sprites in a railset MUST be in the same order. This order |
223 * 1) All the sprites in a railset MUST be in the same order. This order |
224 * is determined by normal rail. Check sprites 1005 and following for this order<p> |
224 * is determined by normal rail. Check sprites 1005 and following for this order<p> |
225 * 2) The position where the railtype is loaded must always be the same, otherwise |
225 * 2) The position where the railtype is loaded must always be the same, otherwise |
226 * the offset will fail.<p> |
226 * the offset will fail. |
227 * @note: Something more flexible might be desirable in the future. |
227 * @note: Something more flexible might be desirable in the future. |
228 */ |
228 */ |
229 SpriteID total_offset; |
229 SpriteID total_offset; |
230 |
230 |
231 /** |
231 /** |
238 */ |
238 */ |
239 byte custom_ground_offset; |
239 byte custom_ground_offset; |
240 }; |
240 }; |
241 |
241 |
242 |
242 |
243 // these are the maximums used for updating signal blocks, and checking if a depot is in a pbs block |
243 /** these are the maximums used for updating signal blocks, and checking if a depot is in a pbs block */ |
244 enum { |
244 enum { |
245 NUM_SSD_ENTRY = 256, // max amount of blocks |
245 NUM_SSD_ENTRY = 256, ///< max amount of blocks |
246 NUM_SSD_STACK = 32, // max amount of blocks to check recursively |
246 NUM_SSD_STACK = 32, ///< max amount of blocks to check recursively |
247 }; |
247 }; |
248 |
248 |
249 /** |
249 /** |
250 * Maps a Trackdir to the corresponding TrackdirBits value |
250 * Maps a Trackdir to the corresponding TrackdirBits value |
251 */ |
251 */ |