#include "patch.hpp" #include "cosmetics.hpp" #include "custom_messages.hpp" #include "music.hpp" #include "sound_effects.hpp" #include "shops.hpp" #include "spoiler_log.hpp" #include "entrance.hpp" #include "hints.hpp" #include #include #include #include #include #include // For specification on the IPS file format, visit: https://zerosoft.zophar.net/ips.php using FILEPtr = std::unique_ptr; void WriteFloatToBuffer(std::vector& buffer, float f, size_t offset) { memcpy(buffer.data() + offset, &f, sizeof(float)); }