MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IsBoolSetting

Method IsBoolSetting

src/settings_internal.h:232–232  ·  view source on GitHub ↗

* Check whether this setting is a boolean type setting. * @return True when the underlying type is an integer. */

Source from the content-addressed store, hash-verified

230 * @return True when the underlying type is an integer.
231 */
232 virtual bool IsBoolSetting() const { return false; }
233 bool IsIntSetting() const override { return true; }
234
235 void ChangeValue(const void *object, int32_t newvalue) const;

Callers 6

GetValueParamsMethod · 0.95
DrawSettingMethod · 0.45
DrawSettingMethod · 0.45
SettingsPanelClickMethod · 0.45
ChangeSettingValueMethod · 0.45
OptionsPanelClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected