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 983 by alloc, Sun Mar 16 20:06:52 2014 UTC vs.
Revision 992 by alloc, Sat Apr 5 10:19:11 2014 UTC

# Line 6 | Line 6
6   #include "Daodan_Patch.h"
7   #include "Daodan_Utility.h"
8  
9 < #include "Oni_Symbols.h"
9 > #include "Oni/Oni.h"
10  
11   #include "Inifile_Reader.h"
12  
# Line 39 | Line 39 | bool patch_pathfinding = true;
39   bool patch_projaware = true;
40   bool patch_safeprintf = true;
41   bool patch_showalllasersights = false;
42 + bool patch_showtriggervolumes = true;
43   bool patch_throwtest = false;
44   bool patch_usedaodangl = true;
45   bool patch_usegettickcount = true;
# Line 60 | Line 61 | bool DDrIniCallback(char* section, bool
61          {
62                  if (!_stricmp(section, "options"))
63                          ini_section = s_options;
64 <                else if (!_stricmp(section, "patch"))
64 >                else if (!_stricmp(section, "patch") || !_stricmp(section, "patches"))
65                          ini_section = s_patch;
66                  else if (!_stricmp(section, "bsl"))
67                          ini_section = s_bsl;
# Line 160 | Line 161 | bool DDrIniCallback(char* section, bool
161                                  patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true");
162                          else if (!_stricmp(name, "showalllasersights"))
163                                  patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true");
164 +                        else if (!_stricmp(name, "showtriggervolumes"))
165 +                                patch_showtriggervolumes = !_stricmp(inifile_cleanstr(value), "true");
166                          else if (!_stricmp(name, "throwtest"))
167                                  patch_throwtest = !_stricmp(inifile_cleanstr(value), "true");
168                          else if (!_stricmp(name, "usedaodangl"))

Diff Legend

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