| 1832 | } |
| 1833 | |
| 1834 | void _store_real(Ref<FileAccess> f, real_t p_real) { |
| 1835 | if (f->real_is_double) { |
| 1836 | f->store_double(p_real); |
| 1837 | } else { |
| 1838 | f->store_float(p_real); |
| 1839 | } |
| 1840 | } |
| 1841 | |
| 1842 | void ResourceFormatSaverCompatBinaryInstance::write_variant(Ref<FileAccess> f, const Variant &p_property, HashMap<Ref<Resource>, int> &p_resource_map, HashMap<Ref<Resource>, int> &p_external_resources, HashMap<StringName, int> &p_string_map, const PropertyInfo &p_hint) { |
| 1843 | switch (p_property.get_type()) { |