(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.

This commit is contained in:
rubidium
2009-05-17 11:18:34 +00:00
parent f1955333c9
commit 1cc82de384
6 changed files with 0 additions and 75 deletions

View File

@@ -243,21 +243,6 @@ public:
void ConvertFromOldSavegame();
};
static inline VehicleOrderID GetMaxOrderIndex()
{
/* TODO - This isn't the real content of the function, but
* with the new pool-system this will be replaced with one that
* _really_ returns the highest index. Now it just returns
* the next safe value we are sure about everything is below.
*/
return Order::GetPoolSize() - 1;
}
static inline VehicleOrderID GetNumOrders()
{
return Order::GetPoolSize();
}
/** Shared order list linking together the linked list of orders and the list
* of vehicles sharing this order list.
*/