diff options
author | Haru <haru@dotalux.com> | 2016-08-02 01:35:41 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-08-19 21:32:28 +0200 |
commit | 4e5b040d9db0e4dee576149c53fba070372b51c2 (patch) | |
tree | f3424b4a576ea5d44a1e1f29361d028e805d52c5 /src/common/HPM.h | |
parent | 67a84ce174851ed866b99737eec6bd0adfca6617 (diff) | |
download | hercules-4e5b040d9db0e4dee576149c53fba070372b51c2.tar.gz hercules-4e5b040d9db0e4dee576149c53fba070372b51c2.tar.bz2 hercules-4e5b040d9db0e4dee576149c53fba070372b51c2.tar.xz hercules-4e5b040d9db0e4dee576149c53fba070372b51c2.zip |
Added option to make plugin-defined battle config entries optional
When a setting optional, no warning is issued on the console when said setting is not found in the config
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/HPM.h')
-rw-r--r-- | src/common/HPM.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/HPM.h b/src/common/HPM.h index 104522090..43f610a6a 100644 --- a/src/common/HPM.h +++ b/src/common/HPM.h @@ -123,6 +123,7 @@ struct HPConfListenStorage { char key[HPM_ADDCONF_LENGTH]; void (*parse_func) (const char *key, const char *val); int (*return_func) (const char *key); + bool required; }; /* Hercules Plugin Manager Interface */ |