From 4e5b040d9db0e4dee576149c53fba070372b51c2 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 2 Aug 2016 01:35:41 +0200 Subject: 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 --- src/common/HPM.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/HPM.h') 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 */ -- cgit v1.2.3-60-g2f50