(svn r12473) -Codechange: move EngineList to a more logical location.

This commit is contained in:
rubidium 2008-03-28 16:39:19 +00:00
parent ff3a401404
commit cdd5f90e64
2 changed files with 2 additions and 2 deletions

View File

@ -263,6 +263,8 @@ static inline const RoadVehicleInfo* RoadVehInfo(EngineID e)
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<EngineID> class (helpers.cpp) */
void EngList_Create(EngineList *el); ///< Creates engine list
void EngList_Destroy(EngineList *el); ///< Deallocate and destroy engine list

View File

@ -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;