]>
jfr.im git - irc/gameservirc.git/blob - gameserv/configscript.cpp
10 char menu(int page
= 1);
16 outfile
.open("options.h");
19 cerr
<< "Error opening options.h" << endl
;
29 outfile
<< "#define UNREAL" << endl
;
30 outfile
<< "#undef BAHAMUT" << endl
;
31 outfile
<< "#undef P10" << endl
;
32 outfile
<< "#undef HYBRID" << endl
;
35 outfile
<< "#undef UNREAL" << endl
;
36 outfile
<< "#define BAHAMUT" << endl
;
37 outfile
<< "#undef P10" << endl
;
38 outfile
<< "#undef HYBRID" << endl
;
41 outfile
<< "#undef UNREAL" << endl
;
42 outfile
<< "#undef BAHAMUT" << endl
;
43 outfile
<< "#define P10" << endl
;
44 outfile
<< "#undef HYBRID" << endl
;
47 outfile
<< "#undef UNREAL" << endl
;
48 outfile
<< "#undef BAHAMUT" << endl
;
49 outfile
<< "#undef P10" << endl
;
50 outfile
<< "#define HYBRID" << endl
;
55 }while (c
== 'Q' || c
== 'q' || (int(c
) < 48) || (int(c
) > 57));
63 outfile
<< "#define DEBUGMODE" << endl
;
67 outfile
<< "#undef DEBUGMODE" << endl
;
72 }while (c
!= 'y' && c
!= 'Y' && c
!= 'n' && c
!= 'N');
83 cout
<< "Do you want to enable debug mode? (Y/N): ";
87 cout
<< "Choose your IRCD" << endl
;
88 cout
<< "1. Unreal3.x" << endl
89 << "2. bahamut-1.4.x" << endl
90 << "3. ircu 2.10.x (P10)" << endl
91 << "4. ircd-hybrid, ircd-ratbox, or csircd" << endl
;
92 cout
<< "Make your selection: ";