--- Daodan/src/Daodan_Config.c 2014/08/25 23:21:09 1008 +++ Daodan/src/Daodan_Config.c 2015/03/23 23:29:19 1017 @@ -2,6 +2,7 @@ #include #include +#include "Daodan.h" #include "Daodan_Config.h" #include "Daodan_Patch.h" #include "Patches/Utility.h" @@ -11,8 +12,6 @@ #include "Inifile_Reader.h" -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) - static const char* iniName = "daodan.ini"; static const char* helpFile = "daodan_help.txt"; @@ -47,6 +46,11 @@ ConfigSection_t config[] = { { 0, 0, 0, {0}, {0} } } }, { "gameplay", "Gameplay", { + { "bindablecheats", + "Allows cheats to be bound to keys. Requires 'customactions' and 'cheattable' to be true.", + C_BOOL, + {.intBoolVal = true}, + {.intBoolVal = true} }, { "characterawareness", "Makes AI remember the player.", C_BOOL, @@ -67,6 +71,11 @@ ConfigSection_t config[] = { C_BOOL, {.intBoolVal = true}, {.intBoolVal = true} }, + { "customactions", + "Allows more actions to be bound through Daodan.", + C_BOOL, + {.intBoolVal = true}, + {.intBoolVal = true} }, { "kickguns", "EXPERIMENTAL! Unfinished, do not use.", C_BOOL,