Feature dump more text (#16)

* 修复 Dump 重复判断出错的问题

* 支持 dump 更多 generic 文本

* 支持加载多个 generic json 文件, 增加强制导出资源, 构建排除 `raw` 文件夹

* add version display

* update build.yml

* update deps

* generic 文本支持去标签匹配

* Generic dump 只 dump 分割后的文本

* add sign

* update event dispatcher

* 增加 generic dump 开关、dump 文件编号调整

* update config.hpp

* Add `BaseDefine.h`
This commit is contained in:
chinosk
2024-06-10 10:58:39 -05:00
committed by GitHub
parent 37e98f61a0
commit 75dda059f1
69 changed files with 20064 additions and 19389 deletions

View File

@@ -5,8 +5,11 @@
namespace GakumasLocal::Config {
bool isConfigInit = false;
bool dbgMode = false;
bool enabled = true;
bool forceExportResource = true;
bool textTest = false;
bool dumpText = false;
bool enableFreeCamera = false;
int targetFrameRate = 0;
bool unlockAllLive = false;
@@ -29,8 +32,11 @@ namespace GakumasLocal::Config {
#define GetConfigItem(name) if (config.contains(#name)) name = config[#name]
GetConfigItem(dbgMode);
GetConfigItem(enabled);
GetConfigItem(forceExportResource);
GetConfigItem(textTest);
GetConfigItem(dumpText);
GetConfigItem(targetFrameRate);
GetConfigItem(enableFreeCamera);
GetConfigItem(unlockAllLive);