添加贴图替换功能

This commit is contained in:
pm chihya
2026-05-09 20:37:22 +08:00
parent c7af3e41a5
commit 36a49ba4df
24 changed files with 2059 additions and 30 deletions
@@ -11,11 +11,13 @@ namespace GakumasLocal::Config {
bool enabled = true;
bool lazyInit = true;
bool replaceFont = true;
bool replaceTexture = true;
bool forceExportResource = true;
bool textTest = false;
bool useMasterTrans = true;
int gameOrientation = 0;
bool dumpText = false;
bool dumpRuntimeTexture = false;
bool enableFreeCamera = false;
int targetFrameRate = 0;
bool unlockAllLive = false;
@@ -66,11 +68,13 @@ namespace GakumasLocal::Config {
GetConfigItem(enabled);
GetConfigItem(lazyInit);
GetConfigItem(replaceFont);
GetConfigItem(replaceTexture);
GetConfigItem(forceExportResource);
GetConfigItem(gameOrientation);
GetConfigItem(textTest);
GetConfigItem(useMasterTrans);
GetConfigItem(dumpText);
GetConfigItem(dumpRuntimeTexture);
GetConfigItem(targetFrameRate);
GetConfigItem(enableFreeCamera);
GetConfigItem(unlockAllLive);
@@ -122,11 +126,13 @@ namespace GakumasLocal::Config {
SetConfigItem(enabled);
SetConfigItem(lazyInit);
SetConfigItem(replaceFont);
SetConfigItem(replaceTexture);
SetConfigItem(forceExportResource);
SetConfigItem(gameOrientation);
SetConfigItem(textTest);
SetConfigItem(useMasterTrans);
SetConfigItem(dumpText);
SetConfigItem(dumpRuntimeTexture);
SetConfigItem(targetFrameRate);
SetConfigItem(enableFreeCamera);
SetConfigItem(unlockAllLive);
@@ -7,11 +7,13 @@ namespace GakumasLocal::Config {
extern bool enabled;
extern bool lazyInit;
extern bool replaceFont;
extern bool replaceTexture;
extern bool forceExportResource;
extern int gameOrientation;
extern bool textTest;
extern bool useMasterTrans;
extern bool dumpText;
extern bool dumpRuntimeTexture;
extern bool enableFreeCamera;
extern int targetFrameRate;
extern bool unlockAllLive;