diff options
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index 3fd30efd7..1c89d3a36 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -128,6 +128,11 @@ void ShowEnginePreviewWindow(EngineID engine) AllocateWindowDescFront<EnginePreviewWindow>(&_engine_preview_desc, engine); } +/** + * Get the capacity of an engine with articulated parts. + * @param engine The engine to get the capacity of. + * @return The capacity. + */ uint GetTotalCapacityOfArticulatedParts(EngineID engine) { uint total = 0; |