1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 17:49:10 +00:00

(svn r17327) -Codechange: Allow external use of GetEngineCategoryName().

This commit is contained in:
alberth
2009-08-30 17:54:11 +00:00
parent db120540a0
commit 1ba000be12
3 changed files with 6 additions and 2 deletions

View File

@@ -30,6 +30,7 @@
#include "vehicle_func.h"
#include "settings_type.h"
#include "core/pool_func.hpp"
#include "engine_gui.h"
#include "table/strings.h"
#include "table/engines.h"
@@ -614,8 +615,6 @@ CommandCost CmdWantEnginePreview(TileIndex tile, DoCommandFlag flags, uint32 p1,
return CommandCost();
}
StringID GetEngineCategoryName(EngineID engine);
static void NewVehicleAvailable(Engine *e)
{
Vehicle *v;