| 232 | } |
| 233 | |
| 234 | void ScriptParams::ASAddIntCheckbox(const std::string &key, bool default_val) { |
| 235 | ASAddInt(key, default_val); |
| 236 | ScriptParam &sp = parameter_map_[key]; |
| 237 | sp.editor().SetCheckbox(); |
| 238 | } |
| 239 | |
| 240 | void ScriptParams::ASAddFloat(const std::string &key, float default_val) { |
| 241 | if (parameter_map_.find(key) != parameter_map_.end()) { |
no test coverage detected