# HG changeset patch # User rubidium # Date 2008-03-28 16:39:19 # Node ID d3e78cdfe4b0ed383b838e166e87f444620727be # Parent e411ce48e9416bab1c7d3bce2210bac4ea6d56a3 (svn r12473) -Codechange: move EngineList to a more logical location. diff --git a/src/engine.h b/src/engine.h --- a/src/engine.h +++ b/src/engine.h @@ -263,6 +263,8 @@ static inline const RoadVehicleInfo* Roa return &_road_vehicle_info[e - ROAD_ENGINES_INDEX]; } +typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp) + /* Engine list manipulators - current implementation is only C wrapper of CBlobT class (helpers.cpp) */ void EngList_Create(EngineList *el); ///< Creates engine list void EngList_Destroy(EngineList *el); ///< Deallocate and destroy engine list diff --git a/src/openttd.h b/src/openttd.h --- a/src/openttd.h +++ b/src/openttd.h @@ -14,8 +14,6 @@ typedef byte LandscapeID; typedef uint16 EngineID; typedef uint16 UnitID; -typedef EngineID *EngineList; ///< engine list type placeholder acceptable for C code (see helpers.cpp) - /* IDs used in Pools */ typedef uint16 WaypointID; typedef uint16 EngineRenewID;