equal
deleted
inserted
replaced
94 */ |
94 */ |
95 byte curve_speed; |
95 byte curve_speed; |
96 }; |
96 }; |
97 |
97 |
98 |
98 |
99 /** these are the maximums used for updating signal blocks, and checking if a depot is in a pbs block */ |
|
100 enum { |
|
101 NUM_SSD_ENTRY = 256, ///< max amount of blocks |
|
102 NUM_SSD_STACK = 32, ///< max amount of blocks to check recursively |
|
103 }; |
|
104 |
|
105 |
|
106 |
|
107 /** |
99 /** |
108 * Returns a pointer to the Railtype information for a given railtype |
100 * Returns a pointer to the Railtype information for a given railtype |
109 * @param railtype the rail type which the information is requested for |
101 * @param railtype the rail type which the information is requested for |
110 * @return The pointer to the RailtypeInfo |
102 * @return The pointer to the RailtypeInfo |
111 */ |
103 */ |
186 } |
178 } |
187 |
179 |
188 void *UpdateTrainPowerProc(Vehicle *v, void *data); |
180 void *UpdateTrainPowerProc(Vehicle *v, void *data); |
189 void DrawTrainDepotSprite(int x, int y, int image, RailType railtype); |
181 void DrawTrainDepotSprite(int x, int y, int image, RailType railtype); |
190 void DrawDefaultWaypointSprite(int x, int y, RailType railtype); |
182 void DrawDefaultWaypointSprite(int x, int y, RailType railtype); |
|
183 void *EnsureNoTrainOnTrackProc(Vehicle *v, void *data); |
191 |
184 |
192 /** |
185 /** |
193 * Draws overhead wires and pylons for electric railways. |
186 * Draws overhead wires and pylons for electric railways. |
194 * @param ti The TileInfo struct of the tile being drawn |
187 * @param ti The TileInfo struct of the tile being drawn |
195 * @see DrawCatenaryRailway |
188 * @see DrawCatenaryRailway |