| 132 | } |
| 133 | |
| 134 | static bool GetIntOverride(HConfigFile config, const char* key, int32_t default_value, int32_t* out_value) |
| 135 | { |
| 136 | const ConfigFilePluginDesc* plugin = GetFirstExtension(); |
| 137 | while (plugin != 0) |
| 138 | { |
| 139 | if (plugin->m_GetInt && plugin->m_GetInt(config, key, default_value, out_value)) |
| 140 | return true; |
| 141 | plugin = plugin->m_Next; |
| 142 | } |
| 143 | return false; |
| 144 | } |
| 145 | |
| 146 | static float GetBaseFloat(HConfigFile config, const char* key, float default_value) |
| 147 | { |
no test coverage detected