mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
Doc: Fix documentation of GetDefaultValueCallback
This commit is contained in:
parent
ceb0053dd9
commit
57f5d27427
@ -165,9 +165,9 @@ struct IntSettingDesc : SettingDesc {
|
||||
*/
|
||||
typedef void PostChangeCallback(int32_t value);
|
||||
/**
|
||||
* A callback to set the correct default value, in case it can be measured in time
|
||||
* A callback to get the correct default value. For example a default that can be measured in time
|
||||
* units or expressed as a percentage.
|
||||
* @param value The prospective new value for the setting.
|
||||
* @return The correct default value for the setting.
|
||||
*/
|
||||
typedef int32_t GetDefaultValueCallback();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user