Changeset - r9046:d4e66aa13d42
[Not reviewed]
master
0 2 0
peter1138 - 16 years ago 2008-04-24 15:51:29
peter1138@openttd.org
(svn r12872) -Codechange: Remove obsolete unused engine list order function
2 files changed with 0 insertions and 13 deletions:
0 comments (0 inline, 0 general)
src/newgrf_engine.cpp
Show inline comments
 
@@ -1100,18 +1100,6 @@ void ResetEngineListOrder()
 
}
 

	
 
/**
 
 * Get the EngineID at position pos.
 
 * Used when drawing a(n unsorted) list of engines.
 
 * @param pos List position/
 
 * @return The EngineID at the requested position.
 
 */
 
EngineID GetRailVehAtPosition(EngineID pos)
 
{
 
	if (pos < NUM_TRAIN_ENGINES) return _engine_list_order[pos];
 
	return pos;
 
}
 

	
 
/**
 
 * Get the list position of an engine.
 
 * Used when sorting a list of engines.
 
 * @param engine ID of the engine.
src/newgrf_engine.h
Show inline comments
 
@@ -57,7 +57,6 @@ void UnloadWagonOverrides();
 
void UnloadCustomEngineSprites();
 

	
 
void ResetEngineListOrder();
 
EngineID GetRailVehAtPosition(EngineID pos);
 
uint16 ListPositionOfEngine(EngineID engine);
 
void AlterRailVehListOrder(EngineID engine, EngineID target);
 

	
0 comments (0 inline, 0 general)