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 843 by alloc, Tue Apr 30 01:06:45 2013 UTC vs.
Revision 894 by alloc, Sun Aug 11 22:31:16 2013 UTC

# Line 20 | Line 20 | bool patch_cheattable = true;
20   bool patch_clipcursor = true;
21   bool patch_cooldowntimer = true;
22   bool patch_daodandisplayenum = true;
23 bool patch_daodaninit = true;
23   bool patch_directinput = true;
24   bool patch_disablecmdline = true;
25 + bool patch_flatline = true;
26   bool patch_fonttexturecache = true;
27   bool patch_getcmdline = true;
28 + bool patch_hdscreens_lowres = true;
29   bool patch_kickguns = false;
30   bool patch_killvtune = true;
31   bool patch_largetextures = true;
# Line 36 | Line 37 | bool patch_particledisablebit = false;
37   bool patch_pathfinding = true;
38   bool patch_projaware = true;
39   bool patch_safeprintf = true;
40 + bool patch_showalllasersights = false;
41   bool patch_throwtest = false;
42   bool patch_usedaodangl = true;
43   bool patch_usegettickcount = true;
# Line 119 | Line 121 | bool DDrIniCallback(char* section, bool
121                                  patch_cooldowntimer = !_stricmp(inifile_cleanstr(value), "true");
122                          else if (!_stricmp(name, "daodandisplayenum"))
123                                  patch_daodandisplayenum = !_stricmp(inifile_cleanstr(value), "true");
122                        else if (!_stricmp(name, "daodaninit"))
123                                patch_daodaninit = !_stricmp(inifile_cleanstr(value), "true");
124                          else if (!_stricmp(name, "directinput"))
125                                  patch_directinput = !_stricmp(inifile_cleanstr(value), "true");
126                          else if (!_stricmp(name, "disablecmdline"))
127                                  patch_disablecmdline = !_stricmp(inifile_cleanstr(value), "true");
128 +                        else if (!_stricmp(name, "flatline"))
129 +                                patch_flatline = !_stricmp(inifile_cleanstr(value), "true");
130                          else if (!_stricmp(name, "fonttexturecache"))
131                                  patch_fonttexturecache = !_stricmp(inifile_cleanstr(value), "true");
132                          else if (!_stricmp(name, "getcmdline"))
133                                  patch_getcmdline = !_stricmp(inifile_cleanstr(value), "true");
134 +                        else if (!_stricmp(name, "hdscreens_lowres"))
135 +                                patch_hdscreens_lowres = !_stricmp(inifile_cleanstr(value), "true");
136                          else if (!_stricmp(name, "kickguns"))
137                                  patch_kickguns = !_stricmp(inifile_cleanstr(value), "true");
138                          else if (!_stricmp(name, "killvtune"))
# Line 151 | Line 155 | bool DDrIniCallback(char* section, bool
155                                  patch_projaware = !_stricmp(inifile_cleanstr(value), "true");
156                          else if (!_stricmp(name, "safeprintf"))
157                                  patch_safeprintf = !_stricmp(inifile_cleanstr(value), "true");
158 +                        else if (!_stricmp(name, "showalllasersights"))
159 +                                patch_showalllasersights = !_stricmp(inifile_cleanstr(value), "true");
160                          else if (!_stricmp(name, "throwtest"))
161                                  patch_throwtest = !_stricmp(inifile_cleanstr(value), "true");
162                          else if (!_stricmp(name, "usedaodangl"))
# Line 303 | Line 309 | void DDrConfig(int argc, char* argv[])
309                  if (fp)
310                  {
311                          fputs("[Options]\n", fp);
312 +                        fputs("[Patch]\n", fp);
313 +                        fputs("[BSL]\n", fp);
314 +                        fputs("[Language]\n", fp);
315                          fclose(fp);
316                  }
317          }

Diff Legend

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