mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-02-04 09:04:52 +00:00
Font, Softer Breast (#19)
* add breast parameter editer * add pre-config, add scale set * support disable replace font
This commit is contained in:
@@ -7,6 +7,7 @@ namespace GakumasLocal::Config {
|
||||
|
||||
bool dbgMode = false;
|
||||
bool enabled = true;
|
||||
bool replaceFont = true;
|
||||
bool forceExportResource = true;
|
||||
bool textTest = false;
|
||||
int gameOrientation = 0;
|
||||
@@ -27,6 +28,19 @@ namespace GakumasLocal::Config {
|
||||
int reflectionQualityLevel = 4;
|
||||
int lodQualityLevel = 4;
|
||||
|
||||
bool enableBreastParam = false;
|
||||
int bUseLimit = 1;
|
||||
float bDamping = 0.33f;
|
||||
float bStiffness = 0.08f;
|
||||
float bSpring = 1.0f;
|
||||
float bPendulum = 0.055f;
|
||||
float bPendulumRange = 0.15f;
|
||||
float bAverage = 0.20f;
|
||||
float bRootWeight = 0.5f;
|
||||
bool bUseArmCorrection = true;
|
||||
bool bUseScale = false;
|
||||
float bScale = 1.0f;
|
||||
|
||||
void LoadConfig(const std::string& configStr) {
|
||||
try {
|
||||
const auto config = nlohmann::json::parse(configStr);
|
||||
@@ -35,6 +49,7 @@ namespace GakumasLocal::Config {
|
||||
|
||||
GetConfigItem(dbgMode);
|
||||
GetConfigItem(enabled);
|
||||
GetConfigItem(replaceFont);
|
||||
GetConfigItem(forceExportResource);
|
||||
GetConfigItem(gameOrientation);
|
||||
GetConfigItem(textTest);
|
||||
@@ -52,6 +67,18 @@ namespace GakumasLocal::Config {
|
||||
GetConfigItem(maxBufferPixel);
|
||||
GetConfigItem(reflectionQualityLevel);
|
||||
GetConfigItem(lodQualityLevel);
|
||||
GetConfigItem(enableBreastParam);
|
||||
GetConfigItem(bUseLimit);
|
||||
GetConfigItem(bDamping);
|
||||
GetConfigItem(bStiffness);
|
||||
GetConfigItem(bSpring);
|
||||
GetConfigItem(bPendulum);
|
||||
GetConfigItem(bPendulumRange);
|
||||
GetConfigItem(bAverage);
|
||||
GetConfigItem(bRootWeight);
|
||||
GetConfigItem(bUseArmCorrection);
|
||||
GetConfigItem(bUseScale);
|
||||
GetConfigItem(bScale);
|
||||
|
||||
}
|
||||
catch (std::exception& e) {
|
||||
|
||||
Reference in New Issue
Block a user