fix(cpn): Model print global and special functions (#3075)

* fix(cpn): Model print global and special functions

* fix(cpn): Model print sf/gf adjust gvar abbreviate further

* fix(cpn): Model print gf/sf move to table format

* fix(cpn): Model print gf housekeeping
This commit is contained in:
Neil Horne
2023-03-05 20:15:52 +10:00
committed by GitHub
parent c84abbf739
commit 9fa9a1f100
5 changed files with 115 additions and 51 deletions
+6 -2
View File
@@ -112,11 +112,13 @@ class CustomFunctionData {
bool isEmpty() const;
QString funcToString(const ModelData * model = nullptr) const;
QString paramToString(const ModelData * model = nullptr) const;
QString repeatToString() const;
QString repeatToString(const bool abbrev) const;
QString enabledToString() const;
QString playSoundToString() const;
QString harpicToString() const;
QString gvarAdjustModeToString() const;
bool isRepeatParamAvailable() const;
bool isParamAvailable() const;
static QString nameToString(const int index, const bool globalContext = false);
static QString funcToString(const AssignFunc func, const ModelData * model = nullptr);
@@ -125,7 +127,9 @@ class CustomFunctionData {
static QString resetToString(const int value, const ModelData * model = nullptr);
static int resetParamCount();
static bool isResetParamAvailable(const int index, const ModelData * model = nullptr);
static QString repeatToString(const int value);
static QString repeatToString(const int value, const AssignFunc func, const bool abbrev);
static QString repeatToString(const int value, const bool abbrev);
static bool isRepeatParamAvailable(const AssignFunc func);
static QStringList playSoundStringList();
static QString playSoundToString(const int value);
static QString harpicToString(const int value);