(svn r16302) -Codechange: remove Vehicle::AllocateList

This commit is contained in:
smatz
2009-05-13 21:38:23 +00:00
parent 3b6900baa8
commit c189a15e3e
6 changed files with 47 additions and 94 deletions

View File

@@ -327,14 +327,6 @@ public:
uint32 cached_var42; ///< Cache for NewGRF var 42
uint32 cached_var43; ///< Cache for NewGRF var 43
/**
* Allocates a lot of vehicles.
* @param vl pointer to an array of vehicles to get allocated. Can be NULL if the vehicles aren't needed (makes it test only)
* @param num number of vehicles to allocate room for
* @return true if there is room to allocate all the vehicles
*/
static bool AllocateList(Vehicle **vl, int num);
/** Create a new vehicle */
Vehicle();