diff options
author | rubidium <rubidium@openttd.org> | 2008-03-28 16:39:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-28 16:39:19 +0000 |
commit | 4a0e471b60504c81a31a4b27e9011a72f585e483 (patch) | |
tree | 191db19ace35a831bd0df96578f39c5b74a40287 /src/engine.h | |
parent | 9861a8c32229a1c35ee59ad25661a4d7b26d9b9e (diff) | |
download | openttd-4a0e471b60504c81a31a4b27e9011a72f585e483.tar.xz |
(svn r12473) -Codechange: move EngineList to a more logical location.
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h index 9213f928c..4a24dd5c6 100644 --- a/src/engine.h +++ b/src/engine.h @@ -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 |