|
coastline 0.0.4
|
#include <filesystem>#include <optional>#include <string>#include <string_view>#include <nlohmann/json.hpp>
Go to the source code of this file.
Namespaces | |
| namespace | coastline |
Functions | |
| std::optional< std::string > | coastline::CurateAssetPacks (const std::filesystem::path &defaults) |
| Put the images of the cartridges that show the branding the PC release removed (Nintendo, Top Gear, and Kemco) in place of their PC images in the default pack, and move the PC images to the pack boss beside it. | |
| nlohmann::json | coastline::PackSettings (const std::filesystem::path &data, std::string_view pack, const std::filesystem::path &fallback={}) |
| Read default settings from pack.json and replace matching keys with selected pack settings. | |
Variables | |
| constexpr std::string_view | coastline::BOSS_PACK = "boss" |
| The name of the pack of the PC images the default pack replaces with branded images. | |
| constexpr int | coastline::PACK_SETTINGS_VERSION = 1 |
| The version of pack.json the import writes. | |
| constexpr float | coastline::DEFAULT_XM_MUSIC_GAIN = 1.5f |
| The gain of the music modules of the default pack, as they play quieter than the CD audio. | |