From 46fd8292677da8b7178ea83ae50b3d8b86afb2eb Mon Sep 17 00:00:00 2001 From: Cyprian Klimaszewski Date: Sat, 10 Jan 2026 22:42:42 +0100 Subject: [PATCH] Doc: Add docs for members of EconomyType enum. --- src/economy_type.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/economy_type.h b/src/economy_type.h index ca0579bd1c..a6ad493979 100644 --- a/src/economy_type.h +++ b/src/economy_type.h @@ -18,11 +18,11 @@ typedef OverflowSafeInt64 Money; /** Type of the game economy. */ enum EconomyType : uint8_t { - ET_BEGIN = 0, - ET_ORIGINAL = 0, - ET_SMOOTH = 1, - ET_FROZEN = 2, - ET_END = 3, + ET_BEGIN = 0, ///< The lowest valid value. + ET_ORIGINAL = 0, ///< Imitates original TTD economy. + ET_SMOOTH = 1, ///< Makes production changes more often, and in smaller steps. + ET_FROZEN = 2, ///< Stops production changes and industry closures. + ET_END = 3, ///< Economy type end marker. }; /**