diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-23 16:54:46 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-23 16:54:46 +0100 |
commit | e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf (patch) | |
tree | 0e96dcb221d57e79ffffaeda7b23c530dcd4f8d6 /src/extras/frontendoption.h | |
parent | Merge remote-tracking branch 'origin/lcs' into lcs (diff) | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.gz re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.bz2 re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.lz re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.xz re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.tar.zst re3-e9689a0a079bd1d7e5028aa89fd5aeaa5e28ecdf.zip |
Diffstat (limited to 'src/extras/frontendoption.h')
-rw-r--r-- | src/extras/frontendoption.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/frontendoption.h b/src/extras/frontendoption.h index 2719f076..05cd5fa0 100644 --- a/src/extras/frontendoption.h +++ b/src/extras/frontendoption.h @@ -76,10 +76,10 @@ uint8 GetNumberOfMenuOptions(int screen); void FrontendOptionSetCursor(int screen, int8 option, bool overwrite = false); -// var is optional in AddDynamic, enables you to save them in an INI file(also needs passing char array to saveName param. obv), otherwise pass nil/0 +// var is optional in AddDynamic, enables you to save them in an INI file(also needs passing char array to saveCat and saveKey param. obv), otherwise pass nil/0 void FrontendOptionAddBuiltinAction(const char* gxtKey, uint16 x, uint16 y, uint8 align, int action, int targetMenu = MENUPAGE_NONE, int saveSlot = SAVESLOT_NONE); -void FrontendOptionAddSelect(const char* gxtKey, uint16 x, uint16 y, uint8 align, const char** rightTexts, int8 numRightTexts, int8 *var, bool onlyApplyOnEnter, ChangeFunc changeFunc, const char* saveName = nil, bool disableIfGameLoaded = false); -void FrontendOptionAddDynamic(const char* gxtKey, uint16 x, uint16 y, uint8 align, DrawFunc rightTextDrawFunc, int8 *var, ButtonPressFunc buttonPressFunc, const char* saveName = nil); +void FrontendOptionAddSelect(const char* gxtKey, uint16 x, uint16 y, uint8 align, const char** rightTexts, int8 numRightTexts, int8 *var, bool onlyApplyOnEnter, ChangeFunc changeFunc, const char* saveCat = nil, const char* saveKey = nil, bool disableIfGameLoaded = false); +void FrontendOptionAddDynamic(const char* gxtKey, uint16 x, uint16 y, uint8 align, DrawFunc rightTextDrawFunc, int8 *var, ButtonPressFunc buttonPressFunc, const char* saveCat = nil, const char* saveKey = nil); // lineHeight = 0 means game will use MENU_DEFAULT_LINE_HEIGHT uint8 FrontendScreenAdd(const char* gxtKey, int prevPage, int lineHeight, bool showLeftRightHelper, ReturnPrevPageFunc returnPrevPageFunc = nil); |