(svn r6736) - Add a function to get the list position of an engine ID, for use with sorting. This is basically a reversed version of GetRailVehAtPosition()
This commit is contained in:
@@ -62,6 +62,7 @@ void UnloadCustomEngineNames(void);
|
||||
|
||||
void ResetEngineListOrder(void);
|
||||
EngineID GetRailVehAtPosition(EngineID pos);
|
||||
uint16 ListPositionOfEngine(EngineID engine);
|
||||
void AlterRailVehListOrder(EngineID engine, EngineID target);
|
||||
|
||||
#endif /* NEWGRF_ENGINE_H */
|
||||
|
Reference in New Issue
Block a user