ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Config.c
(Generate patch)

Comparing Daodan/src/Daodan_Config.c (file contents):
Revision 1016 by alloc, Mon Aug 25 23:21:09 2014 UTC vs.
Revision 1017 by alloc, Mon Mar 23 23:29:19 2015 UTC

# Line 2 | Line 2
2   #include <string.h>
3   #include <time.h>
4  
5 + #include "Daodan.h"
6   #include "Daodan_Config.h"
7   #include "Daodan_Patch.h"
8   #include "Patches/Utility.h"
# Line 11 | Line 12
12  
13   #include "Inifile_Reader.h"
14  
14 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
15
15   static const char* iniName = "daodan.ini";
16   static const char* helpFile = "daodan_help.txt";
17  
# Line 47 | Line 46 | ConfigSection_t config[] = {
46                  { 0, 0, 0, {0}, {0} }
47          } },
48          { "gameplay", "Gameplay", {
49 +                { "bindablecheats",
50 +                        "Allows cheats to be bound to keys. Requires 'customactions' and 'cheattable' to be true.",
51 +                        C_BOOL,
52 +                        {.intBoolVal = true},
53 +                        {.intBoolVal = true} },
54                  { "characterawareness",
55                          "Makes AI remember the player.",
56                          C_BOOL,
# Line 67 | Line 71 | ConfigSection_t config[] = {
71                          C_BOOL,
72                          {.intBoolVal = true},
73                          {.intBoolVal = true} },
74 +                { "customactions",
75 +                        "Allows more actions to be bound through Daodan.",
76 +                        C_BOOL,
77 +                        {.intBoolVal = true},
78 +                        {.intBoolVal = true} },
79                  { "kickguns",
80                          "EXPERIMENTAL! Unfinished, do not use.",
81                          C_BOOL,

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)